🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #334

Hack to play Quake 2 with no CD

#334
From: root
Date: Thu, 08 Jan 1998 00:00
40 lines
1802 bytes
#!/bin/sh
#q2nocd -
#Hack to get around the cd requirements in Quake2.
#Quake simply looks for a mounted iso9660 filesystem
#with a file called quake.exe in it's root. Yes, quite pathetic.
#Made against Quake2-linux v3.10  You mileage may vary with newer
#ones. (if the zoid man applies himself better)
#
#This script requires you to have mkisofs installed. (v1.11+??)
#Redhat, Debian, et al should have a package for it.
#If not ftp.debian.org debian/stable/source/otherosfs/
#has source
#
#It also requires you to have kernel loop back support compiled in
#If you are such a dumb monkey you can't recompile your kernel
#you should be able to dump the resulting file to a floppy
#and mount that.... IE
#cat q2nocd.iso>/dev/fd0
#mount -t iso9660 /dev/fd0 /mnt
#
#Happy fraggin' -- Powersurge  (Oh yeah! Ba-Ba-Booey Ba-Ba-Booey Ba-Ba-Booey)

#Hack according to your needs

#Where to do all this
TMP="/tmp"
QPATH="."


mkdir $TMP/q2nocd
echo>$TMP/q2nocd/quake2.exe
mkisofs -o $TMP/q2nocd.iso $TMP/q2nocd
mount -t iso9660 -o loop $TMP/q2nocd.iso $TMP/q2nocd 

$QPATH/quake2

umount $TMP/q2nocd
rm -R $TMP/q2nocd
rm $TMP/q2nocd.iso
Technical Details
Message-ID: <691fma$ltl$1@ha2.rdc1.nj.home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,2a4d18005fb5696a,start
X-Google-Attributes: gid1103af,public
X-Google-Thread: 104191,2a4d18005fb5696a,start
X-Google-Attributes: gid104191,public
X-Google-Thread: 104a42,2a4d18005fb5696a,start
X-Google-Attributes: gid104a42,public
From: root@psychosis.com (root)
Subject: Hack to play Quake 2 with no CD
Date: 1998/01/08
Message-ID: <691fma$ltl$1@ha2.rdc1.nj.home.com>
X-Deja-AN: 313821250
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: @Home Network
Newsgroups: comp.os.linux.misc,3dfx.glide.linux,alt.binaries.games.quake