The Forum is up for sale: XeNTaX Forum looking for new owner
I need you help for Nancy Drew series .dat and .cif files
-
stevenx
- veteran
- Posts: 130
- Joined: Sat Nov 01, 2008 12:02 pm
- Has thanked: 3 times
- Been thanked: 1 time
I need you help for Nancy Drew series .dat and .cif files
I want to find out the subtitles in Nancy Drew series games.
Can you take a look at the .dat and .cif files?
Thanks.
Can you take a look at the .dat and .cif files?
Thanks.
You do not have the required permissions to view the files attached to this post.
-
Vash
- mega-veteran

- Posts: 183
- Joined: Fri Apr 29, 2005 2:39 pm
- Has thanked: 5 times
- Been thanked: 26 times
Re: I need you help for Nancy Drew series .dat and .cif files
ok, I did my homeworks. I wrote an extractor for latest Nancy Drew's games (The Haunting Of Castle Malloy and Phantom Of Venice and maybe some earlier), but i have a tiny problem:
in The Haunting Of Castle Malloy the file with the dialogs is compiled in lua 5.1 but in the inside the format of the text is the SAME of Phantom Of Venice's that's not in LUA so there are two options:
-decompile the lua
-change some instruction in the exe taking those from phantom of venice
but i can't do anyone of that...could some one help out?
(first 0x30 bytes are just the header of each Nancy Drew's file, nothing to do with lua)
in The Haunting Of Castle Malloy the file with the dialogs is compiled in lua 5.1 but in the inside the format of the text is the SAME of Phantom Of Venice's that's not in LUA so there are two options:
-decompile the lua
-change some instruction in the exe taking those from phantom of venice
but i can't do anyone of that...could some one help out?
(first 0x30 bytes are just the header of each Nancy Drew's file, nothing to do with lua)
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 661 times
- Contact:
Re: I need you help for Nancy Drew series .dat and .cif files
the compression used in "Legend of the Crystal Skull" and probably other titles is the classical LZSS with the input bytes less a counter:
compression:
- compress with LZSS
- for(i = 0; i < out_size; i++) out += i;
decompression:
- for(i = 0; i < in_size; i++) in -= i;
- decompress with LZSS
compression:
- compress with LZSS
- for(i = 0; i < out_size; i++) out += i;
decompression:
- for(i = 0; i < in_size; i++) in -= i;
- decompress with LZSS
-
Vash
- mega-veteran

- Posts: 183
- Joined: Fri Apr 29, 2005 2:39 pm
- Has thanked: 5 times
- Been thanked: 26 times
Re: I need you help for Nancy Drew series .dat and .cif files
i made the Translation Tollset for Phantom Of Venice and Castle Malloy, if anyone is interestedin translating it, he could contact me by PM and i'll pass you the text and image files with a little documentation. I won't pass the tools because they're not very user friendly and i'm not interested in doing that 
-
stevenx
- veteran
- Posts: 130
- Joined: Sat Nov 01, 2008 12:02 pm
- Has thanked: 3 times
- Been thanked: 1 time
Re: I need you help for Nancy Drew series .dat and .cif files
to Vash:Vash wrote:i made the Translation Tollset for Phantom Of Venice and Castle Malloy, if anyone is interestedin translating it, he could contact me by PM and i'll pass you the text and image files with a little documentation. I won't pass the tools because they're not very user friendly and i'm not interested in doing that
I want to know some detail about you tools.
Is this tools a single byte to single byte Translation Tollset ?
I want to Translation from english to chinese. Is it posibble?
It seems save the text in 2 bytes?
And you have cracked the compiled lua files?
to Beutest:
Want to konw more about lzss for this game.
You means :
1-->get the 30bytes file head
2-->use lzss to decompress the rest bytes?
Can you release a tool use this way as extractor for dancy series?
-
Vash
- mega-veteran

- Posts: 183
- Joined: Fri Apr 29, 2005 2:39 pm
- Has thanked: 5 times
- Been thanked: 26 times
Re: I need you help for Nancy Drew series .dat and .cif files
I think that a chinese translation coul be possible, but you'll need to hack the fonts i guess
i have "cracked" the compiled lua files, yes..somehow
i cracked just the one that contains the text, didn't decompiled it.
i can answer for bugtest too:
the lzss compression is applied to each file in the archive, but the filename table isn't the same of the newest game and the archives also contain a 0x800 byte very strange header (after the 0x30 byte header) that i can't understand, so maybe an extractor could be possible but a reinserter is not for the moment
i can answer for bugtest too:
the lzss compression is applied to each file in the archive, but the filename table isn't the same of the newest game and the archives also contain a 0x800 byte very strange header (after the 0x30 byte header) that i can't understand, so maybe an extractor could be possible but a reinserter is not for the moment
-
stevenx
- veteran
- Posts: 130
- Joined: Sat Nov 01, 2008 12:02 pm
- Has thanked: 3 times
- Been thanked: 1 time
Re: I need you help for Nancy Drew series .dat and .cif files
I really need your help.Vash wrote:I think that a chinese translation coul be possible, but you'll need to hack the fonts i guessi have "cracked" the compiled lua files, yes..somehow
i cracked just the one that contains the text, didn't decompiled it.
i can answer for bugtest too:
the lzss compression is applied to each file in the archive, but the filename table isn't the same of the newest game and the archives also contain a 0x800 byte very strange header (after the 0x30 byte header) that i can't understand, so maybe an extractor could be possible but a reinserter is not for the moment
can you post a detail Format description?
Head1 Begin
?? 0x30Bytes '' filename table ?
Head1 End
Head2 Begin
?? 0x800Bytes '' filename table ?
Head2 End
For Each File
?? ??Bytes ''classical LZSS compressed data
Can you post or mail your tools and source to me?
I want to continue the research,thanks!
my mail: so750515@yahoo.co.jp
- asmxtx
- veteran
- Posts: 127
- Joined: Sun Jun 08, 2008 10:32 pm
- Location: Developers Country
- Has thanked: 1 time
- Been thanked: 30 times
Re: I need you help for Nancy Drew series .dat and .cif files
I have written an unpacker for "Nancy Drews". It is in BETA-Status and extracts "TREE"-files only.
I will release a complete version within the next days. Stay tuned.
I will release a complete version within the next days. Stay tuned.
You do not have the required permissions to view the files attached to this post.
-
stevenx
- veteran
- Posts: 130
- Joined: Sat Nov 01, 2008 12:02 pm
- Has thanked: 3 times
- Been thanked: 1 time
Re: I need you help for Nancy Drew series .dat and .cif files
Wow!Very thanks!asmxtx wrote:I have written an unpacker for "Nancy Drews". It is in BETA-Status and extracts "TREE"-files only.
I will release a complete version within the next days. Stay tuned.
-
Rheini
- Moderator
- Posts: 652
- Joined: Wed Oct 18, 2006 9:48 pm
- Location: Germany
- Has thanked: 19 times
- Been thanked: 46 times
- Contact:
Re: I need you help for Nancy Drew series .dat and .cif files
Well, no decompiler, but at least recently a Lua 5.1 disassembler has come up: http://luaforge.net/projects/chunkspy/Vash wrote:the file with the dialogs is compiled in lua 5.1 [...] so there are two options:
-decompile the lua
EDIT: It's written in Lua, another disassembler available as an exe is located here: http://modtools.petrolution.net/tools/Lua
Your Autotext.cif file gives the following results, pretty nicely commented
You do not have the required permissions to view the files attached to this post.
