Warning: this is a htmlized version!
The original is across this link.
#######
#
# E-scripts for making games
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/a/e/games.e>
#           or at <http://angg.twu.net/e/games.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/a/.emacs[.html]>,
#                 <http://angg.twu.net/a/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######




#######
#
# Go recorders/editors (slink): cgoban/mgt
# 99sep16
#
#######

#  «cgoban»
# (find-es "games" "gnugo2")
# (find-vldifile "cgoban.list")
# (find-fline "/usr/doc/cgoban/")

apti cgoban

rm -Rv /tmp/go
mkdir  /tmp/go
cd     /tmp/go
unzip /snarf/http/www.geocities.com/Tokyo/Flats/3603/honinbo.zip
# (find-fline "/snarf/http/www.geocities.com/Tokyo/Flats/3603/honinbo.zip")

cd     /tmp/go
cgoban -edit Hon-45-1.sgf
cgoban -edit Hon-41-1.mgt

#  «mgt»
# "mgt" = "my Go teacher"?

# (find-vldifile "mgt.list")
# (find-fline "/usr/doc/mgt/")

# (find-fline "/usr/lib/games/mgt/Rules")
# (find-fline "/usr/lib/games/mgt/")
cgoban -edit /usr/lib/games/mgt/Rules
cgoban -edit /usr/lib/games/mgt/Sample.01
cgoban -edit /usr/lib/games/mgt/Sample.02






#######
#
# mess
#
#######

rm -Rv /usr/src/xmess-0.2b4.1/
cd /usr/src/
tar -xvzf /snarf/http/internetter.com/titan/mess/unix02b4.tgz
cd /usr/src/xmess-0.2b4.1/
# (find-fline "/usr/src/xmess-0.2b4.1/makefile.unix")
make -f makefile.unix DISPLAY_METHOD=svgalib




##########
#
# X-MAME
#
##########

rm -Rv /usr/games/lib/mame/
rm -Rv /usr/src/xmame-0.30.1/
cd /usr/src/
tar -xvzf /snarf/ftp/drake.dit.upm.es/pub/emulators/mame/xmame-0.30.1_src.tgz
cd /usr/src/xmame-0.30.1/
#
# (find-fline "/usr/src/xmame-0.30.1/makefile.unix" "JOY\t")
# (find-fline "/usr/src/xmame-0.30.1/doc/README.unix" "SVGALIB executable")
# (find-fline "/usr/src/xmame-0.30.1/doc/readme.txt")
#
make -f makefile.unix \
  JOY="" MSHM="" XPM="" XPMLIB="" CC=gcc ARCH=svgalib |& tee om
cd /usr/src/xmame-0.30.1/
make -f makefile.unix \
  JOY="" MSHM="" XPM="" XPMLIB="" CC=gcc ARCH=svgalib install |& tee omi
ln -s /usr/games/mame ~/bin/mame
ln -s /usr/games/xmame ~/bin/xmame
# 
# For the X version:
# make JOY="" -f makefile.unix |& tee om
# make JOY="" -f makefile.unix install |& tee omi

# (code-c-d "mame" "/usr/src/xmame-0.30.1/")
# (find-mamefile "src/usrintrf.c")
# (find-mamefile "src/usrintrf.c" "KEYBOARD SETUP")
# (find-mamefile "src/usrintrf.c" "int setkeysettings(")
# (find-mamefile "/usr/src/xmame-0.30.1/doc/")
# (find-fline "~/mame/xmamerc")
#
# Screen snapshots:
# (find-mamefile "doc/Changes" "snapshot")
# (find-mamefile "src/msdos/msdos.c" "snapshot")
# (find-mamefile "src/unix/xdep.c" "snapshot")
# Disabled?
#
# Where in the code is the checking for the zipped roms? A strace
# shows that mame tries to open /usr/games/lib/mame/roms/dkongjr.zip .

# (find-mamefile "doc/Changes")
# (find-mamefile "doc/README.unix" "unzip-on-the fly")
# (find-mamefile "doc/whatsnew.txt" "zip")
# (find-mamefile "doc/whatsnew.txt" "-record")
# (find-mamefile "doc/xmame.man")
# (find-mamefile "makefile.unix")
# (find-mamefile "src/zipfiles/Makefile")
# (find-mamefile "src/zipfiles/Makefile.sta")
# (find-mamefile "src/zipfiles/infblock.c")
# (find-mamefile "src/zipfiles/uzip2mem.c")
# (find-mamefile "src/zipfiles/uzip2mem.h")
# (find-mamefile "src/zipfiles/uzipsupp.c")
# (find-mamefile "src/zipfiles/uzipsupp.h")
# (find-mamefile "src/zipfiles/zipfiles.c")
# (find-mamefile "src/zipfiles/zipfiles.h")
# (find-mamefile "src/zipfiles/zlib.h")


