GLBasic forum

Main forum => GLBasic - en => Topic started by: loftcat on 2022-Feb-02

Title: Licence for old versions of GLBASIC
Post by: loftcat on 2022-Feb-02
I've been testing my games with an old version of GLBASIC (v12) to compile for Mac OS x86. I'm looking to make the game available for vintage Macs and I've had some success with compiling and running on my old Mac running 10.11 El Capitan. However I'm getting the demo message flashing up in the top corner of the screen. I'm a paid up user of v16 via Steam, is there a way to get a licence key to use the older versions as registered? :)
Title: Re: Licence for old versions of GLBASIC
Post by: dreamerman on 2022-Feb-21
Generally GLBasic licence code is kept in 'AppData\Local\Temp\glbasic\glblicence.inc' file, that's generated with project compilation, it contains 'encrypted/hashed' email and licence code. Old (standalone) version code differs a bit from Steam version but after decoding should be usable to use in pre-Steam version.
In short: maybe ask Gernot for proper licence code for old version (submit your Steam profile for verification), decode licence.inc to use Steam credentials in older version (not sure how difficult it will be), or try using my code editor (works with GLB v14/15/16, but I didn't test compilation for all platforms). Another workaround but not tested, would be compile any project with Steam version to get 'glblicence.inc', use properties-advanced to set that file to admin created with 'read-only' flag for other users, so your user account would not be able to overwrite/delete it when you would use older GLB version.
Title: Re: Licence for old versions of GLBASIC
Post by: loftcat on 2022-Feb-24
Thanks for the reply  :)
Not sure about my decoding skills with the licence file but I've sent Kitty Hello a message so hopefully I'll hear soon.

By the way I think the contact form for Gernot on the website contact page is broken, I'll let him know hopefully when I get in touch through the forum.
Title: Re: Licence for old versions of GLBASIC
Post by: loftcat on 2022-Mar-07
Quick update, Gernot's been in touch with a licence key that I can use with v12, and the good news is newly compiled versions of my game now work on my Mac without 'Demo' appearing on the screen - success!  :booze:
Title: Re: Licence for old versions of GLBASIC
Post by: dreamerman on 2022-Mar-24
btw. wasn't v14 or v15 last version to support MacOS? You just needed to download additional platforms from GLB website in zip packages. As I'm curious later (post v12) additions/updates were also added to Mac part as core code for iOS/Mac still exists in GLB source, so maybe it could be possible to prepare Mac project with newer GLB version with some changes to platform.ini or something.
So you are running your project on M1 mac? Are there any graphical issues/glitches?
Title: Re: Licence for old versions of GLBASIC
Post by: loftcat on 2022-Apr-01
I think I can compile my project for Mac OS in GLBASIC v14 but I've only used v12 so far. I've been compiling v12 because, as far as I know, there's no difference in terms of Mac OS compiling in v14, but I happy to be corrected on that  :)
I've not been able to compile for Mac OS in GLBASIC v15 or v16. If it's possible in some way I'd be interested to know how. I ran into compilation errors, some of which I found on this forum but couldn't find any suitable fixes.
In terms of running the project on Mac OS, I'm only getting it to run in older versions of Mac OS. I'm using 10.11 but I think I'm okay up to 10.14. If anyone has got a GLBasic project running on a later version of Mac OS I'd be interested to know how. With my M1 Mac using MacOS 12.3 it's out the running. However I don't think there's any fundamental problem with the hardware - my project runs very nicely on the M1 in Parallels and Windows 11 (as does GLBasic v16 for Steam).
Title: Re: Licence for old versions of GLBASIC
Post by: Kitty Hello on 2022-May-05
The CMake build (WIP) should give you a solution you can compile in XCode.
I don't want to support Apple any further, because it's been a PITA. You write code, works, then Apple updates anything and you have an hour of extra work JUST TO GET A WORKING APP running again. I'm done.
Title: Re: Licence for old versions of GLBASIC
Post by: loftcat on 2022-May-09
For me not being able to compile for the latest Mac OS isn't a deal breaker. It's a nice to have but as long as it works in Windows there's always things like VMWare and Parallels :)
Title: Re: Licence for old versions of GLBASIC
Post by: spacefractal on 2022-May-10
Glbasic is a OpenGL project, but Apple has deprecated it.......

Genius Greedy Mouse has finnaly no longer working in the newest iOS, property due that.

MacOS mightbeen not that has than iOS me think throught, but im do no longer have a Mac or plans to get one.

