svkaiser/Doom64EX

I got Doom64EX working on my Mac

Opened this issue · 1 comments

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
doom64ex
to
CFBundleExecutable
Doom64Ex.sh
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
Doom64EX.icns
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 "$@"

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