View Single Post
Old 07-23-2009, 08:25 AM   #10
Join Date: Sep 2004
Posts: 41
Originally Posted by LogicDeLuxe View Post
Still doesn't work. Now, with the example code, I get:
Traceback (most recent call last):
  File "F:\monkey_test\", line 409, in <module>
  File "F:\monkey_test\", line 399, in main_selector
  File "F:\monkey_test\", line 377, in main
    compile_script(infile, SCUMM_version)
  File "F:\monkey_test\", line 288, in compile_script
    header = comp.generateHeader(len(results))
  File "F:\monkey_test\", line 2497, in generateHeader
    objdata += to_byte(self.scriptNum)
  File "F:\monkey_test\", 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.
jestar_jokin is offline   you may: quote & reply,