DISQUS

CuppaDev: SCUMM in JavaScript

  • bonder · 1 year ago
    I get this error when I try to run in FF 3:

    JSTest.hx:38: Preloading resources
    JSByteIO.hx:390: XMLHttpRequest: Loaded 487 bytes
    JSByteIO.hx:390: XMLHttpRequest: Loaded 60549 bytes
    JSTest.hx:42: Resources loaded
    JSTest.hx:46: Engine init
    SCUMM.hx:505: boot state
    SPUTMResource.hx:312: Loading resource 1 from file 1, room 2 (SCRIPT)
    SCUMM.hx:507: Started
    SCUMM6.hx:1258: ARRAY = ""
    SCUMM6.hx:1258: ARRAY = "ScummC Paused !"
    SCUMM6.hx:1258: ARRAY = "Are you sure you want to quit ? (Y/N)Y"
    SCUMM6.hx:1258: ARRAY = "Are you sure you want to restart ? (Y/N)Y"
    SCUMM6.hx:1258: ARRAY = "Save it"
    SCUMM6.hx:1258: ARRAY = "Load it"
    SCUMM6.hx:1258: ARRAY = "Continue"
    SCUMM6.hx:1258: ARRAY = "Cancel"
    SCUMM6.hx:1258: ARRAY = "Quit"
    SCUMM6.hx:1258: ARRAY = "Ok"
    SCUMM6.hx:1258: ARRAY = "Saveing '%s'"
    SCUMM6.hx:1258: ARRAY = "Loading '%s'"
    SCUMM6.hx:1258: ARRAY = "ScummC test Menu"
    SCUMM6.hx:1258: ARRAY = "Save game"
    SCUMM6.hx:1258: ARRAY = "Load game"
    SCUMM6.hx:1258: ARRAY = "Game NOT saved"
    SCUMM6.hx:1258: ARRAY = "Game NOT loaded"
    SCUMM6.hx:1258: ARRAY = "Insert disk %c"
    SCUMM6.hx:1258: ARRAY = "You must enter a name"
    SCUMM6.hx:1258: ARRAY = "Insert your save disk"
    SCUMM6.hx:1258: ARRAY = "Failed to open %s (%c%d)"
    SCUMM6.hx:1258: ARRAY = "Read error on disk %c (%c%d)"
    SCUMM6.hx:788: 103, 645
    SPUTMResource.hx:312: Loading resource 2 from file 1, room 2 (ROOM)
    SPUTMRoom.hx:180: RMIM == RMIM
    SPUTMImage.hx:122: smap size == 8
    SPUTM.hx:1157: Internal exception, aborting! (state=SPUTM_RUNNING)
    SPUTM.hx:1158: ReferenceError: console is not defined
  • James Urquhart · 1 year ago
    Really? Hmm.... I think you may need Firebug installed. Yes, that is probably it.

    I've modified the script so the haXe trace isn't called. This should solve your problem.

    Let me know if you encounter any other issues.
  • G. Uybrush · 7 months ago
    Where did it go? It doesn't work (FF3), and it's gone from github.
  • James Urquhart · 7 months ago
    Hi there,

    I moved it into the closet as i more or less stopped working on it. The reason being, it really liked to break for no apparent reason in a lot of browsers (e.g. FF3). Also, the novelty wore off. Still, could be useful if you want to implement a script interpreter for green threading. :)

    See:

    http://github.com/jamesu/closet/tree/master/his...
  • hm2k · 6 months ago
    This is neat. A javascript scumm engine would be amazing.

    I noticed the links on this page have somewhat expired.

    I wonder if javascript could be fast enough?

    Otherwise it might be a flash scumm engine instead.

    Check this out: http://sarien.net/