diff --git a/DOOM/.gitignore b/DOOM/.gitignore new file mode 100644 index 0000000..8376535 --- /dev/null +++ b/DOOM/.gitignore @@ -0,0 +1,2 @@ +bin +DOOMS diff --git a/DOOM/README.md b/DOOM/README.md new file mode 100644 index 0000000..01a2ad5 --- /dev/null +++ b/DOOM/README.md @@ -0,0 +1,8 @@ +#### DOOM + +Extract the DOOM shareware floppy into the `bin` directory, and make sure there +is an `INSTALL.BAT` file. Then run `setup`. + +##### requirements + + - dosbox diff --git a/DOOM/run b/DOOM/run new file mode 100755 index 0000000..074c814 --- /dev/null +++ b/DOOM/run @@ -0,0 +1,16 @@ +#!/bin/sh + +export dir=$(pwd) + +(cat <<"EOF" +@echo off +mount c $dir +C:\ +cd DOOMS +DOOM +exit +EOF +) > run.bat +(sleep 2; rm run.bat) & +dosbox run.bat & + diff --git a/DOOM/setup b/DOOM/setup new file mode 100755 index 0000000..40d03c1 --- /dev/null +++ b/DOOM/setup @@ -0,0 +1,15 @@ +#!/bin/sh + +export dir=$(pwd) + +(cat <<"EOF" +@echo off +mount c $dir +C:\ +cd BIN +INSTALL.BAT +exit +EOF +) > setup.bat +(sleep 1; rm setup.bat) & +dosbox setup.bat &