Community
SCI Programming => SCI Development Tools => Topic started by: miracle.flame on June 27, 2024, 02:54:05 PM
-
When testing localization of LSL5 we've stumbled upon some untranslated strings in game that would correspond to scene 200 in a limousine. SCI Companion displayed those texts as translated though as a patch file overriding unused resource. Anyway I've tried to rename 200.scr patch file and this turned out to be the culprit - texts were localized afterwards. So as a distribution of localization we have to keep in mind to remove those *.scr patches. But this suggests a question whether those patches wouldn't miss. I suppose SCI Companion takes those into consideration when decompiling scripts so the recompiled result should have the patches included but I want to be sure so I better ask.
-
In my experience patch files are ignored by SCICompanion's Compiler. Import them and delete the patch files, rebuild resources, then re-decompile if needed. Otherwise, the interpreter will always use the patch files over the scripts you're changing in SCICompanion.
-
Actually I have tried and compared decompiled files with and without scr patches in path and the results do differ.
When followed the procedure of manual import and decompilation afterwards the result did not differ from the previous with scr files in path. So I guess this experiment concludes that SCI Companion actually considers those patches during decompilation.
-
You're right to question me. I honestly don't know one way or the other, plus I'm forgetful which doesn't help.
-
It's not that I would question you a bit, I simply had no other choice than figure this out while following all the steps to successfully "update" our repository with patches. Surprisingly this turned out to be done already upon verifications - that was actually a relieve to find out and a good experience gained and shared. :)