I want to make a standalone game, and I want to progressively replace the assets from the demo. I tried unpackaging the assets from pak0, and it works fine, but when I repackage them (unmodified) with
mkdir pak0 cd pak0 mv pak0.pk3 pak0.backup.zip unzip pak0.backup.zip zip pak0.zip pak0/* mv pak0.zip pak0.pk3
, it tells me:
$ pwd (source code of ioquake3)/build/release-darwin-x86_6/ $ ./ioquake3.app/Contents/MacOS/ioquake3 ./ioquake3.app/Contents/MacOS/ioquake3 tty console mode disabled ioquake3 1.36_GIT_d28e667e-2018-03-04 macosx-x86_64 Apr 11 2018 SSE instruction set enabled ----- FS_Startup ----- We are looking in the current search path: /Users/Famille_Pintado/Library/Application Support/ioquake3/baseq3 ./ioquake3.app/Contents/MacOS/baseq3 ./baseq3 ./baseq3/pak0.pk3 (64 files) ---------------------- 64 files in pk3 files Couldn't load default.cfg
What am I doing wrong? Since the initial pak works, it must be that I’m repackaging it wrong, right?