]> icculus.org git repositories - theoddone33/hheretic.git/blob - dumpwad.py
Optimized blit functions.
[theoddone33/hheretic.git] / dumpwad.py
1
2 import sys
3 from pyhexen.wad import *
4
5 myWad = WadReader()
6
7 print ("Loading wads...")
8 myWad.InitMultipleFiles (sys.argv[1:])
9
10 print ("Dumping wad contents...")
11
12 for (handle, pos, length, name) in myWad.lumps:
13         print ("Found '%s' ('%s' offset %d, length %d)" % (name, handle.name, pos, length))