I guess it automatically decompiles to Sierra Script now, which is cool. It'd be nice to have an option, but whatever not a big deal, and I know you can cross-convert between languages.
Game->PRoperties->Script Language. Set this before decompiling. It defaults to Sierra syntax for Sierra games (which don't have any game.ini settings file by default)
Anyway, I attempted to make changes again to the same room script (750) but it still pops up errors for not recognizing global variables. The names are correct, and they exist, but it doesn't recognize them. So I figured I have to compile the Main script first.
I just tried this with KQ6-CD and didn't have any issues. Both script 750 and Main compiled fine.
Can you post your Main.sc?
A few notes:
- you'll need to decompile everything several times (I did it three times, but twice might be enough), because the decompiler keeps picking up better variable names for globals based on their usage. For example, if no yet-decompiled script has used global75 in a descriptive way yet, and then we decompile a script that does, we give it a name. Then, Main (and anyone else who uses global75) needs to be re-decompiled. I know it's not ideal... I should have some button that does "Decompile until there are no more changes to global var and proc names".
- Decompiling generates .sco files. That should be all that's required to have other scripts reference global variables correctly... i.e. you shouldn't need to recompile Main in order to be able to compile script 750.
Also, the script browsing info stuff (goto definition, etc) isn't working again. Was that taken out again? I thought it was reimplemented. Sorry, I haven't used this in a while.
Is "Enable browse info" checked in Tools->Preferences?
(Note if you're making patches for games, you'll probably want to uncheck "Compile modified scripts before run", since that can cause scripts other than the ones you're explicitly compiling to be compiled... a problem if there are any errors in the decompiled code).