Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mrplant

#16
Yet another question...

So IOS builds can now be true native 64 bit due to all the work done...

What about other platforms going forward? Will it be easy to modify GLBasic to produce 64 bit code for say Windows?

Any advantages to doing so?
#17
"But if makeapp.exe could accept a debug or release build ticked, then the simulator could have been supported."

Quick question - what is makeaoo,exe and would it be possible to alter it to accept a debug build, hence allowing the simulator to work?
#18
That's great news. I still need to get spare time to mysef to sit down and try it out - hopefully soon.
Meantime I have a few questions ..

1/ does the new compilation process in Xcode allow you to now use the Xcode simulator? I am guessing not but Thaught I'd ask anyway..

2/ are both 32 and 64 but binaries produced ?

3/ lastly if so, how can you tell which version 32 or 64 bit is actually running once you start it up on your Ipad or iPhone or iPod ?

Thanks a lot.
#19
Good to hear you are Taking the time to fix these issues - just glad and appreciate work is being done on this complex issue.
A fitting end to the hear to hear this news..

Meanwhile I am continuing coding on my latest app, happy that it will thanks to you all here be able to be submitted to apple sometime in the future when apple requires 64 bit apps.

:nw:
#20
Congratulations spacefractal and others.
Great work indeed - really good for the future of glbasic and the ios SDK.

I noticed today in my App Store updates - a 64 bit version of Greedy Mouse!

Fantastic work there!

:nw:
#21
Hi.

It's been a few weeks plus now since anything was reported back here - any update on how things are going ?
#22
Hi

I wasn't aware of this great tool no!

Its great but I need one thing it doesn't seem to do. I want characters like the old font generator does - Totally centred left right up and down within each square as this is the type of 8 bit font types I am working with.

At the moment, it seems to left align the text in the boxes.

Is this possible?
#23
Happens if generating a BMP or PNG.

Wow - going to check out that other font tool. Thanks for info.
#24
Hi There.

A bit annoying but when I use the font creator tool to create a custom font - it sometimes cuts off the right hand side of the image.
It shows itself up every time if you change say the background colour to red for example and the text color to black. Tick resize to a certain size e.g.. 1024x512 and generate - the file is corrupted as described.
Change the text colour to white and the background to black and it works fine.
This happens for any non black background colour by the way. It also happens with any font.

Any way of this one getting fixed?

I generated a lot of fonts and inverted colour fonts and this bug is quite annoying and has been present for a few years now I just forget to post about it.

Thanks.
#25
Hmm I really really hope these technical issues can be solved. It seems there are some very smart people here with possible workarounds...

I am an optimist..

If it means switching to a subscription or paid mode for glbasic updates to cover any costs in development then I am all for it so long as iOS support can be ongoing..
#26
Just a small point I just remembered regarding support for the older devices..

Get your apps approved now. That way you can take advantage of the "download the last version of this app that works with your device" feature of the app store where it lets users download older versions than the current of your app.

A useful workaround meantime?
#27
Apple said today..

'Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of "Standard architectures" to build a single binary with both 32-bit and 64-bit code."

Source: http://appleinsider.com/articles/14/10/20/apple-to-require-64-bit-support-from-all-ios-apps-starting-in-february

Just wondering what this announcement means for GLBasic - if anything?
#28
Works great thanks.
#29
Thanks for that info - I'll take your advice and use the two files exactly as you said.
Fingers crossed .
#30
Hi I am having problems with Xcode compiling that routine - it kept complaining about the syntax etc.

I just noticed I am putting it into a .mm file and it is a .m file.

Would it take much to make it compatible in .mm format which I think if memory serves me is an objective-c file, whilst .m is pure C correct?

snippet of what I am adding to current .mm file below..

wouldn't I just need to add extern "C" and a few other things? Sorry I tried this but my objective-c isn't that great when it comes to figuring things out..

anyone?

extern "C" void iOSEnableAutoLock(int value) {

// Enable iOS AutoLock function. The setting of NO then YES is a hack to ensure it works everytime, not a mistake!

if (value) {
[UIApplication sharedApplication].idleTimerDisabled = NO;
} else  {
[UIApplication sharedApplication].idleTimerDisabled = NO;
[UIApplication sharedApplication].idleTimerDisabled = YES;
}
}

char iDevice[256]="";

const char* deviceName() {
   

   
    // Under test.
   
int name[] = {CTL_HW,HW_MACHINE};

size_t size = 100;
sysctl(name, 2, NULL, &size, NULL, 0); // getting size of answer
char *hw_machine = malloc(size);
sysctl(name, 2, hw_machine, &size, NULL, 0);
NSString *hardware = [NSString stringWithUTF8String:hw_machine];
strcpy(iDevice, [hardware UTF8String]);
free(hw_machine);
   
return iDevice;

}