Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 19:48

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: .btrq file format - how to decrypt/read it ?
PostPosted: 09 Jun 2009 05:42 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
as far as i know this kind of files are used in some NFS games and also in Test Drive Unlimited. it should hold vehicle's data in it (possibily some other data too). im not sure if it's encrypted or just compressed, but really could use a tool to read / edit it in readable format.

I have included an example file from test drive unlimited.


Attachments:
246_Dino_GT.rar [304 Bytes]
Downloaded 146 times
Top
 Profile  
 
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 09 Jun 2009 12:08 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I don't have the game anyway it's very probable that it's blowfish judging the padding of the file and the presence of the blowfish algorithm inside the executable.
I have already tried some keys but I guess it's the %08X of some number... anyway they are only hypothesis.
maybe (if we have the same exe) try to put a breakpoint on 0062cb90 and check the stack arguments


Top
 Profile  
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 09 Jun 2009 22:56 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
i don't seem to find that address (it is address right ?)
opened it with olly, but they start from 00F
not sure if .exe would help you, but i uploaded it. maybe you can take a look.
http://www.sx.brutalcore.co.uk/stuff/Te ... imited.rar
oh yeah and i found some interesting stuff for TDU > tdu modding tools, when i open the .bnk file (which contains the .btrq file) it shows some kind of memory position where that file should be. would that help ?


Top
 Profile  
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 10 Jun 2009 08:58 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
blah that exe sux because it's still encrypted except the non-executable part, so you need to put a memory breakpoint on 00f56b20 and 00f56ad8 and then setting a breakpoint at the beginning of the functions which use them.

instead if you use the nocd http://m0006.gamecopyworld.com/games/pc_test_drive_unlimited.shtml#Test%20Drive%20Unlimited%20v1.66a%20[MULTI7]%20No-DVD/Fixed%20EXE the direct offset is 0062fc10 (it's ok also the one I told you before, this new one is directly the blowfish key init)


Top
 Profile  
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 11 Jun 2009 04:53 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
as usual nocd is nouse, game doesn't work as it should, but it runs, so i guess its enought.
do i need to attach or open ?
i tried both and on both cases can't see such addresses. ..im using olly ofc.


Top
 Profile  
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 12 Jul 2009 11:37 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
job done:
http://aluigi.org/papers.htm#tdudec


Top
 Profile  
 
 Post subject: Re: .btrq file format - how to decrypt/read it ?
PostPosted: 12 Jul 2009 15:41 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
nice work :) seem to be working just fine


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron