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.
Post Reply
besweeet
n00b
Posts: 19
Joined: Sun Feb 13, 2011 9:10 pm

Re: Test Drive Unlimited 2 [2011/BNK]

Post by besweeet »

vagos21 wrote:maxscript slowly begins to work well for cars, unfortunately the vertex types are endless and i have to manually build them looking at the hex files. today i started coding all this, and the exterior of 2 cars i tested are imported correctly, all geometries from the files. for the next days i'll look into object hierarchy and materials, stay tuned!

here's a little teaser, unlike the CCRX you can see all objects imported (even though i deleted the windshield)
SLR.jpg
Nice! So all of this will eventually lead to being able to fully bring the cars into modeling programs, right?
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 »

vagos21, awesome, many thanks for your work! :up:
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

just made the script work for rims too (no, tyres are not included in the rim files unfortunately so u have to add them on your own)

here's a nice render of the zonda roadster with the rims on. UV mapping on them and the inside works :)

will try for interiors later!
zonda.jpg
You do not have the required permissions to view the files attached to this post.
besweeet
n00b
Posts: 19
Joined: Sun Feb 13, 2011 9:10 pm

Re: Test Drive Unlimited 2 [2011/BNK]

Post by besweeet »

vagos21 wrote:just made the script work for rims too (no, tyres are not included in the rim files unfortunately so u have to add them on your own)

here's a nice render of the zonda roadster with the rims on. UV mapping on them and the inside works :)

will try for interiors later!
A Zonda inside of a church? :D

Anyway, back to my radio station hunt... Does anyone know if there's a file that tells the game what .wav files (for commercials, music, etc) to play, in what order, and when?
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

ok guys now i really need your help... any direct3D gurus in here who know what FVF is (flexible vertex format) and how their flags are numerically set? the vertex buffer headers have info for that kind of thing but i can't figure out what's going on, and i really don't wanna hard code dozens of possible combinations i'm stuck! looks like this till now:

position = #(2816,512,0,3072,5888,2816,4352,0,0,0,0,4160)
position&UV, normal = #(2817,512,0,3073,5888,2816,4352,0,0,0,0,4160)
position, normal&color = #(2817,513,0,3072,5888,2816,4352,0,0,0,0, 320)
position, normal&color = #(2817,513,0,3072,5888,2816,4352,0,0,0,0,4160)
position, normal&color&UV= #(2817,513,0,3073, 0, 0,4352,0,0,0,0, 320)
position, normal&color&UV = #(2817,513,0,3073,5888,2816,4352,0,0,0,0, 320)
position&UV, normal&color = #(2817,513,0,3073,5888,2816,4352,0,0,0,0,4160)
position, normal&color&UV&qqqq = #(2817,513,0,3073,5889,2817,4352,0,0,0,0, 320)
position&UV, normal&color&qqqq = #(2817,513,0,3073,5889,2817,4352,0,0,0,0,4160)
position, normal&color&UV1&UV2 = #(2817,513,0,3074,5888,2816,4352,0,0,0,0, 320)
position, normal&color&UV1&UV2&qq= #(2817,513,0,3074,5889,2816,4352,0,0,0,0, 320)
position&UV1&UV2, normal&color= #(2817,513,0,3074,5888,2816,4352,0,0,0,0,4160)
position, normal&color&UV&qqqqqq= #(2817,513,0,3074,5889,2817,4352,0,0,0,0, 320)
position, normal&color&UV1&UV2&qqqq=#(2817,513,0,3074,5889,2817,4352,0,0,0,0, 320)
position&UV&qq, normal&color&qqqq= #(2817,513,0,3074,5889,2817,4352,0,0,0,0,4160)
position&UV1&UV2, normal&color&qqqq=#(2817,513,0,3074,5889,2817,4352,0,0,0,0,4160)
position&UV&qqqq, normal&color = #(2817,513,0,3075,5888,2816,4352,0,0,0,0,4160)

