Page 27 of 43

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Thu Mar 24, 2011 9:47 pm
by SoniKalien
noobs: page 24 of this thread, 9th post down. Read. If you don't understand then give up.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Thu Mar 24, 2011 9:58 pm
by bigBear
When a game got cracked and investigated, people start asking such questions.
Instead of asking, they even wont bother reading the whole topic.
If they dont, they'll miss a lot of interesting things.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Thu Mar 24, 2011 10:00 pm
by SoniKalien
Chipicao wrote:Insert it in a batch file and place it in your game dir along with filelist.log and all remaining bin files. You don't have to extract all files all over again.
If you don't sort this out, the game might crash when it tries to load those missing files...
OK done and I now have 130 left :)
vagos21 wrote: @SoniKalien, this is just some of the contents of the xmb file, which means this is where i'm stuck, i don't know where to go next. and the big database file is an xmb, so if anyone can help go on with it would be nice. the problem is that ... we have to find a way to connect this

Code: Select all

10      2       CLASS_FLOAT
with the number 4. and the rest of the value types with the variable types. any ideas?
I see your point... and the database is encrypted, right?
i know about the maxscript, it only imports one uv map set and i don't intend to put more effort on the script for little details.
Fair enough and thanks for what you've done :) My main intent is to export to other sims.. but we'll see how that goes...

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Thu Mar 24, 2011 10:03 pm
by xGTRacer128
why this tdu dec not works? black console appears for 0.01 sec.. how to use it?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 2:39 am
by Weegill
@noobs - either read the thread and contribute or gtfo...

@xGTRacer128 - use command promt, not that hard

@Chipicao - Big ty for the updated list, backs up my prediction of cars expected in tdu2

Thanks Toolieo, was being lazy :)

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 9:19 am
by Chipicao
Stop running your mouth like that...
Everything was explained on the 3rd page.
qwerty wrote:ok, here is my script to extract all contents from big+map.
qwerty wrote:save script to bms file, open it with quickbms, select .map file when asked the input file to extract.
I know it's difficult to go through a 27-page thread, but if you won't even read the first few pages then don't be surprised when people start calling you a noob...

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 4:45 pm
by xGTRacer128
How to decrypt and edit this .cpr files? can someone tell me steps of it?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 5:21 pm
by toolieo
xGTRacer128 wrote:How to decrypt and edit this .cpr files? can someone tell me steps of it?
:erm: Once again.... Please browse through the thread this has been answered so many times.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 5:26 pm
by mordax
xGTRacer128 wrote:How to decrypt and edit this .cpr files? can someone tell me steps of it?
are you able to read at all ? your question was answered like 2 times already and you ask that again, what is wrong with you?

why are you ppl not reading the article that sethioz have written on his wiki?? its all there and i posted the link already and here you are asking again. one thing is asking because topic is too long but other thing is being stupid when your question is anwered and you ask again.


@whoever had problem with quickBMS not extracting
its same problem i had. get NEWEST version of quickbms @ aluigi.org



==========================================

i have taken look into carphysics. to me it seems like this file is double encrypted.
first part is clear to me. NUL seperated specificators. like so

gearratio1NULgearratio2NULgearratio3NUL

but what i cant find is the actual gear ratio values. it should say something like this

1.200NUL1.403NUL1.699NUL

so my guess is that those values are in the middle of that file where is a big unreadable mess. like bunch of HEX values which are not readable in text

can anyone check if it is double encrypted?

im talking about db_data.cpr

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 6:03 pm
by xGTRacer128
aaahh, ok, i decrypted the gamepc.cpr, but it not decrypt to english, tdudec created this: (file attached)
how to decrypt it to normal english?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 9:01 pm
by Golfman560
If they are .bin files they need to be extracted again with another script. Its somewhere in the thread.

And yeah the newest version of quicBMS (I think 4.1b or something) fixed my issue of a corrupt file. Not really sure what would cause it but I was using the version I had for TDU1 so it was a wee bit outdated.

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 9:32 pm
by Knyazev
I already dream about TDU2 SDK (Source Development Kit) :-D

Now I'm engaged in file research - TestDrive2.exe
I have looked at him in the Hex-editor and something has found out.
In this file contains hidden class (or function) which deciphers (XMBF) *.xmb files and then they I think will be converted to format XML.

Image Image

I will try to receive source code from this file.
Then him to use in other purposes. For example: for creation of utility - XMB decrypter.

edXMB - class (or function) hidden in exe-file.

File is written on Visual C++.

I have all necessary tools, for extraction source code from this exe-file: TestDrive2.exe

____________________________________________

For example: TDU2\Euro\Bnk\sound\radio\setup.xmb - first 4 bytes of file: XMBF. I want to decrypt him.

Image


______________________

Game uses a Havok engine. All options of this engine are stored in xml files. ;-)

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 9:35 pm
by xGTRacer128
Help me pls! tdudec decrypting file to text like 7$qнmЮљ-пкК^
how to make it decrypting to english?

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 10:38 pm
by vagos21
Knyazev are you sure you can make a dll with the function that converts xmb to xml or something like that? i you do that i can make a nice gui like the hash generator that used qwerty's dll. for now, some fiddling through the xmb gives me this info, without reading any values. i've made a little prog that reads the headers and structure, all i need to do is connect these two parts together (the hard case) and then i'll be done. anyway...

Code: Select all

------------------------------------------------------------------------
                                        VALUE NAME    TYPE    FLAG
------------------------------------------------------------------------
                                            Tracks       4       1
                                          Duration      18       0
                                           Markers      18       1
                                         LoopStart      18       0
                                           LoopEnd      18       0
                                              Name      20       0
                                          Hashcode      22       0
------------------------------------------------------------------------



----------------------------------------
FLAG1   FLAG2   VARIABLE TYPE
----------------------------------------
16      4       ProjectExport
96      14      TrackExport
10      2       Single
13      0       String
4       2       Int32

Re: Test Drive Unlimited 2 [2011/BNK]

Posted: Fri Mar 25, 2011 10:47 pm
by Knyazev
I will try anyway.

I already have hacked UpLauncher.exe (source code), now on turn TestDrive2.exe :-)