This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# list WAD directory with lump names/sizes or verbose info from Omgifol itself, by Frans P. de Vries (Xymph) | |
import sys, getopt | |
from omg import * | |
if len(sys.argv) < 2: | |
print("\n Omgifol script: list WAD directory\n") | |
print(" Usage:") | |
print(" listdir.py [-v] source.wad\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# set WAD's map slot from filename, by Frans P. de Vries (Xymph) | |
import sys, re | |
from omg import * | |
if len(sys.argv) < 2: | |
print("\n Omgifol script: set slot from filename\n") | |
print(" Usage:") | |
print(" slotfile.py slot##.wad [-s oldslot]\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# search maps for a sector's sidedefs/linedefs, by Frans P. de Vries (Xymph) | |
import sys | |
from omg import * | |
def searchmap(wad, name, thesector): | |
try: | |
edit = UMapEditor(wad.udmfmaps[name]) | |
except KeyError: |
OlderNewer