XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue Nov 21, 2017 12:19 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: textures ratchet ItN
PostPosted: Sun Feb 05, 2017 6:05 pm 
Offline
ultra-n00b

Joined: Sat Jan 14, 2017 1:11 am
Posts: 7
Has thanked: 0 time
Have thanks: 0 time

Hi, early before have extracted models from ratchet and clank games, the only thing left is the textures, have been trying to get them for weeks without any results, someone who knows how to extract them gave me this instructions

"The textures are not in the irb, only the hash is.

To find the textures
you need to get the hashes from the irb find them in shaders.dat and get the id, find the id in assetlookup.dat and get the size and start of the texture, then manually extract them.

After you manually extract them you will then need to find out what type the texture is (PVRTC, DXT1,DXT5) and manually add a header to it.

Finally you would need to manually fix the textures if they are PVRTC by swaping the the Blue with Alpha ans Red with Green."

Ive tried so many things, but dont know how to start.

Could anyone help?

Thx theismarius

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Sun Feb 05, 2017 6:28 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2154
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1100 times
well :), then let's give that a try.
As I've told you I never extracted those textures so let's follow the receipe step by step:

    1) in irb: hash of texture
    2) find hash in shaders.dat, get the id
    3) find id in assetlookup.dat -> get size and start of texture

I don't know about the hashes and the ids, I hope you do, else you've to ask the creator of the receipe for more infos.

So, do you have a hash of a texture from irb file?
If so, use a hex editor to find that hash in the shaders.dat and post a picture of the block
containing the hash, minus x0100 bytes before and +0x100 bytes after (0x200= 512 bytes)

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Sun Feb 05, 2017 8:37 pm 
Offline
ultra-n00b

Joined: Sat Jan 14, 2017 1:11 am
Posts: 7
Has thanked: 0 time
Have thanks: 0 time
Well, i have a problem, im spanish, and when it says hash, not of the translations found relates with this, so could you tell me what is hesh?


Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Sun Feb 05, 2017 8:59 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2154
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1100 times
"hash" is some kind of unique number bound to objects or strings.
The wiki description is: a hash is used to "map data of arbitrary size to data of fixed size".
What does that mean? Hashes have constant length (4, 8, 16 whatever) while the strings (for example) bound to them have not.

I don't know which size the hashes in the irbs have. I had a look at a small irb file but I don't have a clue where the hash should be.

In wpn_bat_projectile.entity.irb it might be C3ECE7286B061502, but that's a wild guess only.
(built/tuids/c3e/ c3ece7286b061502)

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Mon Feb 06, 2017 4:52 pm 
Offline
veteran
User avatar

Joined: Mon Apr 21, 2014 8:32 pm
Posts: 130
Has thanked: 3 times
Have thanks: 65 times
Incomniac engine uses DXT1, DXT5 and swizzled RGBA8 texture types (they are usually used on detail or HD textures like character faces).
There are cached and uncached archives, uncached have highest mip detail.


Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Fri Sep 01, 2017 4:49 pm 
Offline
ultra-n00b

Joined: Sat Jan 14, 2017 1:11 am
Posts: 7
Has thanked: 0 time
Have thanks: 0 time
Hi, has pases 6 months since been trying to get textures from this game with texture finder, but couldnt manage it. They told me that the Best way was with hdx hex editor. But dont know how it work. Could someone help please?

http://imgur.com/a/Xoq6J that is an image of hwat ive got

Thanks for all


Top
 Profile  
 
 Post subject: Re: textures ratchet ItN
PostPosted: Wed Nov 08, 2017 1:08 am 
Offline
ultra-n00b

Joined: Wed Oct 25, 2017 5:52 pm
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
[quote="theismarius"]Hi, has pases 6 months since been trying to get textures from this game with texture finder, but couldnt manage it. They told me that the Best way was with hdx hex editor. But dont know how it work. Could someone help please?

Its very simple with the texture finder, (I did not know if the ratchet and clank games have similar files, but since I'm dealing with Resistance 2, which was created by the same company, I guess it will have the same or similar ones) in the program you need to load any texture.dat file, then use the DTX1, DTX3 or DTX5 options and you will see the textures (i'm not sure if each and every one of the textures will be seen as it is in my case).



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