XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Oct 22, 2017 4:25 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Researching of a .dat archive with a .mnf file.
PostPosted: Sun Jun 09, 2013 2:18 pm 
Offline
n00b

Joined: Mon May 28, 2012 12:40 am
Posts: 13
Has thanked: 1 time
Have thanks: 5 times














You can make the ads go away by registering

I have an archive file (game0000.dat), that comes with some .mnf file (game.mnf). The files in .dat are simly following each other without any separator and can be unpacked without problems. They are compressed with zlib, so it's not a problem to get them. But I want to know their names and folders structure. So I'm sure, that .mnf file can help me with that. I think, that game.mnf is sort of a table with filenames, structures and maybe offsets for game0000.dat, but I can't open it and need your help with researching. I've uploaded the files here.


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Sun Jun 09, 2013 2:19 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2433
Has thanked: 56 times
Have thanks: 1185 times
what game is it?


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Sun Jun 09, 2013 2:22 pm 
Offline
n00b

Joined: Mon May 28, 2012 12:40 am
Posts: 13
Has thanked: 1 time
Have thanks: 5 times
chrrox wrote:
what game is it?

The Elder Scrolls Online.


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Sun Jun 09, 2013 3:39 pm 
Offline
veteran

Joined: Mon Apr 23, 2007 11:25 pm
Posts: 99
Has thanked: 2 times
Have thanks: 7 times
could you pm me the launcher?


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Mon Jul 15, 2013 9:01 pm 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
what's the status of your research? :-)

I did some research myself and so far I've found offsets, sizes of packed and sizes of unpacked data blocks inside game0000.dat but still can't find filenames & directory structure :( I suppose it should be something like EsoUI/Art/Achievements/achievements_points_legendary.dds

I also did some research on other dat/mnf files. They are a bit different/more complex, ie. another compression, more data0xxxx parts, etc. This time I've found sizes and offsets but no file parts ;/


Last edited by Lord Vaako on Tue Jul 16, 2013 9:32 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Tue Jul 16, 2013 11:40 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1593
Has thanked: 59 times
Have thanks: 748 times
Well trying make unpacker.

Code:
[MNF] - have 3 compressed blocks
0x4 - szID (always MES2)
0x15 - unknown
0x4 - szFilesCount (endian BIG)
0x4 - szFilesCount (endian BIG)

0x4 - szBlockSize (endian BIG)
0x4 - szBlockZSize (endian BIG)
     [........Block........]

0x4 - szBlockSize (endian BIG)
0x4 - szBlockZSize (endian BIG)
     [........Block........]

0x4 - szBlockSize (endian BIG)
0x4 - szBlockZSize (endian BIG)
     [........Block........]


Blocks 1-2 unknown tables

Code:
[Block 3] - Endian Little

0x4 - szFileSize
0x4 - szFileZSize
0x4 - szUnknown01
0x4 - szOffset
0x1 - szComType(0 - Not Compressed, 1 - Zlib, 2 - Snappy)
0x1 - szArchiveNum
0x2 - szUnknown02


Image

I can not understand what's going on after func : sub_007522A0 (see attach) .. Seems func for generate sum (hash?) for file names. Passing 3 times with different paths: Example

Code:
[1]
EsoUI/PregameLocalization/LocalizePregameGeneratedStrings.lua

[2]
esoui/pregamelocalization/localizepregamegeneratedstrings.lua

[3]
/esoui/pregamelocalization/localizepregamegeneratedstrings.lua


I did a test project for gen sums, but output sums not found in the three tables.. Who will help deal? :)


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by Ekey on Wed Jul 17, 2013 8:27 am, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Tue Jul 16, 2013 8:01 pm 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
thanks for file number hint - I was blind :-)
Quote:
0x1 - szFlag (0 - Not Compressed, 1 - Compressed, 2 - Unknown (Compressed and Encrypted maybe))

