scummvm/devtools/tasmrecover/tasm-recover
2011-06-22 23:11:44 +02:00

29 lines
496 B
Python
Executable File

#!/usr/bin/python
from tasm.parser import parser
from tasm.cpp import cpp
p = parser()
p.strip_path = 3
context = p.parse('dreamweb/dreamweb.asm')
p.link()
generator = cpp(context, "DreamGen", blacklist = [
'randomnumber',
'quickquit',
'quickquit2',
'seecommandtail',
'multiget',
'multiput',
'multidump',
'frameoutnm',
'cls',
'printundermon',
'worktoscreen',
'width160',
'convertkey',
'readabyte',
'readoneblock',
'frameoutv'
])
generator.generate('dreamweb') #start routine