jorio / Bugdom

🐛 Pangea Software's Bugdom for modern systems
https://pangeasoft.net/bug
Other
380 stars 23 forks source link

Compile the game for a PowerPC Mac OS X? #33

Closed foote-darrell closed 1 year ago

foote-darrell commented 2 years ago

How could the game be compiled to run on a G4 iMac running Mac OS X 10.3 Panther? It does run the origional copy of Bugdom through the Classic eniroment, but with a very reduced resolution and letterbox. How could it be compiled to nativey run directly in Mac OS X in full resolution? I see that some of the code conditions check for a G4 computer.

jorio commented 2 years ago

Did you find G4 stuff in Bugdom? Otto Matic does contain some references to the G4 but I don't think there's any in Bugdom.

Regardless, as it happens, I have been commissionned to make an OS X/PPC build of Bugdom. It'll be announced soon. It'll require Tiger, though.

jorio commented 1 year ago

Bugdom 1.3.3 runs on PowerPC (Tiger required).

foote-darrell commented 1 year ago

Sorry, it was Otto Matic that came packaged on the G4 iMac with Mac OS X 10.3 Panther. Would the given code compile on that system?

jorio commented 1 year ago

Not without major elbow grease I'm afraid.

I did it for Bugdom because someone commissioned me to. Plus, it made sense to port that game to PowerPC OS X since the original game was stuck on OS 9.

However, just setting up a development environment for working with modern code on an old G4 is an adventure in itself. Sure, Bugdom is an old game, but I modernized the code and now it can't be compiled with early 00's tooling anymore.

Then, I had to tweak a bunch of stuff in the code to get the game to run correctly.

I just don't think it's worth the trouble to do it for Otto Matic. Pangea's old versions of the game work perfectly fine on PowerPC machines running OS X.

If your goal is to learn, though, then sure, have a go at it. A lot of the heavy lifting was done in Pomme and in Bugdom. Look at the osxppc folder in Bugdom and try to build Bugdom on your machine first. Then see if you can transpose it to Otto. Also, install Tiger — you're in for a world of pain with Panther.

So, you're welcome to try, but you should get ready to cut your teeth on a whole array of technical problems — I won't provide support on the intricacies of the C language, compilers, OpenGL, etc. Good luck!

foote-darrell commented 1 year ago

Can I comission you to remaster Weekend Warrior?

jorio commented 1 year ago

Thanks for your offer, however I don’t have the original source code, so I’m unable to make it happen. I asked Brian about WW a while back and it really seemed like he didn’t want that one to be resurrected. Sorry!

foote-darrell commented 1 year ago

I convinced Brian to allow you to remaster Weekend Warrior. I think it's one of the best Pangea Software games. It will be great to bring it back.

jorio commented 1 year ago

OK, I'll keep this in mind if I can make time for new ports in the future.

foote-darrell commented 1 year ago

How much does the comission cost?

foote-darrell commented 1 year ago

Come on, how much? I can't go without Weekend Warrior.

jorio commented 1 year ago

Look, each game takes about 2 months to port from scratch. I just don't have that kind of time to dedicate at the moment, even for money.

WW is going to be a taxing port due to not using OpenGL - gotta rewrite all the 3D code in the game.

If I find the time to make new ports at some point, there are other games that have been requested more often than WW, and they're all OpenGL games, so I'll probably do those first.

So, please be patient. Thanks.

foote-darrell commented 1 year ago

But how much is a comission?

there are other games that have been requested more often than WW

Are they other Pangea games?

rhetticent commented 1 year ago

But how much is a comission?

This is moot.

"I just don't have that kind of time to dedicate at the moment, even for money."

I'm just a bystander that follows this repo, but they have asked you to be patient in a more than nice manner, and really do not owe you a response.

foote-darrell commented 1 year ago

Can I commission you to remaster DeepTrouble? It is an OpenGL based game.