From f9c6368f2988e952b8ad76811c062e90bf589358 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 18 Oct 2024 15:08:19 -0400 Subject: [PATCH] DOOM --- DOOM/.gitignore | 2 ++ DOOM/README.md | 8 ++++++++ DOOM/run | 16 ++++++++++++++++ DOOM/setup | 15 +++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 DOOM/.gitignore create mode 100644 DOOM/README.md create mode 100755 DOOM/run create mode 100755 DOOM/setup 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 &