ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Nov 19, 2018 3:13 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Oct 09, 2018 5:34 pm 
User avatar

Joined: Sat Jan 13, 2018 7:58 pm
Posts: 19
Would it be possible to script the extraction of the textures in this file .tex?


Attachments:
FF-Intro.rar [2.38 MiB]
Downloaded 7 times

_________________
My Blog: https://joao13traducoes.blogspot.com.br
Top
   
PostPosted: Tue Oct 09, 2018 8:26 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9252
I can help with the extraction of the raw data but someone else has to work on the fields for building a valid image (it's probably very trivial):
Code:
get DATA_SIZE long
get DATA_SIZE2 long
get DUMMY long  # 3
get DUMMY long  # 4
for
    savepos OFFSET
    if OFFSET u>= DATA_SIZE
        break
    endif
    get SIZE long
    getdstring INFO 8
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get NAME string
    get DUMMY long
    savepos TMP
    xmath SIZE "SIZE - (TMP - OFFSET)"
    savepos OFFSET
    log NAME OFFSET SIZE
    goto SIZE 0 SEEK_CUR
next


Top
   
PostPosted: Tue Oct 09, 2018 8:36 pm 
User avatar

Joined: Sat Jan 13, 2018 7:58 pm
Posts: 19
aluigi wrote:
I can help with the extraction of the raw data but someone else has to work on the fields for building a valid image (it's probably very trivial):
Code:
get DATA_SIZE long
get DATA_SIZE2 long
get DUMMY long  # 3
get DUMMY long  # 4
for
    savepos OFFSET
    if OFFSET u>= DATA_SIZE
        break
    endif
    get SIZE long
    getdstring INFO 8
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get NAME string
    get DUMMY long
    savepos TMP
    xmath SIZE "SIZE - (TMP - OFFSET)"
    savepos OFFSET
    log NAME OFFSET SIZE
    goto SIZE 0 SEEK_CUR
next


Thanks aluigi!!

_________________
My Blog: https://joao13traducoes.blogspot.com.br


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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