vertices come in sets, i separate them by commas, so if we have 30 vertices, position, normal&color means i'll first have 30 positions, and then 30normals and colors together. q is a 32bit long that i haven't figured out yet.

so, anyone got a clue how these numbers work? as you can see the combinations can go on forever... :eek:
toolieo
veteran
Posts: 123
Joined: Sun Mar 21, 2010 2:16 pm
Location: Australia
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: Test Drive Unlimited 2 [2011/BNK]

Post by toolieo »

Since the export of bnk's and the .big, those who own zmodeler 'Oleg' over at Zmodeler forums is working on a TDU2 Import too. :]

This is what he posted and done so far.
Image
The thread for zmodeler users is here
Image
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

would oleg mind sharing with us that little DXVB header info? :?:
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

materials and all objects from test car (zonda) are now all imported correctly and automatically. they're also placed on the right positions and sub-materials work as they should. also working dummies which define hierarchy. here's the full zonda as imported by the script (only deleted med and low versions)

only thing left now is to understand how these endless vertex buffer headers work!!
zonda_new.jpg
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 »

and the 599 GTO too.... cars with soft tops and interiors are not yet supported, i hope i won't have to type a bunch of definitions...
599GTO.jpg
You do not have the required permissions to view the files attached to this post.
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 »

vagos21, what about texture coordinates, are they ok after import in max?
Ares722
veteran
Posts: 154
Joined: Thu Jul 15, 2010 2:15 pm
Has thanked: 25 times
Been thanked: 9 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Ares722 »

wow, the quality of the mesh is really great!!
toolieo
veteran
Posts: 123
Joined: Sun Mar 21, 2010 2:16 pm
Location: Australia
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: Test Drive Unlimited 2 [2011/BNK]

Post by toolieo »

Oleg has released his TDU2 Filter for Zmodeler. :keke:

For a image to show, I imported the Veyron SuperSports Interior.
Image
Image
Nobby
veteran
Posts: 109
Joined: Thu May 13, 2010 12:35 am
Has thanked: 5 times
Been thanked: 16 times

Re: Test Drive Unlimited 2 [2011/BNK]

Post by Nobby »

besweeet wrote: Most people are jizzing over the Bugatti Veyron's, which I'm not pleased with. The Koenigsegg is better IMO.
I dont know why they would be getting so excited over those cars we have had those in TDU 1 for quite a long time. And the versions that were for tdu 1 i believe came from higher quality sources than the TDU2 cars anyway.

The only real new thing this game brings that TDU 1 didnt have is a new island, they was supposed to be adding MORE things into the control options, but instead they have taken things away. they was supposed to be giving us usable turn signals ( like all the AI cars in tdu1 had) but they didnt do that, they take things away from the controllers , such as being able to use a H gate shifter. the G25 wheel is pretty pointless now for TDU2 as most of its great features cannot be used in the game. apart from that the only new things we have are slightly better GFX and slightly better car quality. and that took how long to make..... They should have just used the TDU1 base code and added more stuff to it, rather than rewriting the whole thing again and cutting out all the good things that made the game what it was. I so wish i could return the game to the store, but unfortunately " its sh#t " just does not qualify for a refund.
Yes! i know that's what i said... But its not what i meant. ;)
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: Test Drive Unlimited 2 [2011/BNK]

Post by vagos21 »

SandroX wrote:vagos21, what about texture coordinates, are they ok after import in max?

yes they're ok for the cars that work (look at that 599 taillights), only thing u have to do is load the textures yourself because the names in the bnks aren't that close to the real names. but the textures are not too many and the material editor tells you what textures it's expecting (diffuse, specular etc) so it shouldn't be too difficult to locate them

anyone said something about interiors? :wink: ~40K triangles, sick detail!
interior_srt10.jpg
You do not have the required permissions to view the files attached to this post.
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 »

The contents of this post was deleted because of possible forum rules violation.
Post Reply