; DoomLaunch.pkg - SIS package for CommDoom on the Nokia 9210 / 9210c / 9210i
; Installs the launcher application (caption "CommDoom", shown in Extras), the game and
; prboom.wad (PrBoom's own data, required) into one folder. The launcher finds the game
; next to itself, and the game finds prboom.wad next to itself.
;
; The game is the DoomunicatorNS build, doomnosnd.exe. Its name is historical: it has
; sound (through MEDIACLIENTAUDIO.DLL). It is installed under the name the launcher looks
; for, doomunicator.exe. Don't package the Doomunicator.mmp build (doomunicator.exe from
; the build tree): it links MEDIACLIENTAUDIOSTREAM.DLL, which the 9210 doesn't have, and
; won't start on the phone.
;
; Build first (on the VM, see readme.txt): \SDL\Epoc (sdlnosnd, sdlmain), then
; \Doomunicator\Doomunicator\epoc (doomunicatorns, o2, doomunicatorns again), then this
; folder (bldmake bldfiles, abld build armi urel). Then, from here: makesis DoomLaunch.pkg
;
; This .txt is the editable master. The real DoomLaunch.pkg must be UTF-16LE + BOM + CRLF
; (the 9210 SDK makesis silently produces an empty SIS from an ASCII pkg). Regenerate:
;
;     powershell -Command "[IO.File]::WriteAllText('DoomLaunch.pkg', ((Get-Content -Raw 'DoomLaunch.pkg.txt') -replace \"`r?`n\", \"`r`n\"), [Text.Encoding]::Unicode)"
;
; NOT included (user-supplied): the game file. Copy it to the memory card:
;     D:\Doom\doom1.wad   (or doom.wad / doom2.wad ...)
;
#{"CommDoom"},(0x01000A17),1,0,0
;
"\Symbian\6.0\NokiaCPP\Epoc32\Release\armi\urel\DoomLaunch.app" - "!:\System\Apps\DoomLaunch\DoomLaunch.app"
"\Symbian\6.0\NokiaCPP\Epoc32\Release\armi\urel\DoomLaunch.rsc" - "!:\System\Apps\DoomLaunch\DoomLaunch.rsc"
"\Symbian\6.0\NokiaCPP\Epoc32\Release\armi\urel\DoomLaunch.mbm" - "!:\System\Apps\DoomLaunch\DoomLaunch.mbm"
"\Symbian\6.0\NokiaCPP\Epoc32\Release\armi\urel\doomnosnd.exe" - "!:\System\Apps\DoomLaunch\doomunicator.exe"
"\Doomunicator\Doomunicator\prboom.wad" - "!:\System\Apps\DoomLaunch\prboom.wad"
