Page 1 of 1

Treasure Island game (2005) - DAT archives

Posted: Thu Jan 26, 2023 6:54 pm
by Kailyz
I made this post a month ago but left it due to work making it go to the shadows and still got no solution so im reposting it.
I have tried anything i could to get the animations of the characters that appear in this game with no avail and tried to get help in discord servers and failed,if someone could somehow find these for me i will be deeply thankful. Thanks in advance!

Here's a link to the game,the page and the game itself is in Russian so i recommend using a translator,most of the files are in english. <link removed by moderator>
To be more clear,i have already attempted to unpack some files with Dragon Unpacker and i only got assets (TGA and BMP) that have no animation in game,all the chapters and common in the DATA folder. I have zero idea on where the animations are located. The script.dat file does contain the name of them,probably sprite sheets,but i could not find anything more than that.

Re: Treasure Island game (2005) - DAT archives

Posted: Thu Jan 26, 2023 10:30 pm
by ikskoks
So I've checked DAT archives from "DATA" folder in "Treasure Island" game.
screenshot000309.png

It seems like it is a custom archive format with encrypted index.
The data itself is not encrypted, that's why you can rip for example some WAV files from "Sound.dat"
using Dragon Unpacker or any other ripper from this article http://wiki.xentax.com/index.php/Extraction_tools


But if you would like to know where are the animations, it would require some reverse engineering,
e.g. using debugger to find out which function is responsible for decrypting
More info here viewtopic.php?f=29&t=22266
My guess is that they are stored in "ChapterX.dat" or in "Common.dat" :)


EDIT: all archives share the same signature "D0 34 90 DF", so this may be XOR.

Re: Treasure Island game (2005) - DAT archives

Posted: Fri Jan 27, 2023 9:42 am
by Kailyz
Thank you so much! do you know what can i do from there? i sadly have no idea about XOR files and my experience on reverse engineering is very little,is it similar to ZIP files?

Re: Treasure Island game (2005) - DAT archives

Posted: Fri Jan 27, 2023 7:14 pm
by ikskoks
what can i do from there?
You have 2 options here:
1. Learn more about reverse engineering (for example from the tutorials I've linked in the previous post)
and then try to break the encryption yourself
2. Wait until someone solve the issue for you and share some script or program capable of extracting the data you want
is it similar to ZIP files?
No, it seems to be custom.

Re: Treasure Island game (2005) - DAT archives

Posted: Fri Jan 27, 2023 7:46 pm
by Kailyz
I sadly don't have enough time in my hands for now to learn so i'll have to wait for someone to give me a hand,but thank you! :keke:

Re: Treasure Island game (2005) - DAT archives

Posted: Tue Jan 31, 2023 7:31 am
by Kailyz
I sadly think i'll get no one to help,do you by any chance know anyone who could provide me a script or similar? i been with this for months now and im really getting frustrated :(

Re: Treasure Island game (2005) - DAT archives

Posted: Tue Jan 31, 2023 9:13 pm
by Ekey
Header and entry table is encrypted by modified RC4 :)

Anyway here tool and code
https://github.com/Ekey/TI.DAT.Tool

Re: Treasure Island game (2005) - DAT archives

Posted: Tue Feb 07, 2023 7:26 pm
by Kailyz
Thank you so much!!! it means a bunch,now i sadly need to find a way to see the files,they are bta and seem to be very rare,could it also be encrypted?

Re: Treasure Island game (2005) - DAT archives

Posted: Tue Feb 21, 2023 12:09 am
by Ekey
Kailyz wrote: Tue Feb 07, 2023 7:26 pm Thank you so much!!! it means a bunch,now i sadly need to find a way to see the files,they are bta and seem to be very rare,could it also be encrypted?
I don't know about the content, but the files inside the archives are not encrypted or compressed.

Re: Treasure Island game (2005) - DAT archives

Posted: Tue Feb 21, 2023 7:11 pm
by Kailyz
Yeah i searched and i could not find anything on this file type,it seems to be exclusive from the game engine it was made on,is there anything i can do from here to try to see the image,like see if it has bmp or tga code inside? or is it impossible?