Originally Posted by LogicDeLuxe
Still doesn't work. Now, with the example code, I get:
Traceback (most recent call last):
File "F:\monkey_test\scummbler.py", line 409, in <module>
File "F:\monkey_test\scummbler.py", line 399, in main_selector
File "F:\monkey_test\scummbler.py", line 377, in main
File "F:\monkey_test\scummbler.py", line 288, in compile_script
header = comp.generateHeader(len(results))
File "F:\monkey_test\scummbler_compiler.py", line 2497, in generateHeader
objdata += to_byte(self.scriptNum)
File "F:\monkey_test\scummbler_misc.py", line 143, in to_byte
inval = int(inval)
ValueError: invalid literal for int() with base 10: '\xca'
I tried another script from descumm, unchanged, and scummbler says "Parsing "script.txt"..." and then just hangs.
Fixed the first problem, download again from the same location and let me know how it goes.
As for the hanging up, just let it go for a bit longer and it should finish. I have not implemented blocks very well, so it gets stupidly slow on nested "if" statements.