Howover the html5/Javascript one might works in a sovlution, but newer checked it, rather than doing it native code.
Title: Re: Licence for old versions of GLBASIC
Post by: dreamerman on 2022-May-11
There were some generals language fixes/additions from v12 to v14, so that's why I advised it not sure how core Mac stuff changed between them.
I'm curious if newer MacOS systems can run such old OpenGL code with some tweaks, or only Metal stuff is allowed, as it would be nice to have proper MacOS app that would run normally - even in some compatibility layer on newer M1 devices, mainly because that would give additional platform for Steam store build, Apple store is out of reach (html5 target could be used as workaround).
That's something to test some day, in better times :>
Title: Re: Licence for old versions of GLBASIC
Post by: Ian Price on 2022-Jun-23
LOFTCAT - why are you using my avatar? I created that character and he's mine and me on every forum and FaceBook. Please remove/alter/amend it.
Title: Re: Licence for old versions of GLBASIC
Post by: bigsofty on 2022-Jun-23
LOL, I assumed that was you Ian, simply that you changed your account name... so it is a bit confusing TBH  :S
Title: Re: Licence for old versions of GLBASIC
Post by: Ian Price on 2022-Jun-24
Yeah, that's one of several reasons I want it changed - I don't want others to think he is me.
Title: Re: Licence for old versions of GLBASIC
Post by: loftcat on 2022-Jun-24
For anyone following I've sorted things with Ian.. certainly not my intention to masquerade as an experienced forum admin :)  For those interested I had simply chosen a stock avatar, so it does appear user uploads are added to the this list.
Title: Re: Licence for old versions of GLBASIC
Post by: Ian Price on 2022-Jun-24
Indeed. Many thanks Tony. No worries :D
Title: Re: Licence for old versions of GLBASIC
Post by: bigsofty on 2022-Jun-25
Quote from: loftcat on 2022-Jun-24
For anyone following I've sorted things with Ian.. certainly not my intention to masquerade as an experienced forum admin :)  For those interested I had simply chosen a stock avatar, so it does appear user uploads are added to the this list.

This could well be true, I've had a user using my Prof icon before too. I now know why he picked it.  :blink:
Title: Re: Licence for old versions of GLBASIC
Post by: MrPlow on 2022-Jun-25
Ian, can I used your Avatar if I put a a Wig & Beard on it?  :good:
Title: Re: Licence for old versions of GLBASIC
Post by: Kitty Hello on 2022-Jun-26
You can use mine with a beard on it.  :puke:
Title: Re: Licence for old versions of GLBASIC
Post by: MrPlow on 2022-Jun-26
Quote from: Kitty Hello on 2022-Jun-26
You can use mine with a beard on it.  :puke:
:D  - That works too!
Title: Re: Licence for old versions of GLBASIC
Post by: erico on 2022-Jun-27
What? Ian on the forum? If using his avatar is what it takes I´m changing mine! :D
Title: Re: Licence for old versions of GLBASIC
Post by: Kitty Hello on 2022-Jun-27
It's goint off topic niow, but good to see you around. I finally got my forum password on my phone, so I can check more often...
BTW, Erico, everything fine in Brazil? I hired someone on fiverr, recently. Very talented people there. Maybe that's something for you, too?
Title: Re: Licence for old versions of GLBASIC
Post by: erico on 2022-Jul-05
Yes there is now some light at the end of the tunnel. Got a couple opportunities here that should balance things up again :)
I will take a look at that, I also have some stuff to push to onnline print shops too. Thanks for the concern, it means a lot, it was quite a horrible situation.
Title: Re: Licence for old versions of GLBASIC
Post by: Kitty Hello on 2022-Jul-06
Ok, good to hear its getting better.
Title: Re: Licence for old versions of GLBASIC
Post by: Ian Price on 2022-Jul-17
Quote from: erico on 2022-Jun-27
What? Ian on the forum? If using his avatar is what it takes I´m changing mine! :D

It's fair to say I've not been around much. As a frontline nurse, I've been soooo busy at work that I've just been too knackered to code or do anything in the last two years. I honestly have not written a single line of code in all that time. I had a few games on the go too - most at a very advance stage. I just don't have the energy nowadays.

I also finally had to get a new laptop as my charger literally exploded - sparks and acrid smoke aplenty.  I've not even installed GLB on my new machine yet.

So yeah, I'll be back. Properly, at some point.
Title: Re: Licence for old versions of GLBASIC
Post by: spacefractal on 2022-Jul-18
and me..... focued on Spectrum Next projects.