You, my friend, are crazy amazing times a hundred.
For a somewhat hackish way to get OSX support (without resorting to specifiying a file on the commandline) in the ballpark of main.c:879 you can add
Code:
#ifdef __MACH__
count = (unsigned int)(strstr(argv[0],"app/Contents/MacOS")-argv[0]);
#endif
(i.e. so it sets count to that, and the the code from the other #else still goes back to the / )
so it looks something like
Code:
...
#else
#ifdef __MACH__
count = (unsigned int)(strstr(argv[0],"app/Contents/MacOS")-argv[0]);
#endif
while ((argv[0][count] != '/') && (count >= 0)) count--;
#endif
I'll give a look into getting the music working on X now and then see about a binary soon after...
EDIT about editting: it's very fun in vB 3.5 (I think it's new anyway)
EDIT2: minor progress update on music in OSX: makeing some headway with endian conversions.. still some bugs/details to work out (I'm now getting static instead of silence, but it's not music yet).. because of these problems we(/I?) will need to distribute a customized version of libmodplug for openjazz/osx..? unless I'm the only person who would use openjazz on OSx.. in which case I can keep it to myself..
Last edited by Ice M A N; Jan 14, 2006 at 10:21 PM.
|