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.

Dead or Alive 2: Hardcore (PS2) - TGS texture packs

Featured Replies

  • Author
  • Localization

BloodRaynare, posted Tue Mar 27, 2018 11:11 pm (33614)


I need help to convert the TGS texture packs into readable format, preferably tga or own PS2's tm2 because I wanted the alpha channels of those textures still intact.

Here's both samples, in palletized textures (8bpp) and the 32bpp ones



  • Author
  • Localization

episoder, posted Sat Mar 31, 2018 3:01 pm (33707)


interesting.

the 32bit rgba are tiles you could raw haxor and puzzle yourself. 0x08 has the number of tiles. 0x14 the offset to the tile array. in the array you have the offsets to the tile headers. the tile headers are 128 bytes long (to skip). at 0x50 and 0x54 of the headers you have the width and height of the tiles. format obviously rgba with ps2 typical mid alpha (you could ignore). you could just remove the tgs header and tile headers and copy paste the 12 tiles (256x256) in raw rgb(a). alpha seems irrelevant.

will see what i can do with the other file. problem at hand is it's a multichunk file and gotta be deswizzled (i only got noesis for this). gotta dump a temporary format for noesis. the not so obvious problem is some tiles/textures have multiple palette iterations. gotta find where the counter to iterate is.

edit: if you wanna raw foo it, you could do it with console texture explorer.

Image

the offsets are all there. you just need to skip ahead to the next palette iteration if the image tiles seem to be palette data. if you need this lil helper to detect multi-pals, you can raw it in irfan view with 32x2280 in 32bit mode. this is nuts to try to auto with a script. the pal headers have some numbers, but...

note: you can extract the alphas using the texture explorer's alpha mode.
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.