ProjectorRays: "Recompile All Scripts" causes DCR games to break

First of all, I want to say a huge thank you. Decompiling old favourite Shockwave games has been a dream for a long time.

I am having a some strange issues if I decompile DCR games. For example, if I decompile the game, open it in Adobe Directory and instantly run it, then everything mostly works. However, if I decompile the game, open it in Adobe Directory and instantly go to Control -> Recompile All Scripts (Shift+F8), then one of the following happens:

  • the game stops working as expected; For example in Alias Runner, the car loses its shadow and becomes undriveable.

  • unexpected compilation errors occur. For example in Supersonic RC the following errors come up: Script error: Expected TO. the actorlist.?append(me) After manually fixing these by applying parentheses ((the actorlist).append(me), assuming that’s correct…?), it compiles, but the game itself is not working pretty much at all.

I have worked with Directory 8.5 games, unfortunately I’m not sure if it is specific to them.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

ProjectorRays doesn’t support dumping assets yet, but I’d like to add it.

For now, the best solution is nosamu’s Cast Ripper, which you can find instructions for here: https://vinizinho.neocities.org/projects/shockwave-rip.html It requires Director MX 2004 or later, unfortunately, but in most cases opening an 8.5 movie in MX 2004 should work without error.

@PlayFriik Maybe you want to have a look at my branch juanmv94:master Supersonic RC works fine after recompiling all scripts. Now it’s getting hard to find more possible decompilation issues.

Dude, thank you so much ❤️ It actually works perfectly now! 🙏 (there is a UV lightmapping if statement that I have had to remove, but I’m not sure if that could be caused by decompiling logic)

@PlayFriik Maybe you want to have a look at my branch juanmv94:master Supersonic RC works fine after recompiling all scripts. Now it’s getting hard to find more possible decompilation issues.