ZenHAX
https://zenhax.com/

Dead Rising 2 .tex
https://zenhax.com/viewtopic.php?f=9&t=7200
Page 1 of 1

Author:  makc_ar [ Thu Jan 11, 2018 3:53 pm ]
Post subject:  Dead Rising 2 .tex

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

Author:  Acewell [ Fri Jan 12, 2018 3:39 am ]
Post subject:  Re: Dead Rising 2 .tex

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

Author:  makc_ar [ Sat Jan 13, 2018 8:46 pm ]
Post subject:  Re: Dead Rising 2 .tex

Thanks a lot Acewell! .bct textures hard format?

Author:  Acewell [ Sun Jan 14, 2018 10:18 am ]
Post subject:  Re: Dead Rising 2 .tex

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. :?

Author:  makc_ar [ Sun Jan 14, 2018 6:08 pm ]
Post subject:  Re: Dead Rising 2 .tex

Thanks a lot Acewell!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/