[cod] Adding Custom Maps to Linux Server

Mario Benito Ríos mariob at menta.net
Tue Apr 6 11:20:37 EDT 2004


I use the following script to list maps in CoD pk3:

maplist:
unzip -l $1 | mawk '$4 ~ /[mMaps]\/(mp|MP).*\.bsp/ { 
sub(/[mM]aps\/(mp|MP)\//, "", $4); print $4 }'

Use it like:

maplist anything.pk3

(I think you can use 'awk' instead of 'mawk')

Mario


At 17:07 06/04/2004, you wrote:
>George:
>There is a utility somewhere out there called packscape I believe,
>however, pk3 files are just zip files, so I always just rename them .zip
>and use WinZip to open them up. :-)
>[TRT]TazAnimal{*}
>Brett Stinson
>TazAnimal at rifleteam.com <mailto:TazAnimal at rifleteam.com>
>
>
>
>-----Original Message-----
>From: George Lemos [mailto:listreader at lemosnet.com]
>Sent: Tuesday, April 06, 2004 9:58 AM
>To: cod at icculus.org
>Subject: RE: [cod] Adding Custom Maps to Linux Server
>
>
>
>
> > Open up the pk3 file and look at the .bsp
> > name.  That has to match.
>
>
>OK Thanks, open the pk3 file. What utility should I use to do that. I never
>opened a pk3 file! I guess its something I should be somewhat familiar with
>then.




More information about the Cod mailing list