ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Oct 23, 2018 4:13 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Dead Rising 2 .tex
PostPosted: Thu Jan 11, 2018 3:53 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Game: http://store.steampowered.com/app/45740/Dead_Rising_2
Image

Need script to export\import binary or textures files
Image

Example https://mega.nz/#!lPwT1b6B!ifCEu10rz4va ... suVgSNGAEc


Top
   
 Post subject: Re: Dead Rising 2 .tex
PostPosted: Fri Jan 12, 2018 3:39 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
this bms script will split and decompress the bct textures from your tex samples :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

idstring "\x06\x05\x04\x03"
get TEX_INFO_SZ long
get TEX_SZ long
get FILES long
get TEX_HEADER_SZ long
get STRING_TABLE_OFF long
for i = 0 < FILES
   get NAME_OFF long
   get HASH long
   get ZSIZE long
   get SIZE long
   get OFFSET long
   get PADDING_SZ long
   get COMP_FLAG long
   savepos TMP
   goto NAME_OFF
   get NAME string
   set NAME basename NAME
   string NAME + .bct
   if COMP_FLAG == 0
      log NAME OFFSET SIZE
   else
      math OFFSET + 4
      math ZSIZE - 4
      comtype zlib
      clog NAME OFFSET ZSIZE SIZE
   endif
   goto TMP
next i

i have not looked at the formats of the extracted *.bct yet, just wanted to at least get this posted for now. :)

edit
just found this script on Xentax but it looks like it doesn't decompress any files so we are still good. :)
http://forum.xentax.com/viewtopic.php?p=48763#p48763

edit2
there is also gibbed tools for working with this game but i didn't try it :)
http://deadrising.wikia.com/wiki/Mod:Gi ... ling_files
http://www.mediafire.com/?nfvixrepf530sm2

_________________
Quickbms.com link thread
Search bms scripts


Last edited by Acewell on Sun Jan 14, 2018 10:13 am, edited 2 times in total.

Top
   
 Post subject: Re: Dead Rising 2 .tex
PostPosted: Sat Jan 13, 2018 8:46 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Thanks a lot Acewell! .bct textures hard format?


Top
   
 Post subject: Re: Dead Rising 2 .tex
PostPosted: Sun Jan 14, 2018 10:18 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
okay here is Noesis python script to open the bct textures. :D
Attachment:
tex_DeadRising2_bct.zip [644 Bytes]
Downloaded 46 times

supports dxt1, dxt5 and rgba32

some tex files stored 169 file names without the bct extension so i modified the bms script to fix this while extracting.
i don't know if it is just the art style of this game or what but half the textures appear grainy around the edges. :?

_________________
Quickbms.com link thread
Search bms scripts


Top
   
 Post subject: Re: Dead Rising 2 .tex
PostPosted: Sun Jan 14, 2018 6:08 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Thanks a lot Acewell!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited