wmarkham
Level: Master Delver
Rank Points: 125
Registered: 12-06-2004
IP: Logged
File: drodppc.patch (46.6 KB) Downloaded 132 times. License: Other From: Unspecified
|
Re: DROD on Mac OS X? (+5)
Hi! The attached patch file contains fairly minimal source code changes needed to make DROD run on PPC. After the changes, it seems to work for me: I can play, import, and edit holds. At some point, I'll try to post a binary, but my bandwidth is limited at the moment.
I have not yet checked to make sure that I didn't mess up the Linux and Windows versions. If I recall correctly, there are a few places where I created an extra copy of a string for the purpose of fixing the byte order, and I did this w/o regard for what platform was being built. (i.e., a Linux or Windows build from the patched sources could be a bit slower in some respects.) I believe that these are in non-performance-critical places. (When reading or writing data to disk, the disk is the biggest bottleneck.)
A few other notes:
The data files follow the same format as the other platforms' builds. Just to be safe, though, I would recommend playing with a separate copy of them. I copy the "Data" directory to the same location as the binary.
No sound. The copy of FMOD that I tried wouldn't link for me.
I had to build the metakit library myself, because the binary distribution wouldn't link for me. (Perhaps there is something about Mac shared libraries that I just don't grok....) I got the source for it from the metakit CVS; other versions just wouldn't work for me.
The mouse cursors appear messed up for me. I don't know what's up with that. (I'm using SDL 1.2.7, I think.)
I disabled the memory checks that DROD does when it starts. As a result of the particular way that I disabled them, I did not, however, disable the display of a "low memory" warning. That is left as an "excercise for the builder".
[Edited by wmarkham at Local Time:03-24-2005 at 09:12 PM: missing the attachment!]
|