summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-10-18 15:08:19 -0400
committerFreya Murphy <freya@freyacat.org>2024-10-18 15:08:19 -0400
commitf9c6368f2988e952b8ad76811c062e90bf589358 (patch)
treefd1b2b263ab22401fbfda433e8805e07cb5f7f65
parentBattleNET (diff)
downloadwinescripts-f9c6368f2988e952b8ad76811c062e90bf589358.tar.gz
winescripts-f9c6368f2988e952b8ad76811c062e90bf589358.tar.bz2
winescripts-f9c6368f2988e952b8ad76811c062e90bf589358.zip
DOOM
-rw-r--r--DOOM/.gitignore2
-rw-r--r--DOOM/README.md8
-rwxr-xr-xDOOM/run16
-rwxr-xr-xDOOM/setup15
4 files changed, 41 insertions, 0 deletions
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 &