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
Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
textures ratchet ItN
- shakotay2
- MEGAVETERAN

- Posts: 4299
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1152 times
- Been thanked: 2250 times
Re: textures ratchet ItN
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:
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)
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
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)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
theismarius
- n00b
- Posts: 13
- Joined: Sat Jan 14, 2017 1:11 am
Re: textures ratchet ItN
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?
- shakotay2
- MEGAVETERAN

- Posts: 4299
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1152 times
- Been thanked: 2250 times
Re: textures ratchet ItN
"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)
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)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- PredatorCZ
- mega-veteran

- Posts: 291
- Joined: Mon Apr 21, 2014 8:32 pm
- Has thanked: 11 times
- Been thanked: 256 times
- Contact:
Re: textures ratchet ItN
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.
There are cached and uncached archives, uncached have highest mip detail.
-
theismarius
- n00b
- Posts: 13
- Joined: Sat Jan 14, 2017 1:11 am
Re: textures ratchet ItN
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
http://imgur.com/a/Xoq6J that is an image of hwat ive got
Thanks for all
-
OverLord115
- ultra-n00b
- Posts: 4
- Joined: Wed Oct 25, 2017 5:52 pm
- Has thanked: 4 times
Re: textures ratchet ItN
[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).
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).
