Author Topic: Licence for old versions of GLBASIC  (Read 2568 times)

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Licence for old versions of GLBASIC
« 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? :)

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 430
    • View Profile
    • my personal website
Re: Licence for old versions of GLBASIC
« Reply #1 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.
Check my source code editor for GLBasic - link Update: 20.04.2020

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Re: Licence for old versions of GLBASIC
« Reply #2 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.

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Re: Licence for old versions of GLBASIC
« Reply #3 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:

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 430
    • View Profile
    • my personal website
Re: Licence for old versions of GLBASIC
« Reply #4 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?
Check my source code editor for GLBasic - link Update: 20.04.2020

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Re: Licence for old versions of GLBASIC
« Reply #5 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).

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10829
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Licence for old versions of GLBASIC
« Reply #6 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.

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Re: Licence for old versions of GLBASIC
« Reply #7 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 :)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3971
    • View Profile
    • Space Fractal
Re: Licence for old versions of GLBASIC
« Reply #8 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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 430
    • View Profile
    • my personal website
Re: Licence for old versions of GLBASIC
« Reply #9 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 :>
Check my source code editor for GLBasic - link Update: 20.04.2020

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4165
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Licence for old versions of GLBASIC
« Reply #10 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.
I came. I saw. I played.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2768
    • View Profile
Re: Licence for old versions of GLBASIC
« Reply #11 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
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4165
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Licence for old versions of GLBASIC
« Reply #12 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.
I came. I saw. I played.

Offline loftcat

  • Mc. Print
  • *
  • Posts: 16
    • View Profile
    • Loftcat Software
Re: Licence for old versions of GLBASIC
« Reply #13 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.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4165
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Licence for old versions of GLBASIC
« Reply #14 on: 2022-Jun-24 »
Indeed. Many thanks Tony. No worries :D
I came. I saw. I played.