I haven't tested it yet but imo 2 = compressed by snappy - https://code.google.com/p/snappy/
I'm sure they use it becouse by using brute force attempt I was able to unpack a lot of files - textures, etc. (i.e. I've found over 400 ingame maps). It's also listed inside thirdparty.rtf file :twisted:

eso.mnf has extra data after 3rd zlibed block - do you know what's hidden there? :-)


Last edited by Lord Vaako on Tue Jul 16, 2013 9:35 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Tue Jul 16, 2013 9:33 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1593
Has thanked: 59 times
Have thanks: 748 times
Currently I'm interested in file names.


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Tue Jul 16, 2013 11:59 pm 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
I think that I have found "something" :)
it's hidden inside files with ZOSFT header
inside that file you will find few zlib compressed blocks and then block of null-separated strings, i.e.

/esoui/app/app.txt
/esoui/app/loadingscreen/loadingscreen.lua
/esoui/app/loadingscreen/loadingscreen.xml
/esoui/art/achievements/achievements_points_05.dds
/esoui/art/achievements/achievements_points_10.dds
/esoui/art/achievements/achievements_points_15.dds
/esoui/art/achievements/achievements_points_50.dds
/esoui/art/achievements/achievements_points_legendary.dds
/esoui/art/actionbar/ability_keybindbg.dds
/esoui/art/actionbar/ability_ultimate_framedecobg.dds
...

how to link data from this file to mnf file is my next question/task ... but tomorrow ;-)

hmm, there are more files then filenames :(


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 7:50 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1593
Has thanked: 59 times
Have thanks: 748 times
Hm i found only 1 ZOSFT in game0000.dat, in esoXXXX.dat not found also game0000.dat have only 2599 files, ZOSFT contain only 1574 records


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 8:38 am 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
same problem - not enough records :(
I've found another ZOSFT file inside eso0002, offset 1394821 (my eso0002 size is 38006249)

5657125,2755862,2041805319,1394821,1,2,0

but it has 50k records only and there are 200k+ files :/

but maybe files without names are just obsolete junk? :) it's beta but so many? :/


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 12:42 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1593
Has thanked: 59 times
Have thanks: 748 times
Lord Vaako wrote:
same problem - not enough records :(
I've found another ZOSFT file inside eso0002, offset 1394821 (my eso0002 size is 38006249)

5657125,2755862,2041805319,1394821,1,2,0

but it has 50k records only and there are 200k+ files :/

but maybe files without names are just obsolete junk? :) it's beta but so many? :/


60k... Anyway need to find out for what used sums after Size and ZSize
Code:
0x4 - szUnknown01


btw : 3 ZOSFT ->

Code:
/filetable.dat
/animsfiletable.dat
/internalfiletable.dat


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 6:29 pm 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
I had a tough day :| so could you explain this? :-)

Quote:
btw : 3 ZOSFT ->

Code:
/filetable.dat
/animsfiletable.dat
/internalfiletable.dat


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 6:53 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1593
Has thanked: 59 times
Have thanks: 748 times
Lord Vaako wrote:
I had a tough day :| so could you explain this? :-)

Quote:
btw : 3 ZOSFT ->

Code:
/filetable.dat
/animsfiletable.dat
/internalfiletable.dat

nvm


Top
 Profile  
 
 Post subject: Re: Researching of a .dat archive with a .mnf file.
PostPosted: Wed Jul 17, 2013 9:22 pm 
Offline
beginner

Joined: Sun Jul 14, 2013 10:28 pm
Posts: 37
Has thanked: 6 times
Have thanks: 14 times
I'm still trying to "link" mnf data and zosft data, so far no luck :/

i.e.

ZOSFT DATA: 04 00 00 00 69 00 00 00 E3 7E 19 4F 8E 72 19 6B
ZOSFT TEXT: /esoui/art/achievements/achievements_points_05.dds

MNF: 32896,6363,BBC31573,3310,1,0,0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: etrius23 and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group