XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun May 28, 2017 11:16 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Extracting DDS textures in container with names?
PostPosted: Tue Feb 07, 2017 7:42 pm 
Offline
advanced
User avatar

Joined: Sat Jun 27, 2015 1:20 pm
Posts: 48
Has thanked: 30 times
Have thanks: 40 times

Hello guys, please help me to extract DDS textures with names in this container.

Names and DDS Header:
Start DDS in file
Image
End DDS in file
Image
But I do not know how to find the end of DDS and wrote file names with script
This container files can contain up to 100 textures

Sample files:
It contains one texture: https://www.dropbox.com/s/1b6yhnt3oqp6c ... G.img?dl=0
It contains three texture: https://www.dropbox.com/s/weaazytqmijne ... R.img?dl=0

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Extracting DDS textures in container with names?
PostPosted: Sat Feb 11, 2017 2:25 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 772
Has thanked: 1692 times
Have thanks: 382 times
here is bms script to split dds from your samples with names :D
Code:
idstring "IMGE"
findloc OFFSET binary "\x44\x44\x53\x20"
do
    math OFFSET - 4
    goto OFFSET
    get SIZE long
    savepos OFFSET
    xmath nameloc "SIZE + OFFSET + 7"
    goto nameloc
    get NAME string
    log NAME OFFSET SIZE
    findloc OFFSET binary "\x44\x44\x53\x20" 0 ""
while OFFSET != ""

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Extracting DDS textures in container with names?
PostPosted: Mon Feb 13, 2017 11:31 pm 
Offline
advanced
User avatar

Joined: Sat Jun 27, 2015 1:20 pm
Posts: 48
Has thanked: 30 times
Have thanks: 40 times
Many thanks AceWell :)



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group