View Single Post
Old 07-23-2009, 08:25 AM   #10
jestar_jokin
Rookie
 
Join Date: Sep 2004
Posts: 39
Quote:
Originally Posted by LogicDeLuxe View Post
Still doesn't work. Now, with the example code, I get:
Code:
Traceback (most recent call last):
  File "F:\monkey_test\scummbler.py", line 409, in <module>
    main_selector()
  File "F:\monkey_test\scummbler.py", line 399, in main_selector
    main()
  File "F:\monkey_test\scummbler.py", line 377, in main
    compile_script(infile, SCUMM_version)
  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.
jestar_jokin is offline   you may: quote & reply,