2
« on: April 17, 2016, 03:42:06 PM »
I do translations for a lot of open source stuff, but as I'm also a big Sierra fan, I thought it would be fun to translate one of the older AGI-games. Last night I started researing tools, and the format, and with Kings Quest I AGI I used WinAGI (as QT AGI studio has errors with logic view for me in Linux) to view the Logic files. Now, one thing puzzling me is that I can't find the menus in the Amiga-version. In the IBM-version they are clearly in Logic.0, in the last part of the global messages at the bottom. In the Amiga-version the last menumessages is missing and there is also one difference in the script code.
Amiga:
if (isset(game_restarted)) {
new.room(1);
}
else {
new.room(83);
}
Ibm:
if (isset(game_restarted)) {
new.room(1);
}
else {
set.menu("Info");
set.menu.item("About KQ", c19);
set.menu.item("Help ", c18);
set.menu("File");
set.menu.item("Save Game <F5>", c1);
Ok, so they differ - I tried searching for the menu strings in all other Amiga-Logic files but none were found. I then looked with an hex-editor at the Sierra.exe (the specific Amiga-version of the interpreter) and found some other strings, but not the menu ones. Could it be the they assemblycoded the menus in the Amiga-versions for some reason - then again, I should have been able to find the strings. So, some related questions:
1) I thought that the AGI-scripts were supposed to stay the same, and that only the interpreter would differ between platforms... ok, so seems not?
2) Does anyone have a clue were the menus can be found in the Amiga-version? No fun translating without them.
3) Are there any good tools for translating AGI like there is for SCI (the TraduSCI-engine)
4) QT AGI studio seems really buggy on linux, can anyone verify they can look at the logic for KQ1 with that without getting error messages.