Converting Yakuza PS2 file to dds
-
- Posts: 33
- Joined: Fri May 14, 2021 11:33 pm
Converting Yakuza PS2 file to dds
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.
-
- Posts: 136
- Joined: Mon Nov 23, 2020 6:01 pm
Re: Converting Yakuza PS2 file to dds
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)
-
- Posts: 33
- Joined: Fri May 14, 2021 11:33 pm
Re: Converting Yakuza PS2 file to dds
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?
-
- Posts: 136
- Joined: Mon Nov 23, 2020 6:01 pm
Re: Converting Yakuza PS2 file to dds
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.
-
- Posts: 33
- Joined: Fri May 14, 2021 11:33 pm
Re: Converting Yakuza PS2 file to dds
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
-
- Posts: 33
- Joined: Fri May 14, 2021 11:33 pm
Re: Converting Yakuza PS2 file to dds
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:
-
- Posts: 1
- Joined: Wed Jul 14, 2021 12:10 pm
Re: Converting Yakuza PS2 file to dds
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
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
-
- Posts: 33
- Joined: Fri May 14, 2021 11:33 pm
Re: Converting Yakuza PS2 file to dds
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