function puarc ()
{ mkdir -p /usr/games/lib/mame/$2
  cd       /usr/games/lib/mame/$2
  unzip -o -L /snarf/http/www.vu.union.edu/~peekb/arcade/ROMs/$1.zip
  cd /snarf/http/www.vu.union.edu/~peekb/arcade/ROMs/
}
#     zipname  dirname/gamename status
#---- -------  -------
# puarc circusc2
# puarc circusch
# puarc colony7	colony7	 no (needs mv * *.bin?)
# puarc elevator elevator	use elevatob instead
# puarc exedexes	exedexes no
# puarc eyes    eyes	 ns
# puarc foodf	foodf	 no
# puarc future_spy futspy  cs
# puarc gaunt1f	gauntlet
# puarc gberet2	
# puarc hunchbac hunchy	 black
# puarc invinco	invinco	 cs
# puarc popeye	popeye	 ns
# puarc qbertqub	qbertqub; (cd /usr/games/lib/mame/qbertqub; for i in bg{0,1} {fg,rom}{0,1,2,3}; do mv -v Qq-$i.bin qq-$i.bin; done) # no sound ROMs
# puarc qix2	qix2
# puarc rastan	rastan	 some roms missing
# puarc tacscan	tacscan	 nf

puarc 3stooges  3stooges ok
puarc amidarj	amidarjp ok
puarc anteater  anteater ok
puarc aster1    asteroid ok
puarc bagman	bagman	 ok
puarc bankp	bankp	 ok
puarc bluep	blueprnt ok
puarc bnjump    bnj	 ok
puarc bosco	bosco	 ok
puarc btimea	btimea	 ok
puarc bzone1	bzone	 ok
puarc bzone2	bzone2	 ok
puarc carnival	carnival ok
puarc ck_scram	ckongs	 ok
puarc ckongjeu	ckongjeu ok
puarc cloak	cloak	 ok
puarc congo	congo	 ok
puarc crsh_rol	crush	 ok
puarc crystal   ccastles ok
puarc defender  defender ok
puarc destderb  destderb ok
puarc desterth	desterth ok
puarc diamond	diamond	 ok
puarc digdug2	digdug2	 ok
puarc digdugnm  digdugnm ok
puarc domino	domino	 ok
puarc donkey_k	dkong	 ok
puarc donkeyjr  dkongjr	 ok
puarc ea_boot   elevatob ok
puarc eggs      eggs	 ok
puarc espial	.	 pz
puarc exerion	exerion	 ok
puarc fantasy	fantasy	 ok
puarc frenzy	frenzy	 ok
puarc frogger	frogger	 ok
puarc frontlin	.	 pz
puarc galaganm	galaganm ok
puarc galturbo	galturbo ok
puarc galxwars	galxwars ok
puarc gberet	gberet	 ok
puarc ghostngo	gng	 ok
puarc gorf	gorf	 ok
puarc gravitar	gravitar ok
puarc gyruss	gyrussce ok
puarc japirem	japirem	 ok
puarc jbugsega	jbugsega ok
puarc journey	journey	 PP; (cd /usr/games/lib/mame/journey/; cp -v */* .)
puarc joust     joust	 ok
puarc junglek	junglek	 ok
puarc kangaroo	kangaroo ok
puarc ladybug   ladybug	 ok
puarc locomotn  .	 pz
puarc lostt	losttomb ok
puarc lrescue	lrescue	 ok
puarc lunarl	llander	 ok
puarc madp      mplanets ok
puarc maketrax	maketrax ok but eq crush
puarc mappy	mappy	 ok
puarc mariobro	mario	 ok
puarc moon1	mooncrsg ok but cs warning, use moonqsr
puarc moonpat	mpatrol	 ok
puarc moonqsr	moonqsr	 ok
puarc mrdouniv	mrdo	 ok
puarc mtrap	mtrap	 ok
puarc mys-ston	mystston ok
puarc omegar    omegrace ok
puarc pacman	pacman	 ok
puarc panic	panic	 ok
puarc pengo	pengoa	 not ok
puarc pepperii	pepper2	 ok
puarc piranha	piranha	 ok
puarc pisces	pisces	 ok
puarc pooyan    pooyan	 ok
puarc popeyebl	popeyebl ok
puarc popflame  .	 ok
puarc puckman	puckman	 ok
puarc qbertus   qbert	 ok
puarc qix       qix	 ok
puarc quanrom1	quantum	 ok
puarc quanrom2	quantum2 ok
puarc rallyx    rallyx	 ok
puarc rampage	rampage	 ok
puarc reactor   reactor	 ok
puarc redb	redbaron ok
puarc rescue	rescue	 ok
puarc robby	robby	 ok
puarc robotron  robotron ok
puarc rocnrope	rocnrope ok
puarc satnholw	shollow	 ok
puarc sectionz	sectionz ok
puarc silkworm	.	 pz
puarc sonson	sonson	 ok
puarc spacezap	spacezap ok
puarc splat	splat	 ok
puarc spyhunt	.	 pz
puarc superg	superg	 ok
puarc swimmer	swimmer	 ok
puarc sxevious	sxevious ok
puarc temprom1  tempest	 ok
puarc theend    theend	 ok
puarc timber	timber	 ok
puarc tron      tron	 ok
puarc turpin	turpin	 ok
puarc tutankam	tutankhm ok
puarc twotiger	twotiger ok
puarc vanguard  vanguard ok
puarc venture1  venture	 ok
puarc vulgus	vulgus	 ok
puarc wacko	.	 pz
puarc warpwarp	warpwarp ok
puarc wwestern	wwestern ok
puarc xevious   xevious	 ok
puarc zaxxon    zaxxon	 ok
puarc zektor	zektor	 ok
puarc zook      zookeep	 ok

cd /snarf/http/www.vu.union.edu/~peekb/arcade/ROMs/
(mame -listfull
 ls
 cat ~/JOGOS/todos-) | sort | tee ~/o

function puget () {
  cd /snarf/http/www.vu.union.edu/~peekb/arcade/ROMs/
  wget http://www.vu.union.edu/~peekb/arcade/ROMs/$1.zip
}

function putst () {
  echo $2; mame $2 -videomode 2; echo $2; read
}

lynx /snarf/http/www.erols.com/mowerman/





##########
#
# xmame-0.33rc1.1
#
##########

# New version: ftp://drake.dit.upm.es/xmame/ftpsite/xmame-0.33rc1.1.tgz

rm -Rv	/usr/src/xmame-0.33rc1.1
cd	/usr/src/
tar -xvzf /snarf/ftp/drake.dit.upm.es/xmame/ftpsite/xmame-0.33rc1.1.tgz
cd	/usr/src/xmame-0.33rc1.1

# make -f makefile.unix \
#   JOY="" MSHM="" XPM="" XPMLIB="" CC=gcc ARCH=svgalib |& tee om
make -f makefile.unix \
  JOY="" MSHM="" CC=gcc ARCH=svgalib |& tee om

mkdir -p /usr/local/man/man6

cd	/usr/src/xmame-0.33rc1.1
make -f makefile.unix \
  JOY="" MSHM="" CC=gcc ARCH=svgalib install |& tee omi
ln -sf /usr/games/mame ~/bin/mame
ln -sf /usr/games/xmame ~/bin/xmame




tar -tvzf /snarf/ftp/drake.dit.upm.es/xmame/ftpsite/xmame-0.33rc1.1.tgz

cd /snarf/http/www.davesclassics.com/
lynx mamepage.html
cd /snarf/http/www.davesclassics.com/frames/mame/
lynx roms.html

function puarc2 ()
{ mkdir -p /usr/games/lib/mame/$2
  unzip -o -L $1.zip -d /usr/games/lib/mame/$2
}
function puarcd () {
  cd /snarf/http/www.davesclassics.com/arcade/Roms/
  puarc2 $1 $2
}
function puarcar () {
  cd /snarf/http/www.mame.com.ar/roms/
  puarc2 $1 $2
}
function pugetd () {
  cd /snarf/http/www.davesclassics.com/arcade/Roms/
  wget http://www.davesclassics.com/arcade/Roms/$1.zip
  puarcd $1 $1
}
function pugetar () {
  cd /snarf/http/www.mame.com.ar/roms/
  wget http://www.mame.com.ar/roms/$1.zip
  puarcar $1 $1
}
puarcd bnj bnj
pugetd dkjrprom
pugetd maze
puarcd maze maze

#puarcd	dkongjr	 dkongjr
puarcd  dkjrprom dkongjr
puarcar dkjrbl	 dkjrbl
puarc	qix	 qix

cd /snarf/http/www.davesclassics.com/arcade/Roms/
puarc2 marble marble





##############
#
# xaster-1.00
#
##############

cd /usr/src/
rm -Rv xaster-1.00
tar -xvzf /home/xaster-1.00.tar.gz
cd /usr/src/xaster-1.00/
echo '*/' >> plot.xwin.h
makedepend \
  alien.c asteroids.c control.c cordic.c debris.c extras.c game.c \
  ghost.c high.c input.c linefont.c main.c missile.c mlist.c plot.c \
  score.c shape.c ship.c sound.c sprite.c text.c updlist.c

make LIBS='-L/usr/X11/lib -lX11'



########
#
# galaxis
#
########

cd /usr/src/
rm -Rv galaxis-1.1
tar -xvzf /snarf/http/www.ccil.org/~esr/galaxis-1.1.tar.gz
cd galaxis-1.1





#############
#
# Stella 0.7
#
#############

cd /usr/src/
tar -xvzf /snarf/ftp/ftp.ncsu.edu/pub/eos/pub/bsvc/st/stella-0.7-src.tar.gz
cd /usr/src/stella-0.7/src/
make linux-i386-svga |& tee om

cd /usr/src/stella-0.7/
ln -s /snarf/http/www.general.uwa.edu.au/u/darrins/2600/ 2600
ln -s src/stella src/stella.vcs .

cd /usr/src/stella-0.7/
unzip -l 2600/'*.zip' | sort +3
unzip -oL 2600/ijk.zip Joust.bin
unzip -oL 2600/opq.zip Pengo.bin Popeye.bin 'Qb*.bin' Quickstp.bin
unzip -oL 2600/s.zip Spidrftr.bin

cd /usr/src/stella-0.7/
stella Spidrftr.bin

unzip /snarf/http/www.general.uwa.edu.au/u/darrins/2600/c.zip Cryscast.bin
stella Cryscast.bin




#####
#
# stella 0.7 (slink)
#
#####

mkdir -p /lib/modules/2.0.37/
cd /lib/modules/2.0.37/
cp -v /usr/src/linux-2.0/modules/*.o .
depmod *.o > modules.dep

apti svgalibg1-dev joystick


pdsc $SDEBIAN/dists/slink/non-free/source/otherosfs/stella_0.7-2.dsc
cd /usr/src/stella-0.7/
debian/rules CXX=g++ binary	|& tee odrb

cd /usr/src/
mv -v stella*deb .debs/

apt-update
apti stella

# (find-vldifile "stella.list")
# (find-fline "/usr/doc/stella/")
# (find-fline "/usr/src/stella-0.7/")





#######
#
# Stella 1.0
#
#######

rm -Rv /usr/src/stella-1.0/
cd /usr/src/
tar -xvzf $S/ftp/ftp.eos.ncsu.edu/pub/bsvc/stella/1.0/stella-1.0-src.tar.gz
cd /usr/src/stella-1.0/src/
cd /usr/src/stella-1.0/src/build/
make CXX=g++ linux-x	|& tee ../../om

cd /usr/src/stella-1.0/src/build/
xstella /tmp/stella/mnr2049r.bin

cd /tmp/stella/
/usr/src/stella-1.0/src/build/xstella -fps 60 mnr2049r.bin

# (find-fline "/usr/src/stella-1.0/")
# (find-fline "/usr/src/stella-1.0/om")
# (find-fline "/usr/src/stella-1.0/src/emucore/stella.pro")
# (find-fline "/usr/src/stella-1.0/src/build/DefProps.def")
# (find-fline "/usr/src/stella-1.0/docs/Stella.txt" "-fps")





#####
#
# stella ROMs
#
#####

rm -Rv /tmp/stella
mkdir /tmp/stella
cd /snarf/http/www.general.uwa.edu.au/u/darrins/2600/
for i in *.zip; do unzip $i -d /tmp/stella; done
cd /tmp/stella
heredoc /tmp/mvlower -m 777 <<'---'
#!/usr/bin/tclsh
foreach Bin $argv {
  set bin [string tolower $Bin]
  if {$bin!=$Bin} {
    exec mv -iv $Bin $bin
  }
}
---
/tmp/mvlower *
tar -cvzf /usr/src/stella-1.0/cartridges.tgz *
laf /usr/src/stella-1.0/cartridges.tgz


# Or, when we already have the .tgz,
rm -Rv /tmp/stella
mkdir /tmp/stella
cd /tmp/stella
tar -xvzf /usr/src/stella-1.0/cartridges.tgz






##############
#
# xaster-1.00
#
##############

cd /usr/src/
rm -Rv xaster-1.00
tar -xvzf /home/xaster-1.00.tar.gz
cd /usr/src/xaster-1.00/
echo '*/' >> plot.xwin.h
makedepend \
  alien.c asteroids.c control.c cordic.c debris.c extras.c game.c \
  ghost.c high.c input.c linefont.c main.c missile.c mlist.c plot.c \
  score.c shape.c ship.c sound.c sprite.c text.c updlist.c

sleep 1
echo -n > .compilation-start
sleep 1
#
make CFLAGS='-g -O6 -DXWINDOWS' LIBS='-L/usr/X11/lib -lX11' |& tee om
#
find * -name '*.[ch]' -and -anewer .compilation-start > .files.ch.used

# (find-fline "/usr/src/xaster-1.00/param.h" 31)
# (find-xastfile "ship.c" 197)

# The program is showing a nasty bug: "q" generally does not exit,
# just restarts. It bothered my so much I added the following line to
# my .fvwmrc, somewhere between `Popup "Utilities"' and `EndPopup':
#
# 	Exec    "Kill Asteroids" exec kill $(pidof asteroids) &
#
# (without the leading "#", of course).
#
# Without this you'll have to switch to a terminal and kill it
# manually.




########
#
# galaxis
#
########

cd /usr/src/
rm -Rv galaxis-1.1
tar -xvzf /snarf/http/www.ccil.org/~esr/galaxis-1.1.tar.gz
cd galaxis-1.1



#################
#
# xscavenger 1.3
#
#################

cd /usr/src/
rm -Rv xscavenger-1.3/
tar -xvzf /snarf/http/www.geocities.com/TimesSquare/Arcade/4567/scavenger-13.tgz
cd /usr/src/xscavenger-1.3/src/
xmkmf
make




###########
#
# xpat2 (game)
#
###########

rm -Rv /usr/src/xpat2-1.04/
cd /usr/src/
tar -xvzf /snarf/ftp/uiarchive.cso.uiuc.edu/pub/systems/linux/sunsite/games/solitaires/xpat2-1.04-src.tar.gz
cd /usr/src/xpat2-1.04/
make |& tee om
make install |& tee omi

# (find-fline "/usr/src/xpat2-1.04/lib/")




##########
#
# descent
#
##########

rm -Rv /usr/src/descent/
cd /usr/src/
tar -xvzf /snarf/ftp/ftp.muppetlabs.com/pub/ldescent/ldescent-0.0.17.tgz
cd /usr/src/descent/
./configure |& tee oc
make |& tee om

# But it needs the data files that come with the registered version...
# Too bad, I don't have 'em.



##########
#
# Manic Miner
#
##########

rm -Rv /usr/src/manicminer/
cd /usr/src/
tar -xvzf /snarf/http/www.worldserver.pipex.com/home/adam/mm/manicminer-1.05-linux86.tar.gz
cd /usr/src/manicminer/

# Binaries only, & not running.



########
#
# LinCity 1.09
#
########

rm -Rv /usr/local/lib/lincity/
rm -v /usr/local/bin/lincity

rm -Rv /usr/src/lincity109/
cd /usr/src/
tar -xvzf /snarf/ftp/sunsite.unc.edu/pub/Linux/games/strategy/lincity109-src.tar.gz
cd /usr/src/lincity109/
make lincity	|& tee om
make install	|& tee omi

cd /usr/src/lincity109/
agrep mousetype.mes $(find *) | l

# (find-fline "/usr/src/lincity109/messages/mousetype.mes")
# (find-fline "~/.lincityrc")
# gpm's -mman is #6 (Logiman).




#######
#
# freeciv
#
#######

# (find-fline "/usr/doc/freeciv/")
dpkg -i ~/HASH/xaw-wrappers ~/HASH/freeciv
civserver --nometa

export FREECIV_DATADIR=/usr/lib/games/freeciv/data
civclient                                        

dpkg -r freeciv

http://freeciv.ultraviolet.org/


cd /usr/src/
rm -Rv freeciv-1.7.1/
tar -xvIf /snarf/ftp/www.freeciv.org/pub/freeciv/freeciv-1.7.1.tar.bz2
cd /usr/src/freeciv-1.7.1/
./configure |& tee oc
make |& tee om
make install |& tee omi


/usr/src/freeciv-1.7.1/ser --nometa

export FREECIV_DATADIR=/usr/src/freeciv-1.7.1
/usr/src/freeciv-1.7.1/server/civserver --nometa

export FREECIV_DATADIR=/usr/src/freeciv-1.7.1
/usr/src/freeciv-1.7.1/client/civclient

# Bichado.





#######
#
# freeciv (slink)
#
#######

apt-get install freeciv

dpkg --purge freeciv

# (find-fline "/usr/doc/freeciv/")
# (find-vldifile "freeciv.list")




#######
#
# mame (potato) & roms
#
#######

# (find-fline "/usr/doc/xmame/")
# (find-fline "~/0-20k.tgz")
# (find-fline "~/20-50k.tgz")

# (find-fline "/snarf/ftp/ftp.byte.com/pub/gamepower/mame/index.size")

cd /snarf/ftp/ftp.byte.com/pub/gamepower/mame/
cd /snarf/ftp/ftp.byte.com/pub/gamepower/mame/sample/
lynx /snarf/ftp/ftp.byte.com/pub/gamepower/mame/index.hmtl
lynx /snarf/ftp/ftp.byte.com/pub/gamepower/mame/sample/index.hmtl

72959		ldrun.zip
86925		ldrun2p.zip
96078		pengo.zip
93203		dkongjr.zip
93572		xevious.zip
120242		darwin.zip
374439		marble.zip

rm -Rv ~/ROMS3
mkdir ~/ROMS3
cd ~/ROMS3/
wget \
ftp://ftp.byte.com/pub/gamepower/mame/ldrun.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ldrun2p.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pengo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dkongjr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/xevious.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/darwin.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/marble.zip	\


cd /snarf/ftp/ftp.byte.com/pub/gamepower/mame/
tar -xvzf ~/0-20k.tgz
cp *.zip /usr/lib/games/xmame/roms/

(cd /usr/lib/games/xmame/roms/; ls *.zip)
tar -tvzf ~/20-50k.tgz

cd /usr/lib/games/xmame/roms/
tar -xvzf ~/20-50k.tgz -C /usr/lib/games/xmame/roms/

rm -Rv ~/ROMS
mkdir ~/ROMS
cd ~/ROMS/
wget \
ftp://ftp.byte.com/pub/gamepower/mame/280zzzap.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/alieninv.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/amidars.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/anteater.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/armora.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/armorcar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/astdelux.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/asteroi1.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/asteroi2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/asteroid.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/astinvad.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/astlaser.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/atarifb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/atlantis.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/avalnche.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bandido.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/barrier.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/baseball.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/battlezn.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/blasto.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/blockade.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/blueshrk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/boothill.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bowler.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/breakawa.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bsktball.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bzone.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/calipso.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/carnival.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/cattrax.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/centiped.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/challeng.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/checkman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/circus.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/clowns.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/commsega.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/comotion.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/copsnrob.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/cosmica.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/cosmicmo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/crash.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/crbaloon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/crush.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dday.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/deadeye.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/demon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/depthch.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/desterth.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/digger.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dogpatch.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dominos.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dplay.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/earthinv.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ebases.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/einnings.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/escape.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/eyes.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/football.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/frogs.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/galxwars.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gmissile.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gunfight.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gypsyjug.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hangly.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/headon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/helifire.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hustle.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/intrepid.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invadpt2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invds.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invho2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invinco.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invrvnge.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jungler.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/kaos.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/killcom.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/kingball.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lagunar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lazercmd.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/llander.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/llander1.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lnc.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lottofun.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lrescue.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lupin3.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/m4.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/m79amb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/maze.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/megatack.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/milliped.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/minefld.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/missilew.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/monkeyd.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/moonal2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/moonqsr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/moonwar2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mrtnt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mspacatk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/nibbler.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/nitedrvr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/nrallyx.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/oceanbat.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/omegrace.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pacplus.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pacpopey.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/panic.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pballoon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/phantom2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/piranha.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pisces.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/polaris.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ponpoko.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/puckman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pulsar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/radarscp.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/rallyx.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/redbaron.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/redufo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/rescue.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ripcord.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ripoff.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/robotbwl.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/roundup.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/route16.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/safari.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/samurai.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sasuke.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sbrkout.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/schaser.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/scramble.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/seawolf.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/seawolf2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sharkatt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/shcht.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sidetrac.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/solarq.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacduel.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spaceatt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacefb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacefev.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacerai.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacewar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacezap.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spcenctr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spectar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/speedfrk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sprint1.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sprint2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sspaceat.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/stactics.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/starcas.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/starches.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/starfire.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/starhawk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/subs.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sundance.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/suprmatk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/suprmous.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tailg.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tankbatt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tanksalo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/targ.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/temptube.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/theend.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/thepit.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tomahawk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tornbase.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/triplep.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tzmanias.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/warlord.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/warofbug.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/warpwarp.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/warrior.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/wotw.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zigzag.zip

cd ~/ROMS/
tar -cvzf ~/0-20k.tgz *

cd ~/ROMS2/
tar -cvzf ~/20-50k.tgz *
laf ~/20-50k.tgz

rm -Rv ~/ROMS2
mkdir ~/ROMS2
cd ~/ROMS2/
wget	\
ftp://ftp.byte.com/pub/gamepower/mame/005.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/aeroboto.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/allproms.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ambush.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/arabian.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/astrof.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bagman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/berzerk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bking2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/blueprnt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bnj.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/boxingb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/bwidow.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/calypso.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/cavenger.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ccastles.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/champbas.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/colony7.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/curvebal.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/darkplnt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/defender.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/diamond.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/digdug.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/digdug2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dkong.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dkong3.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/domino.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/douni.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/dowild.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/eggs.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/elecyoyo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/elim2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/fantasy.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/foodf.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/frenzy.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/friskyt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/frontlin.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/futspy.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gorf.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gravitar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/guzzler.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/gyrussce.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hamburge.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hardhat.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/higemaru.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hunchy.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/hustler.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/invaders.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jack.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/japirem.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jbugsega.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jhunt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jjack.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jrpacman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jumpbug.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/jumpcoas.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/junofrst.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/kangaroo.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/kickridr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/ladybug.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/leprechn.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/liberatr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lizwiz.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/locomotn.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/losttomb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/lrunner.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mach3.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/maketrax.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mappy.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mario.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/masao.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/missile.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/monsterb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/motos.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mpatrol.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mplanets.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mspacman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/mtrap.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/naughtyb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/nova2001.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pacnpal.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pepper2.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/phoenix.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pingpong.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pleiads.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/pootan.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/popeyebl.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/popflame.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/qbert.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/qbertqub.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/qix.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/reactor.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/redalert.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/robby.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/rollingc.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/rpatrolb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/satansat.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/savgbees.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sbagman.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/scregg.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sdungeon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/seicross.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/shollow.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/snapjack.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/solarfox.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spaceod.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spaceph.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spaceplt.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spaceskr.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacetrk.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spacfury.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spiders.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/spiero.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/splat.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/sqbert.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/stargate.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/startrek.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/startrkb.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/starwars.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/stratgyx.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/stratvox.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/superbon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/superpac.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/szaxxon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tacscan.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tazmania.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tempest.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/theglob.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tinstar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/todruaga.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/turtles.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tutankhm.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/tutankst.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/twotiger.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/vanguard.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/wacko.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/waterski.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/wow.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/wwestern.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zaxxon.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zektor.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zoar.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zookeep.zip	\
ftp://ftp.byte.com/pub/gamepower/mame/zzyzzyxx.zip



######
#
# mame 35b6
#
######

pdsc $SDEBIAN/dists/potato/non-free/source/games/xmame_0.35b6.1-1.dsc
cd /usr/src/xmame-0.35b6.1/
debian/rules binary |& tee odrb

cd /usr/src/xmame-0.35b6.1/
find * > .files
grep '\.[chSs]' .files > .files.chs


# (find-mame356file "")
# (find-mame356file "makefile.unix" "OpenGL")
# (find-mame356file "debian/")
# (find-mame356file "debian/rules")



agrep -i percent $(<.files.chs)

cd /usr/src/xmame-0.35b6.1/
agrep -i fps $(<.files.chs)


cd ~/HASH/
dpkg -iEG joystick nasm mesag2*

psne 
psne $FDEBIAN/dists/slink/main/source/libs/mesa_3.0-1.diff.gz
psne $FDEBIAN/dists/slink/main/source/libs/mesa_3.0-1.dsc
psne $FDEBIAN/dists/slink/main/source/libs/mesa_3.0.orig.tar.gz




#######
#
# Nethack
#
#######

apt-get install nethack

# (find-fline "/usr/doc/nethack/")
# (find-vldifile "nethack.list")
# (find-fline "/usr/doc/nethack/Guidebook.gz" "4.  Commands")

a2ps -o ~/o.ps -X ibmpc \
  --columns=2 --rows=1 --major=columns --portrait --medium=A4dj \
  ~/o

cd
rm o.p[0-9][0-9]
gs -sDEVICE=djet500 -r300 -sOutputFile=o.p%02d -dNOPAUSE -dBATCH o.ps

cat o.p0? > /dev/lp1


# (find-fline "~/ICON/nethack-keys.icn")

cd ~/ICON/
icont nethack-keys.icn
nethack-keys < ~/NETHACK/commands 'w ) [ A T W R P = " ('
nethack-keys < ~/NETHACK/commands 'r Z x + \'

# (find-fline "/usr/doc/nethack/spoilers/")
# (find-fline "/var/lib/games/nethack/")

# (find-fline "~/.zshrc" "nhagrep")
nhagrep 'glows blue'


cd /var/lib/games/nethack/
tar -cvzf ~/NETHACK/$HOJE.tgz *
laf ~/NETHACK/

find /var/lib/games/nethack/

cd /var/lib/games/nethack/
rm -Rv *
tar -xvzf ~/NETHACK/$HOJE.tgz








#######
#
# Pingus
#
#######

rm -Rv /usr/src/Hermes-1.2.4/
cd /usr/src/
tar -xvzf $S/http/hermes.terminal.at/files/Hermes-1.2.4.tar.gz
cd /usr/src/Hermes-1.2.4/
./configure |& tee oc
make |& tee om
make install |& tee omi

rm -Rv /usr/src/pingus-0.0.12/
cd /usr/src/
tar -xvzf $S/http/privat.schlund.de/g/grumbel/pingus/pingus-0.0.12.tar.gz
cd /usr/src/pingus-0.0.12/
./configure |& tee oc




######
#
# xearth
#
######

pdsc /debian/non-free/source/games/xearth_1.0-13.dsc
cd /usr/src/xearth-1.0/
debian/rules binary	|& tee odrb

cd /usr/src/
mv -v xearth*.deb .debs

cd /usr/src/.debs/
dpkg-scanpackages . /dev/null | tee Packages
apt-get update

apt-get install xearth
# (find-fline "/usr/doc/xearth/")
# (find-vldifile "xearth.list")
# (find-fline "$S/http/www.debian.org/devel/developers.xearth")

xearth -markerfile $S/http/www.debian.org/devel/developers.xearth
xearth -markerfile $S/http/www.debian.org/devel/developers.xearth -proj merc -pos random
xearth -markerfile $S/http/www.debian.org/devel/developers.xearth -proj merc -noshade





#####
#
# Frotz + Zork I
# 99sep15
#
#####

#  «frotz»

pdsc $SDEBIAN/dists/slink/non-free/source/games/frotz_2.32r2-12.dsc
cd /usr/src/frotz-2.32r2/
debian/rules binary	|& tee odrb
mv -v /usr/src/frotz*deb /usr/src/.debs/
apt-update
apti frotz

# (find-vldifile "frotz.list")
# (find-fline "/usr/doc/frotz/")
# (find-fline "/usr/doc/frotz/Readme.unix.gz" "http://")
# (find-fline "/usr/doc/frotz/Readme.unix.gz" "Alt-P")

# (code-c-d "frotz" "/usr/src/frotz-2.32r2/")
# (find-frotzfile "")
# (find-frotzfile "hotkey.c" "Alt-P")

#  «Zork1»

lynx $S/http/www.csd.uwo.ca/Infocom/
unzip -l $S/http/www.csd.uwo.ca/Infocom/Download/zork1.zip
# (find-fline "$S/http/www.csd.uwo.ca/Infocom/Download/zork1.zip")

rm -Rv /tmp/zork
mkdir /tmp/zork
cd /tmp/zork
unzip -Lj $S/http/www.csd.uwo.ca/Infocom/Download/zork1.zip data/zork1.dat
unzip -La $S/http/www.csd.uwo.ca/Infocom/Download/zork1.zip readme.txt
# (find-fline "/tmp/zork/readme.txt" "Gameplay notes")

cd /tmp/zork/
frotz zork1.dat

# (find-fline "~/TK/zork1.diags")

# verbose brief superbrief diagnose quit restart save restore




#####
#
# inform, a Z-code compiler
#
#####

# É esse que tem o manual espetacular que menciona
# a T-Removing Machine.

# No CD 3 do Summer 98 Archive...
# (find-fline "/cdrom/games/textrpg/inform-r5-linux.tar.gz")

Pgrep 'm/ckage: inform/'





#####
#
# gnugo 2.3.29
#
#####

#  «gnugo2»
# (find-es "games" "cgoban")

# (code-c-d "gnugo" "/usr/src/gnugo-2.3.29/")
# (find-gnugofile "")

rm -Rv /usr/src/gnugo-2.3.29/
cd /usr/src/
tar -xvzf $S/ftp/match.stanford.edu/pub/gnugo-2.3.29.tar.gz
cd /usr/src/gnugo-2.3.29/

./configure	|& tee oc
make		|& tee om

# (find-vldifile "cgoban.list")
# (find-fline "/usr/doc/cgoban/")

# To play against gnugo, or to make two gnugos play against each
# other: go to the dir with the gnugo binary, start cgoban, select "Go
# Modem", and use "./gnugo" as the program.

cd /usr/src/gnugo-2.3.29/src/
cgoban




#####
#
# MAME ROMs
# 99jan24
#
#####

getlinks < $S/http/www.geocities.com/TimesSquare/Arena/7193/in_roms.htm

lynx $S/http/www.geocities.com/TimesSquare/Arena/7193/in_roms.htm




#####
#
# xlife
# 00feb08
#
#####

apti xlife
# (find-vldifile "xlife.list")
# (find-fline "/usr/doc/xlife/")
# (find-fline "/usr/doc/xlife/README.gz" "The help key is `?'.")