Topic:   GM Cocoaizer   (Read 6026 times)


0 Members and 1 Guest are viewing this topic.

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
GM Cocoaizer
« on: May 23, 2019, 05:18:01 AM »
I am officially announcing GM Cocoaizer here. (Tentative name)

This will basically convert a GameMaker Game into a SilverCreator Game, so that it runs on the latest Macs*.

One of the requirements for GM Cocoaizer is that you will be able to run* it on the upcoming Mac OS X 10.15. This presents several unique challenges.

The Mac Resource Fork format will have to be read without using any of the old toolbox routines. Fortunately, I have found some Xojo code that does this, written by Thomas Tempelmann.

Then the resources themselves have to be parsed.

- PICTs can be parsed using "picttoppm", more information in the SilverCreator Cocoa thread. (This assumes that no games have Vector PICTs. The built in GameMaker drawing tools were bitmap, so I don't think this will be a problem). This also does not include PICTs compressed with tools such as GM Toolkit. However, GM Toolkit compressed the PICTs using PNG or JPEG, so all I need to do is remove the PICT "wrapper" from the underlying PNG or JPEG and process normally.
-- Secret Agent Bob is going to screw this up though because of Road Pizza Compression.

- Sound resources present an issue due to compression. I have code that can convert uncompressed sounds to WAV. What I really need is code that can convert "snd " resources to .caf files, because the .caf files are actually rather amazing and support ALL of the old compression formats (man afconvert in Terminal). SilverCreator now uses .caf internally instead of QuickTime.

- STR resources and the like are simple enough to parse.

*Unless I receive a donation, GM Cocoaizer and the converted games will not be "code signed". Code signing is just a surreptitious way for Apple to control developers. The $99 annual fee STRONGLY discourages younger folks from getting into programming**. Malware still occurs, using stolen credentials, or legitimately purchased credentials. This is not an issue of inadequate finances, it is an issue of principals. If the $99 is donated then I will use the certificates to code sign SilverCreator, GM Cocoaizer, and RuntimeMac (used by both SilverCreator and GM Cocoaizer).

You can open non-codesigned programs by right-clicking and choosing Open. If Apple removes this from OS X 10.15, this entire project as well as SilverCreator for Mac are permanently cancelled, and OS X 10.14 will be the last version of the Mac OS that I will ever install and use. If that situation occurs, I may consider an alternate project such as conversion to HTML5, since I could potentially partner with Gan or someone else on that.

** It was hard enough to convince my mom in 2000 (when I was 12) to pay $20 one time for GameMaker, which was at least a tangible product I could explain to her. $99 annually for "Developer Program Access", no way in hell.

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: GM Cocoaizer
« Reply #1 on: May 28, 2019, 07:38:47 AM »
Awesome. I hope it works.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: GM Cocoaizer
« Reply #2 on: July 11, 2019, 02:06:17 PM »
Sounds good Mike! Let me know how things go, I’d love to play some of the classics.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: GM Cocoaizer
« Reply #3 on: August 26, 2019, 05:39:44 PM »
Hey, awesome stuff Mike! I randomly booted up an old Mac and played some of the old GM games with my Nephew today. Nice to think they might be playable once more on modern machines :)
I survived the spammage of 2007