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

Test Drive Unlimited 2 [2011/BNK]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
besweeet
n00b
Posts: 19
Joined: Sun Feb 13, 2011 9:10 pm

Re: Test Drive Unlimited 2 [2011/BNK]

Post by besweeet »

So what's the recommended program for opening models from TDU2, playing with them, and exporting them?
qwerty
advanced
Posts: 54
Joined: Tue Mar 30, 2010 11:00 pm
Been thanked: 2 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by qwerty »

found, that some files, extracted from big+map are encrypted. their headers usually are

Code: Select all

66 6F B2 7B 49 68 41 70
or
63 6F B5 51 81 22 42 12
they can be decrypted by aluigi's tdudec, that was written for tdu1.
this files contains some game physics values and all localized strings, so getting this files are starting point for fan localization.
also .cpr files from game folder can be decrypted.
here is list of encrypted files, that i found in bigfile_RU_1

Code: Select all

03C13A9CD9967E73.bin - xml
2231E58A30911186.bin - xml
8498C869158D60FE.bin - xmb with all english strings
8498C869158D67F8.bin - xmb with all russian strings in utf-8 encoding
D6A460BCA2172216.bin - xmb
DABB2E4779AD93B4.bin - xml
DEF763019D59FAF9.bin - xml
F08BB2F77E4524F7.bin - xml with vehicle braking physics?
ps: for example:

Code: Select all

tdudec.exe d 8498C869158D60FE.bin 8498C869158D60FE.xmb 1
Knyazev
advanced
Posts: 40
Joined: Sun Feb 20, 2011 1:24 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Knyazev »

vagos21

It isn't run a your Max Script (import tdu2 mesh). I run it (Max Script -> Run Script...) , and occurs nothing (
Maybe I something not so do?

I use two versions of 3ds Max: 2009 and 2010.
warheadx2
ultra-n00b
Posts: 1
Joined: Sun Feb 20, 2011 7:54 pm

Re: Test Drive Unlimited 2 [2011/BNK]

Post by warheadx2 »

Hi, can someone tell me what i'm doing wrong with these .bin files ?
I tried extracting them using the script on page 5, but i always get this :

Image

It's like it never finds anything worth extracting. I use Win7, also used quickbms.exe with admin rights.
Tried to extract file by file, same result.

Can someone help please ?

LATE EDIT : Np, it works now, i was trying to unpack an updated version of TDU2. I reinstalled the game, and didn't patch and it works. Thanks.
Last edited by warheadx2 on Sun Feb 20, 2011 8:52 pm, edited 2 times in total.
SandroX
beginner
Posts: 34
Joined: Mon Apr 19, 2010 8:43 pm
Location: Ukraine
Has thanked: 29 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by SandroX »

Knyazev wrote:vagos21

It isn't run a your Max Script (import tdu2 mesh). I run it (Max Script -> Run Script...) , and occurs nothing (
Maybe I something not so do?

I use two versions of 3ds Max: 2009 and 2010.
Read this post viewtopic.php?p=49482#p49482 all here, thanks to vagos21 again :wink:
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

Knyazev wrote:I successfully unpacked archives (*.big files) of game TDU2, and also unpack *.bin files :-) [QuickBMS + 2 scripts]

Look at the image:
Image

2ds - textures (in maps folder)
3dg - 3d-models
right?

Who questions:
1. What are formats *.2dm and *.3dd?
2. What do they contain?

Sorry for my bad english.

Thanks :-)
3dg is for meshes/models
2dm is for material properties
3dd is how the model is structured. if you import the scene without the 3dd, it's a bit of mess, this places the right number of each object into the right position, sets hierarchy and stuff

there's also another bunch of file types that have yet to be discovered, i wish i could find which files tell how and where all the trees are placed - even though i might believe it's a texture not some data, but it's too early to know, i'm still fighting to import island sectors into max, it's going well so far!
Knyazev
advanced
Posts: 40
Joined: Sun Feb 20, 2011 1:24 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Knyazev »

Thank you very much :-)

My first work:
Pagani Zonda Tricolore
Image Image Image
Temporarily without textures)
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

