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.

Converting Yakuza PS2 file to dds

Featured Replies

  • Author
  • Localization

SamuraiOndo, posted Tue Jun 01, 2021 6:01 pm (64411)


The file is actually just a DDS file with a custom header, but I have no idea how to change that header to actually be dds.
  • Author
  • Localization

DKDave, posted Tue Jun 01, 2021 7:43 pm (64412)


It's DXT3 format. If it's just that 1 file you want to convert, you can use Rawtex to create a proper .dds file. Offset is 0x40, size is 128 x 128, Format is BC2 (DXT3)
  • Author
  • Localization

SamuraiOndo, posted Wed Jun 02, 2021 3:35 pm (64435)


DKDave wrote:
It's DXT3 format. If it's just that 1 file you want to convert, you can use Rawtex to create a proper .dds file. Offset is 0x40, size is 128 x 128, Format is BC2 (DXT3)


Ok I have RawTex, and have all the settings as you said, yet it comes out broken. Can I have some help?
  • Author
  • Localization

DKDave, posted Wed Jun 02, 2021 4:37 pm (64437)


Which settings are you actually using? The ones I use listed to work, although whether that's exact, I don't know without other examples.
  • Author
  • Localization

SamuraiOndo, posted Wed Jun 02, 2021 5:51 pm (64440)


DKDave wrote:
Which settings are you actually using? The ones I use listed to work, although whether that's exact, I don't know without other examples.

Okay, sorry bout that I'm just stupid lol
I had the wrong settings listed lmao
  • Author
  • Localization

SamuraiOndo, posted Wed Jun 02, 2021 5:57 pm (64441)


DKDave wrote:
Which settings are you actually using? The ones I use listed to work, although whether that's exact, I don't know without other examples.

Oh, but I have noticed that the files I'm extracting are kinda transparent, such as:
  • Author
  • Localization

SutandoTsukai181, posted Wed Jul 14, 2021 12:36 pm (65191)


I made a script that uses Rawtex and ImageMagick to convert TXBP and SGT textures to dds and remove the transparency.

Both tools are included in the zip. ImageMagick allows redistribution of its binaries as long as the license is still included.
Rawtex doesn't have a license so credit goes to daemon1: https://forum.xentax.com/viewtopic.php?f=18&t=16461.

Usage:
Just drag and drop txb (or sgt) textures over txb.exe (only 1 file at a time).
If you also want to remove transparency, drag the txb over txb_no_alpha.bat

Download: https://mega.nz/file/nV8EVZyC#o-53r4Vqu93iMMypPC4NvL1wmYCr6P15nVN4tpf3afk
Source code: https://mega.nz/file/DJE2hDLB#8ND1O2dLwZP4yMHW6hSrtwWBVXh9lcp7wCJgdub5Q-w
  • Author
  • Localization

SamuraiOndo, posted Fri Jul 23, 2021 4:55 am (65314)


SutandoTsukai181 wrote:
I made a script that uses Rawtex and ImageMagick to convert TXBP and SGT textures to dds and remove the transparency.

Both tools are included in the zip. ImageMagick allows redistribution of its binaries as long as the license is still included.
Rawtex doesn't have a license so credit goes to daemon1: https://forum.xentax.com/viewtopic.php?f=18&t=16461.

Usage:
Just drag and drop txb (or sgt) textures over txb.exe (only 1 file at a time).
If you also want to remove transparency, drag the txb over txb_no_alpha.bat

Download: https://mega.nz/file/nV8EVZyC#o-53r4Vqu93iMMypPC4NvL1wmYCr6P15nVN4tpf3afk
Source code: https://mega.nz/file/DJE2hDLB#8ND1O2dLwZP4yMHW6hSrtwWBVXh9lcp7wCJgdub5Q-w

you made this tool just like you made the rmm y7 support 8-)
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.