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.

Vertical lines in TEX files converted to DDS with Rawtex

Featured Replies

  • Author
  • Localization

johnz1, posted Mon Jun 06, 2022 3:16 am (71865)


I've been able to export (and re-import) many textures for NBA JAM: On Fire Edition for PS3. However, player body textures are giving me trouble. Using Rawtex, when I convert the body textures using a 0x80 offset, 1024x512, and DXT1, the output looks right except for black vertical lines every 4 pixels.



I know I'm close to the correct format of these DDS images. Does anyone recognize these vertical lines, and know what I need to change in order to get the full, correct texture?

Here are the original TEX file and the converted DDS image: https://mega.nz/folder/LZFEAAYA#tu-1gkUTgSCOOnt75D5cAA

Thanks!
  • Author
  • Localization

Allen, posted Mon Jun 06, 2022 6:23 am (71866)


You can try:
dxt5/bc3 format width:512
  • Author
  • Localization

deepshit, posted Mon Jun 06, 2022 6:25 am (71867)


johnz1 wrote:
I've been able to export (and re-import) many textures for NBA JAM: On Fire Edition for PS3. However, player body textures are giving me trouble. Using Rawtex, when I convert the body textures using a 0x80 offset, 1024x512, and DXT1, the output looks right except for black vertical lines every 4 pixels.

KEVIN_GARNETT_HOME_BODY_DIF.png

I know I'm close to the correct format of these DDS images. Does anyone recognize these vertical lines, and know what I need to change in order to get the full, correct texture?

Here are the original TEX file and the converted DDS image: https://mega.nz/folder/LZFEAAYA#tu-1gkUTgSCOOnt75D5cAA

Thanks!


Vertical lines are usually for incorrect DXT format.
your texture is a DXT5.
https://www.mediafire.com/file/8h3fyei1 ... F.dds/file
  • Author
  • Localization

johnz1, posted Mon Jun 06, 2022 1:55 pm (71875)


Thanks for the help.

When I open the DXT5 image in GIMP and Paint.net, it only has blue, green, and red accessories - the rest is blank/transparent. As you can see in the DXT1 image that I uploaded (as PNG), the texture includes skin color. You can see the outline of the arms and hands. None of this is present in the DXT5 image. Also, I can confirm that when one of these BODY_TEX files are replaced with QuickBMS, the player's skin color changes.

Is there some sort of layering that I'm missing in the DXT5 image?
  • Author
  • Localization

Allen, posted Mon Jun 06, 2022 3:19 pm (71877)


DXT5's alpha channel wipes out the arms etc, I think you can remove the alpha channel to fix the problem.
Maybe the current texture is not the main texture. Or you just need to invert the alpha channel.
  • Author
  • Localization

deepshit, posted Mon Jun 06, 2022 3:23 pm (71878)


It's because of the alpha channel. The alpha channel contains skin color.
open it in photoshop with dds plugin.
  • Author
  • Localization

johnz1, posted Mon Jun 06, 2022 4:42 pm (71879)


Yes! The skin is in the alpha channel. Thank you very much.

For anyone using paint.net, the transparency of the alpha channel can be adjusted with BoltBait's "Transparency" plugin.
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.