svkaiser / Doom64EX

Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features.
http://doom64ex.wordpress.com/
GNU General Public License v2.0
237 stars 49 forks source link

I got Doom64EX working on my Mac #114

Open abcbarryn opened 2 years ago

abcbarryn commented 2 years ago

I created a Resources folder in the Contents folder in the app and copied DOOM64.WAD and DOOMSND.SF2 to the Resources folder, then I renamed MacOS/doom64ex to MacOS/Doom64Ex (for cosmetic reasons only) and created a shell script MacOS/Doom64Ex.sh, then I edited Info.plist and changed

CFBundleExecutable
<string>doom64ex</string>

to

CFBundleExecutable
<string>Doom64Ex.sh</string>

I also generated an icns Mac icon file which I also placed in the Resurces folder and added that into the Info.plist file as well.

CFBundleIconFile
<string>Doom64EX.icns</string>

PS: The WadGen program did not seem to place the generated wad file anywhere I could find, and attempting to run wadgen from the command line gave various errors, including: libpng error: Invalid palette length ERROR: Png_Create: Failed on setjmp I ended up download an already generated WAD and SF2 file from a German web site and using that.

This is the Doom64Ex.sh shell script.

!/bin/sh

dir=dirname "$0" cd "$dir/../Resources" exec ../MacOS/Doom64Ex -iwad DOOM64.WAD "$@"

abcbarryn commented 2 years ago

Doom64EX This is the icon file I made for Mac as a PNG. GitHub would not let me attach the icns file.