Knyazev wrote:Thank you very much :-)

My first work:
Pagani Zonda Tricolore
Image Image Image
Temporarily without textures)
Try picking the materials and setting the textures slowly, it will begin to look really cool ;)
i'm glad the script is working for everyone! here's a little teaser from the island sectors importing progress
sector0-3-4-5.jpg
You do not have the required permissions to view the files attached to this post.
Knyazev
advanced
Posts: 40
Joined: Sun Feb 20, 2011 1:24 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Knyazev »

vagos21

Great work!
_______

And I perhaps, will suffer with textures. I didn't use 3ds Max for a long time. Has forgotten it is a little :D
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

I guess this little tool will make everyone's life easier, instead of searching in txt files i posted early in this thread for filenames contained in the big files, you can now use this little prog to locate where your files should be. Only prerequisite (vs2008 vb.net) is .net framework 2 or something like that.

Usage is simple, you'll get the grip fast. You can even select all of the bin files extracted by a big file and do a search of those. the screenshot speaks for itself:
bin-bnk-explorer.gif
and since i can only have one attachment, the download is right in the next post :D
You do not have the required permissions to view the files attached to this post.
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

here it is! enjoy :)
TDU2 Bnk file locator.zip
You do not have the required permissions to view the files attached to this post.
qwerty
advanced
Posts: 54
Joined: Tue Mar 30, 2010 11:00 pm
Been thanked: 2 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by qwerty »

new version of big+map script. now it gives extracted file extension based on its header, so may be inaccurate sometimes.
it support .bnk, .wav, .xmb (2 types), .2db, .ige, which are 99% of all extracted files. all other are still .bin

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
  Set EXT string ".bin"
  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
  
  GetVarChr HEADER MEMORY_FILE 0 long
  Math HEADER ^= 0xD7A8E2D4
  If HEADER == 0x584D4246
    Set EXT string ".xmb"
  ElseIf HEADER == 0x49474532
    Set EXT string ".ige"
  Else
    GetVarChr HEADER MEMORY_FILE 8 long
    Math HEADER ^= 0xD7A8E2D4
    If HEADER == 0x4B4E4142
      Set EXT string ".bnk"
    ElseIf HEADER == 0x57415645
      Set EXT string ".wav"
    Else
      GetVarChr HEADER MEMORY_FILE 12 long
      Math HEADER ^= 0xD7A8E2D4
      If HEADER == 0x2E324442
        Set EXT string ".2db"
      ElseIf HEADER == 0x584D4246
        Set EXT string ".xmb2"
      EndIf
    EndIf
  EndIf
  
  String NAME p= "%08X%08X%s" HASH1 HASH2 EXT
  FileXOR "\xD7\xA8\xE2\xD4"
  Log NAME 0 FILESIZE MEMORY_FILE
  FileXOR ""
Next I
vagos21, great work! we keep this topic alive. :)
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by OrangeC »

Hey is it possible you can edit it for alone in the dark? another eden game?

topic is here.

viewtopic.php?f=21&t=6099
Knyazev
advanced
Posts: 40
Joined: Sun Feb 20, 2011 1:24 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Knyazev »

vagos21
Nice tool ;-) Thanks)

Necessary to create universal TDU2-unpacker (music/cars/locations, etc...) :-D
with GUI understandable for users :-)

good idea, isn't it?

_______________________

vagos21, Textures are imposed on 3d-model after import? or no? (using your MaxScript)
[textures, which converted from maps folder, 2ds -> dds]

Where to find these textures? (Look at the picture)
Image

Thanks :-)

_______________

qwerty

sorry, I was mistaken a script. F*ck my brain :-D

Nice script. Extract all at once in bnk's files. :-)
qwerty
advanced
Posts: 54
Joined: Tue Mar 30, 2010 11:00 pm
Been thanked: 2 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by qwerty »

Knyazev wrote:qwerty
you a new quickbms script doesn't work :-(
you should extract files from map+big with this script. you've got files with extensions instead of bin's.
i updated this script just because not all bin files are bnks.
Post Reply