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 "$@"
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
to
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.
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 "$@"