Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Researching of a .dat archive with a .mnf file.

The Original Forum. Game archives, full of resources. How to open them? Get help here.
TERAB1T
n00b
Posts: 13
Joined: Mon May 28, 2012 12:40 am
Has thanked: 1 time
Been thanked: 5 times

Researching of a .dat archive with a .mnf file.

Post by TERAB1T »

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.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Researching of a .dat archive with a .mnf file.

Post by chrrox »

what game is it?
TERAB1T
n00b
Posts: 13
Joined: Mon May 28, 2012 12:40 am
Has thanked: 1 time
Been thanked: 5 times

Re: Researching of a .dat archive with a .mnf file.

Post by TERAB1T »

chrrox wrote:what game is it?
The Elder Scrolls Online.
twisted
veteran
Posts: 100
Joined: Mon Apr 23, 2007 11:25 pm
Has thanked: 2 times
Been thanked: 7 times

Re: Researching of a .dat archive with a .mnf file.

Post by twisted »

could you pm me the launcher?
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

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.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Researching of a .dat archive with a .mnf file.

Post by Ekey »

Well trying make unpacker.

Code: Select all

[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: Select all

[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: Select all

[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? :)
You do not have the required permissions to view the files attached to this post.
Last edited by Ekey on Wed Jul 17, 2013 8:27 am, edited 3 times in total.
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

thanks for file number hint - I was blind :-)
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.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Researching of a .dat archive with a .mnf file.

Post by Ekey »

Currently I'm interested in file names.
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

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 :(
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Researching of a .dat archive with a .mnf file.

Post by Ekey »

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
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

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? :/
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Researching of a .dat archive with a .mnf file.

Post by Ekey »

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: Select all

0x4 - szUnknown01
btw : 3 ZOSFT ->

Code: Select all

/filetable.dat
/animsfiletable.dat
/internalfiletable.dat
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

I had a tough day :| so could you explain this? :-)
btw : 3 ZOSFT ->

Code: Select all

/filetable.dat
/animsfiletable.dat
/internalfiletable.dat
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Researching of a .dat archive with a .mnf file.

Post by Ekey »

Lord Vaako wrote:I had a tough day :| so could you explain this? :-)
btw : 3 ZOSFT ->

Code: Select all

/filetable.dat
/animsfiletable.dat
/internalfiletable.dat
nvm
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Researching of a .dat archive with a .mnf file.

Post by Lord Vaako »

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
Post Reply