ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Sep 22, 2017 5:11 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Aug 08, 2017 2:47 pm 

Joined: Sat Jun 10, 2017 9:22 pm
Posts: 11
Hello, recently i've been extracting Just Dance games for Wii and i found out some (probably dds?) textures and i couldn't open them. They seem to have their header reversed so i don't know how to open them. Could anyone help me?


Attachments:
cube_g.tga.rar [1.74 KiB]
Downloaded 19 times
Top
   
PostPosted: Fri Aug 11, 2017 2:29 pm 

Joined: Sat Jun 10, 2017 9:22 pm
Posts: 11
Anyone?


Top
   
PostPosted: Fri Aug 11, 2017 3:30 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6684
Not useful but at least it's a starting point (the stored dds is in big endian):
Code:
endian big
get DUMMY long
idstring "TEX\0"
get OFFSET long
get SIZE asize
math SIZE - OFFSET
encryption reverselong ""
get NAME basename   # .tga
get NAME basename   #
string NAME + ".dds"
log NAME OFFSET SIZE
Please note that this is not my field so wait the replies of other users.


Top
   
PostPosted: Thu Aug 17, 2017 7:10 pm 

Joined: Sat Jun 10, 2017 9:22 pm
Posts: 11
aluigi wrote:
Not useful but at least it's a starting point (the stored dds is in big endian):
Code:
endian big
get DUMMY long
idstring "TEX\0"
get OFFSET long
get SIZE asize
math SIZE - OFFSET
encryption reverselong ""
get NAME basename   # .tga
get NAME basename   #
string NAME + ".dds"
log NAME OFFSET SIZE
Please note that this is not my field so wait the replies of other users.

Is there anything for stored dds in Little Endian? This is what happens if i open the big endian file in GetPaint.Net...


Attachments:
Screenshot_31.png [21.07 KiB]
Not downloaded yet
Top
   
PostPosted: Thu Aug 17, 2017 9:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6684
The dds is stored as big endian so the script automatically swaps all the 32bit fields without knowing the format (just raw basic swapping).
If you don't want it then remove the 'encryption reverselong ""' line


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