Talk:GSoC Tools status

From ScummVM :: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Not sure if this is relevant, but I'm aware of two defects in descumm:

  • V0-5: Incorrect parsing of escape sequences in strings, such as in print and printEgo instructions. Sometimes interprets a valid value of '\x00' as the null-terminating character. (Monkey Island 2, global script 12)
  • V0-5, maybe 6+: if/else generation sometimes incorrect with complex control flows. Output is correct when if/else statements are disabled. (Monkey Island 2, global script 22)

However, since these weren't introduced in the GSoC update (and have probably been around for many years), I don't know if they should be mentioned. First issue should be easy to fix, just copy the escape sequence handling from the v6+ part of descumm. The second part would probably need to implement some control flow graph analysis (could try and copy code from the GSoC generic bytecode decompilers, if it's useable). --Jestar jokin 13:30, 23 February 2010 (UTC)