Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Ratchet & Clank: into the Nexus texture data

Featured Replies

  • Author
  • Localization

raykingnihong, posted Wed Jan 14, 2015 11:19 am (2683)


Ratchet & Clank: into the Nexus texture data . Here is a sample file https://onedrive.live.com/redir?resid=6 ... =file,7z , And thank you very much o0DemonBoy0o work, here is the information provided by the o0DemonBoy0o:

I did some messing around and thought I would share what I found out about the textures.

The levels shaders.dat looks to have the names of all the textures found in that levels textures.dat and highmips.dat with each set of textures having their own section separated with "IGHW".

After the first set of padding, which looks like it is always "PAD0PAD1PAD2PAD3" Is a set of 8 bytes for each texture listed in that section.
I found out that you can take those first 4 bytes and search for them in the assetlookup.dat and there are always 2 results.
I think those last 4 bits are the texture type

00 00 55 80 = DXT1
00 00 AB 00 = DXT5
00 55 55 80 = PVRTC 8888
00 2A AB 00 = PVRTC 88


The first result in the assetlookup.dat is for the textures.dat and the second is for the highmips.dat

The 4 bytes after the search in the assetlookup.dat is the start of that texture data and the 4 bytes after that is the size.

that last thing I found out is that in every *.irb is a section of text that looks something like this
Code:
built/tuids/f70/f705a4a51f94b562/.built/tuids/d94/d9425ed81f94b4b4/.built/tuids/035/0351bfd91f94b5a5/.


You can those 16 numbers/letters after every "built/tuids/XXX/" and search for it as hex in the shaders.dat and it will take you to the textures it is referencing, although there are a couple times where the textures are not always found.

Maybe someone can use this information to make some kind of extractor.

Can be Extracting textures by quickbms script file
  • Author
  • Localization

cra0, posted Sun Feb 08, 2015 2:13 am (3100)


I did some research on this a while back let me see if I can dig up that info
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.