Users browsing this thread: 2 Guest(s)
Ripping 2D-Adventure Game - 150$ Reward
#13
I just got the version you have, and my script generate different error "unknown type 8". It seems they added some new file types. So it is updated to able to extract the newer TGR.

I also tried my .IMG script. The newer .IMG files is now completely different. Will have to figure out the newer format.

Also now I understand how to decompress the .SND files. Basically, except the first byte, everything after it is just the difference. So the data is like 87 -1 -1 -1 -1 -4 +2 -2 +1 0 0 0... , and it become 87 86 85 84 83 7f 81 7f 80 80 80 80... . It is in BIT level because it is suitable to compress audio data.

But luckily the .SND files remain the same. It will work for both version.

Decompressed .SND for Hansel and Gretel, and Tinytoons.
https://www.mediafire.com/file/5p5ucz6lt...20.7z/file
https://www.mediafire.com/file/m7ivt5pck...20.7z/file

But they are in 1 second chunks. If you merge both .IMG and .SND together, you'll noticed they are in [image, image, image, sound], [image, image, image, sound], ... chunks. It is exactly like how a video data structure looks like.

Using number of images between .SND chunks, you can even tell Hansel and Gretel is animated in 12 FPS, while TinyToons is in 6 FPS.

Interesting behind the scene stuff, right? Smile
- Rufas

P.S. if you still have problem extract .TGR file, let me see your folder setup. That 0x169e5d6ba is over 32-bit, but nothing on my code reads more than 4 bytes. Where in the world this value came from? Maybe it is reading something else entirely...
Reply
Thanked by:


Messages In This Thread
RE: Ripping 2D-Adventure Game - 150$ Reward - by rufaswan - 06-05-2023, 04:40 AM

Forum Jump: