Page 3 of 43

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 12:03 am
by vagos21
ok the only new thing in the files you posted are sound files (.wav) so the extractor will be able to take out all this data and if there's someone who can bring out more bnks from big files it will be nice so i can make a complete extractor with the correct file names and types :D

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 12:40 am
by qwerty
vagos21 wrote:ok the only new thing in the files you posted are sound files (.wav) so the extractor will be able to take out all this data and if there's someone who can bring out more bnks from big files it will be nice so i can make a complete extractor with the correct file names and types :D
bnks with hashes instead of names is ok?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 9:05 am
by toolieo
vagos21 wrote:ok the only new thing in the files you posted are sound files (.wav) so the extractor will be able to take out all this data and if there's someone who can bring out more bnks from big files it will be nice so i can make a complete extractor with the correct file names and types :D
File names like this: "612_sessanta.bnk"

Or the path name like this: "C:\Program Files (x86)\Atari\TDU2\Euro\Bnk\Vehicules\High"

I am to believe its exactly like the path I just posted. Reason? TDU2 has a "Euro" folder just like TDU1, tdu2 is reading the videos and shaders from this "euro" folder within its main directory. Makes me believe this game can be extracted from the .big and run with a type of "Loose" option, something like NFS Shift modding. You can extract Shift files and run the game with "-loose" on the end of the shortcut.

Which would also explain why Atari doesn't let you run TDU2 from the main .exe and requires the TDU2 Launcher.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 10:52 am
by vagos21
qwerty wrote:
vagos21 wrote:ok the only new thing in the files you posted are sound files (.wav) so the extractor will be able to take out all this data and if there's someone who can bring out more bnks from big files it will be nice so i can make a complete extractor with the correct file names and types :D
bnks with hashes instead of names is ok?

i wouldn't mind if it's hashes instead of names, it's the content we're interested in anyway, would be just harder to find. there's probably a db with all the names too, maybe it's in the exe itself. but the point is what's inside the bnk files. i don't see anything looking like a normal bnk file in the .big file, it's all encrypted. there's no 3DG, 3DD and stuff. if you extract them the way you say will they come back to normal too?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 2:27 pm
by qwerty
ok, here is my script to extract all contents from big+map. 99% of these files are bnks
tested on multi2 (Russian/English) version of the game, with quickbms v0.4.8a

Code: Select all

IDString "XMBF"
Open FDDE big 1
Endian big
GetDString DUMMY 12
Get OFFS long
GoTo OFFS
Get DUMMY long
Get NUMHASHES long
Get HASHOFFSET long
Math HASHOFFSET += OFFS
Get NUMFILEREC long
Get FILERECOFFSET long
Math FILERECOFFSET += OFFS
If NUMHASHES != NUMFILEREC
  CleanExit
EndIf
For I = 0 < NUMHASHES
  GoTo HASHOFFSET
  Get HASH1 long
  Get HASH2 long
  String NAME p= "%08X%08X.bin" HASH1 HASH2
  SavePos HASHOFFSET
  GoTo FILERECOFFSET
  Get FILESIZE long
  Get DUMMY long # compression?
  Get FILEOFFSET long
  SavePos FILERECOFFSET
  Math MEMSIZE = FILESIZE
  Math MEMSIZE x 4
  Log MEMORY_FILE FILEOFFSET MEMSIZE 1
  If MEMSIZE != FILESIZE
    Math MEMSIZE -= 4
    GetVarChr TMP MEMORY_FILE MEMSIZE long
    Math TMP ^= 0xD7A8E2D4
    PutVarChr MEMORY_FILE MEMSIZE TMP long
  EndIf
  FileXOR "\xD7\xA8\xE2\xD4"
  Log NAME 0 FILESIZE MEMORY_FILE
  FileXOR ""
Next I

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 3:48 pm
by SandroX
qwerty wrote:ok, here is my script to extract all contents from big+map. 99% of these files are bnks
tested on multi2 (Russian/English) version of the game, with quickbms v0.4.8a
And what need to do with this?

p.s. I know how quickbms use

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 3:54 pm
by Tosyk
SandroX wrote:
qwerty wrote:ok, here is my script to extract all contents from big+map. 99% of these files are bnks
tested on multi2 (Russian/English) version of the game, with quickbms v0.4.8a
And what need to do with this?

p.s. I know how quickbms use
if you know, why you asking him what to do?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 4:05 pm
by qwerty
save script to bms file, open it with quickbms, select .map file when asked the input file to extract.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 4:21 pm
by toolieo
Cheers qwerty for the BMS script.


I have to say once unpacked its just confusing as all hell, I wouldn't even know where or what to start looking at. :lol:

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 5:51 pm
by SandroX
Tosyk wrote:if you know, why you asking him what to do?
If I know how to use quickbms I must know what I need do to with this script? Ты серьезно!?


qwerty, thank you!

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 5:54 pm
by vagos21
toolieo wrote:Cheers qwerty for the BMS script.


I have to say once unpacked its just confusing as all hell, I wouldn't even know where or what to start looking at. :lol:


yep, that created one sweet big mess of files, but still it's a start. thanks for the script qwerty, good work!

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 5:56 pm
by vagos21
SandroX wrote:
Tosyk wrote:if you know, why you asking him what to do?
If I know how to use quickbms I must know what I need do to with this script? Ты серьезно!?


qwerty, thank you!

he already told you what to do...!!

"save script to bms file, open it with quickbms, select .map file when asked the input file to extract."
just make sure you have a recent quickbms version, i got a Invalid operator p but then downloaded the latest and it worked perfectly, even on win7

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 5:59 pm
by SandroX
vagos21, what a hell!? I was asking something from you?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 6:03 pm
by Kane
And any option to repack, or start the game with unpacked data?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Sun Feb 13, 2011 6:12 pm
by bigBear
SandroX wrote:vagos21, what a hell!? I was asking something from you?
Wtf are you brabbling, man?
No need to act like.
be happy he atleast made an extractor.
Most of us would very appreciate that.
And you come here to bash with "wut da hell iz waz askin u sumtin?"
Just a tip, scroll a bit above till you see qwerty his post.
Read it, read it slowly and read it very very focused.
Try to use all the braincells you have and do what he said.
It cant be so hard, right?

Maybe the Power with you, LOL


@vagos, Im impressed you already have TDU2 car in 3DS max.
You work so fast!
It seems the TDU2 vehicles are more detailed.
Would you mind to make a screenshot of a wireframe of exterior and interior?
Im kinda curious.