[Scummvm-tracker] [ScummVM :: Bugs] #14553: GOB: Adibou 1 German 4-5 years (ADI Junior 4-5 Jahre) learning programs not selectable

ScummVM :: Bugs trac at scummvm.org
Thu Feb 13 16:42:38 UTC 2025


#14553: GOB: Adibou 1 German 4-5 years (ADI Junior 4-5 Jahre) learning programs not
selectable
---------------------+--------------------------
Reporter:  indy4fan  |       Owner:  BJNFNE
    Type:  defect    |      Status:  new
Priority:  low       |   Component:  Engine: Gob
 Version:            |  Resolution:
Keywords:            |        Game:
---------------------+--------------------------
Comment (by BJNFNE):

 The scripts (L51INTRO.TOT/C51INTRO.TOT) check if five.all is available if
 yes activate the German language, If five.fra is found activate the French
 language, Its located in the sub_128() and checked for the files is called
 over o2_checkData


 [00000162]:     o2_checkData "five.all" langaugeFiles
 [00000177]:     if ((langaugeFiles > 0)) {
 [00000189]:         isGerman = 1
 [00000195]:     }
 [00000197]:     o2_checkData "five.fra" langaugeFiles
 [00000212]:     if ((langaugeFiles > 0)) {
 [00000224]:         isGerman = 0
 [00000230]:     }
 (Output comes from boozook's decompiler (decomp_tot))

 and this for comparsion from degob:

 00000162:       o1_checkData("five.all", var32_248);
 00000177:       if (var32_248>0) {
 00000189:               var32_6516 = 1;
 00000195:       }
 00000197:       o1_checkData("five.fra", var32_248);
 00000212:       if (var32_248>0) {
 00000224:               var32_6516 = 0;
 00000230:       }

 So if is the variable after the o1/o2_checkData opcode is set to 1 the
 German language is used.

 Also if the File do not exist in the Folder it fallback to French.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14553#comment:13>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list