gfxbundle.gfxbundle

Textures, recreate headers, conversions, algorithms and parsing of image files
MuratG
Posts: 53
Joined: Thu Jan 29, 2015 9:06 pm

gfxbundle.gfxbundle

Post by MuratG »

Hi guys can anyone help me how to open gfxbundle.gfxbundle file.

https://we.tl/t-Rni5Cdzhem
h3x3r
Posts: 165
Joined: Wed Jun 01, 2016 5:53 pm

Re: gfxbundle.gfxbundle

Post by h3x3r »

Code: Select all

####################################
get FILENAME basename
idstring "S3DB"
getdstring FLAGS 0x7
get FILES long
get UNK long

get FLAG byte
for i = 0 < FILES
   get FILENAMESTRLEN long
   getdstring NAME[i] FILENAMESTRLEN
next i

for i = 0 < FILES
   FindLoc OFFSET binary "\x47\x46\x58\x0A"
   goto OFFSET
   get MAGIC long
   get SIZE[i] long
   string NAME p= "%s/%s" FILENAME NAME[i]
   log NAME OFFSET SIZE[i]
next i