Skip to content

Instantly share code, notes, and snippets.

@npocmaka
Created October 18, 2024 08:11
Show Gist options
  • Save npocmaka/54dc1b02ebcbdab25b81e19af7df08d9 to your computer and use it in GitHub Desktop.
Save npocmaka/54dc1b02ebcbdab25b81e19af7df08d9 to your computer and use it in GitHub Desktop.
[ipx]
# ipx -- Enable ipx over UDP/IP emulation.
ipx=false
[autoexec]
# Lines in this section will be run at startup.
@echo off
mount C .
c:
imgmount d ".\GAME.DAT" -t iso
cls
@ECHO 
@ECHO ----------------------------
@ECHO Shadow Warrior Complete Pack
@ECHO ----------------------------
@ECHO on
@ECHO off
@ECHO 1) Shadow Warrior
@ECHO 2) Twin Dragon
@ECHO 3) Wanton Destruction
@ECHO 4) Wanton Dragon
@ECHO 5) SETUP
@ECHO on
@ECHO off
@ECHO ----------------------------
@ECHO 6) exit program
@ECHO ----------------------------
@ECHO 
@ECHO on
@ECHO off
@choice /c12345 /s Which game do you want to run? [1-4]: /n
if errorlevel 6 goto exit
if errorlevel 5 goto setup
if errorlevel 4 goto wdragon
if errorlevel 3 goto wanton
if errorlevel 2 goto tdragon
if errorlevel 1 goto swarrior
:setup
cls
@echo off
setup.exe
cls
exit
:swarrior
cls
@echo off
@COPY sw.dat sw.exe
cls
sw.exe
cls
exit
:tdragon
cls
@echo off
cd .\dragon
#tdragon.exe
cls
sw.exe
cls
exit
:wanton
cls
@echo off
@COPY wanton.dat sw.exe
cls
sw.exe
cls
exit
:wdragon
cls
@echo off
cd .\dragon
#tdragon.exe
#sync shadow warrior configuration
@copy ..\SW.CFG
#start with wanton dragon exec
#dos box does not provide a native way to check existence of the files
@COPY ..\wanton.dat WL.exe
@COPY ..\wanton.exe wanton.exe
@COPY ..\WT.GRP WT.GRP
cls
WL.exe
cls
exit
:exit
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment