View Single Post
  #26  
Old August 4th, 2007, 07:30 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Generate a list of used ID numbers in a mod file

I have written a small awk script that Sombre requested which lists all the ID numbers which are used in a mod file. ID numbers which are being used more than once will be listed as often as they appear, too. Makes it easy to find overlaps...

Example usage: Code:
$ awk -f dmlist.awk CBcomplete_1.00.dm
Monster IDs: 2851,2877,2888,2890-2892
Weapon IDs: 659,708-710,751-755,768-769
Armor IDs: 252-264
Site IDs: 890


For Windows users, download the GNU awk binary here: http://gnuwin32.sourceforge.net/packages/gawk.htm
Attached Files
File Type: zip 541188-dmlist.zip (511 Bytes, 796 views)
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
The Following 3 Users Say Thank You to lch For This Useful Post: