entropia / tip-toi-reveng

Trying to understand the file format of Tip Toi
http://tttool.entropia.de/
MIT License
655 stars 122 forks source link

Suchen_und_Entdecken-Meine_Welt not completely exported #280

Closed heili77 closed 1 year ago

heili77 commented 1 year ago

Hi there,

I am new to using the tttool. I tried to adapt the Book Suchen_und_Entdecken-Meine_Welt. In this book one can search for elements in a picture. The audio is adapted if I tap on the elements to search and on the corresponding element in the picture. If right, there is a success message in the audio.

Unfortunately the code for this is not contained in the export, so I cannot adapt the book experience.

I see the preparations for this and the information seems to be stored in $3.

...
Script for OID 8271:
    $1==1? P(434) $3:=8271 P(435)
Script for OID 8272:
    $1==1? P(436) $3:=8272 P(437)
Script for OID 8273:
    $1==1? P(438) $3:=8273 P(439)
...

$3 is never used in my export. The tttool found some holes in the file.

Unknown file segments: 8 (1668 bytes total)
   Offset: 000000D0 to 00000200 (304 bytes)
   Offset: 000041AE to 00004612 (1124 bytes)
   Offset: 00D90A26 to 00D90A52 (44 bytes)
   Offset: 00D934E2 to 00D9350A (40 bytes)
   Offset: 00D95662 to 00D9568A (40 bytes)
   Offset: 00D98116 to 00D9813E (40 bytes)
   Offset: 00D9A292 to 00D9A2BA (40 bytes)
   Offset: 00D9CD4E to 00D9CD72 (36 bytes)

$1 seems to avoid interruptions while an audio is playing, but the code for that is also missing in the export.

It seems that the media command also does not export the success message audio files. Have not found one jet, but there are 563 Elements in the media folder.

It seems that there are features in the file that are not recognized by the tttool or I am using the tool not right.

Is this a known issue?

nomeata commented 1 year ago

It is a known problem that “binaries” (pieces of logic written in machine code) are not understood, and not exported in a way that can be modified. Does this file have binaries?

But they wouldn't be holes. 40 bytes sound like padding, not sure if the 1124 bytes may be a clue…

heili77 commented 1 year ago

@nomeata I just have the gme file from the pen. It's a pity that this is not fully editable. Thank you for the explanation.

heili77 commented 1 year ago

Can I edit the existing gme files or just create a new ones?

nomeata commented 1 year ago

you can edit existing GME files, but not always without losing some functionality, unfortunately.