mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-22 12:01:26 +00:00
5b81f01e3b
It works, and is playable, but you need to symlink source/config.qw to source/config.qw -- otherwise it won't build a qwprogs.dat for you. :)
22 lines
474 B
Bash
Executable file
22 lines
474 B
Bash
Executable file
#! /bin/sh
|
|
gamename=paroxysm
|
|
LOCALRUNDIR=$HOME/.quake/paroxysm
|
|
|
|
gzip -9rv gfx maps progs sound
|
|
pushd source
|
|
make
|
|
cp qwprogs.dat qwprogs.sym ..
|
|
popd
|
|
for i in gfx.wad quake.rc qwprogs.dat qwprogs.sym; do
|
|
cat $i | gzip -9v > $i.gz
|
|
done
|
|
|
|
find gfx/ > file.list
|
|
find maps/ >> file.list
|
|
find progs/ >> file.list
|
|
find sound/ >> file.list
|
|
sort file.list -o file.list
|
|
echo gfx.wad.gz quake.rc.gz >> file.list
|
|
|
|
pak -cv -fpak0.pak `cat file.list`
|
|
cp pak0.pak qwprogs.*.gz $LOCALRUNDIR
|