Author Topic: Are the *.scr patches considered and used when decompiling with SCI Companion?  (Read 1257 times)

0 Members and 1 Guest are viewing this topic.

Offline miracle.flame

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.



Offline doomlazer

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.

Offline miracle.flame

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.

Offline doomlazer

You're right to question me. I honestly don't know one way or the other, plus I'm forgetful which doesn't help.
« Last Edit: June 28, 2024, 04:01:30 PM by doomlazer »

Offline miracle.flame

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.  :)


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.02 seconds with 23 queries.