home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem NETDOOM.BAT A small batch file to run NETdoom.
- rem Copyright (c) 1995 By Owen Williams
- rem
- rem %1, %2, %3, etc... are command line arguments. If you
- rem were to type "netdoom doom2 lsl", %1 would equal "doom2",
- rem and %2 would equal "lsl".
- rem
- cls
- if "%1"=="" goto inst
- if "%2"=="lsl" goto lslsetup
- if "%2"=="pkt" goto pktsetup
- goto inst
- :ret
- cls
- rem Remember to change all of the paths to make it right!
- type c:\netdoom\title.txt
- pause
- echo.
- echo ┌───────────────────────────────┐
- echo │ !! WARNING !! │
- echo │ │
- echo │ This won't let you use turbo! │
- echo │ │
- echo │ After all, only cheetahs go │
- echo │ fast!!!!! │
- echo │ │
- echo └───────────────────────────────┘
- echo.
- rem On the next line, put the drive and directory right
- rem above your doom/doom2 directories, and a %1.
- rem For example, in my case, the paths are c:\games\doom,
- rem and c:\games\doom2. I would put "c:\games\%1" on the line bellow.
- rem If my path were d:\doom2, and d:\doom, I would put "d:\%1".
-
- cd \games\%1
-
- echo.
- echo If the computer just said "Invalid directory",
- echo You mistyped the word DOOM or DOOM2. Instead, you
- echo typed %1. If %1 is right, you shouldn't be reading
- echo this junk. But, if %1 isn't right, hit ESC now.
- echo If not, hit something else.
-
- pause
-
- rem You can comment out these next few lines (by adding "rem")
- rem if you don't want to be restricted.
- if "%3"=="-turbo" goto turbo3
- if "%4"=="-turbo" goto turbo4
- if "%5"=="-turbo" goto turbo5
- if "%6"=="-turbo" goto turbo6
- if "%7"=="-turbo" goto turbo7
- if "%8"=="-turbo" goto turbo8
- ipxsetup %2 %3 %4 %5 %6 %7 %8 %9
-
- :unload
- if "%2"=="lsl" goto lslunload
-
- cls
- echo.
- echo Sorry, the packet drivers cannot be unloaded
- echo.
- rem Change that path!
- cd \netdoom
- goto end
-
- :lslunload
- rem here, put the directory for this program.
- cd \netdoom\lsl
- ipxodi u
- ne2000 u
- lsl u
- goto end
-
- :turbo3
- ipxsetup %2 %5 %6 %7 %8 %9
- goto unload
-
- :turbo4
- ipxsetup %2 %3 %6 %7 %8 %9
- goto unload
-
- :turbo5
- ipxsetup %2 %3 %4 %7 %8 %9
- goto unload
-
- :turbo6
- ipxsetup %2 %3 %4 %5 %8 %9
- goto unload
-
- :turbo7
- ipxsetup %2 %3 %4 %5 %6 %9
- goto unload
-
- :turbo8
- ipxsetup %2 %3 %4 %5 %6 %7
- goto unload
-
- :pktsetup
- rem Again, the directory where all of this is.
- cd \netdoom\pktdrv
- rem *****!!!!!MAKE SURE THESE SETTINGS ARE CORRECT!!!!!****
- lh ne2000 0x60 10 0x300
- lh ipxpd
- goto ret
-
- :lslsetup
- cd \netdoom\lsl
- lsl
- ne2000
- ipxodi
- goto ret
-
- :inst
- echo Usage:
- echo NETDOOM [GAME] [TYPE] (OPTIONS)
- echo.
- echo Where:
- echo.
- echo GAME is either DOOM or DOOM2.
- echo TYPE is either lsl or pkt, which is the type of
- echo network you want. PLAYERS CANNOT USE
- echo DIFFERENT NETWORK TYPES!!!!!!
- echo OPTIONS are any command line options for the game,
- echo such as -altdeath or -skill 4.
- echo.
- echo NOTE: NETDOOM will not let you cheat with -turbo.
-
- :end
-