Page 1 of 1

Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Tue Jul 25, 2017 11:56 pm
by Beyond69
I need some help converting phyre.dds files from the PC version of Final Fantasy X HD

dtester1 already made a converter but it only works for a limited amount of files here's his post (viewtopic.php?f=16&t=11107&p=126978#p126978)

Here are some samples: https://mega.nz/#!w2h30IAb!7vntFo4G8UtX ... u0v8JawYBk

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Wed Jul 26, 2017 8:31 am
by Acewell
here is a Noesis python script to open all of your dds.phyre samples except the cubemap image (reflection3.dds.phyre) :D
tex_FinalFantasyXHD_PC_phyre.zip
supports dxt1, dxt5, bgra8

the cubemap image has something else going on and needs more time
to research but you can decode it with TextureFinder in the mean time. :)

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Wed Jul 26, 2017 3:17 pm
by Beyond69
Thank you very much, you're a real life saver. Some ARGB textures have wrong colors but it doesn't matter.

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Thu Jul 27, 2017 2:42 am
by Acewell
Beyond69 wrote:Some ARGB textures have wrong colors but it doesn't matter.
script updated in previous post, had to reverse the channels :D

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Thu Jul 27, 2017 2:42 pm
by Beyond69
Thanks again

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Mon Aug 07, 2017 8:02 pm
by Robin
There is an easy way to edit (or, for example, translate) DDS textures in "dds.phyre" files. I have translated all needed textures in this way:
Image
1. Download Nvidia plugin to Photoshop to get "D3D/DDS" format in PS.
2. Download Texture Finder 2.1.
3. Open the same file in hexeditor, to check the type (near 0xA30-0xA40) - PTexture2D DXT1, DXT3 or DXT5.
4. Open .dds.phyre file in Texture Finder.
5. Set the correct setting (DXT1, 3 or 5), check vertical flipping and change width to correct. This is to get the correct width and height of the texture.
6. Create new file in Photoshop, with width and height of the DDS you want to extract. Save as DDS with correct settings (DXT5, DXT3 etc), with checked "Save Flipped Vertically", "No MIP Maps", and "2DTexture".
7. Copy body of graphic from phyre file (starting from 53 byte after offset of PTexture2D) and paste into the DDS file, starting from 0x80. Save the file.
8. Open the file in Photoshop, remember to check "Load Flipped Vertically".
9. After editing, you have to put the content of DDS file back to the dds.phyre file.

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Thu Dec 21, 2017 10:27 am
by Demonslayerx8
AceWell wrote:here is a Noesis python script to open all of your dds.phyre samples except the cubemap image (reflection3.dds.phyre) :D
tex_FinalFantasyXHD_PC_phyre.zip
supports dxt1, dxt5, bgra8

the cubemap image has something else going on and needs more time
to research but you can decode it with TextureFinder in the mean time. :)
the python script doesn't really work for me in Noesis, nothing shows up at all .-.

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Thu Dec 21, 2017 11:48 am
by Acewell
demonslayerx8 wrote:the python script doesn't really work for me in Noesis, nothing shows up at all
are your samples from the same game and platform the script was written for?
how many samples did you try?
is there an error?
if no error, is it just appearing invisible in viewport because of alpha channel?
can you provide not-working samples for investigation into the problem?
you gotta give me more to go on, nothing i can do without at least some samples. (:

Robin wrote:3. Open the same file in hexeditor, to check the type (near 0xA30-0xA40) - PTexture2D DXT1, DXT3 or DXT5.
4. Open .dds.phyre file in Texture Finder.
5. Set the correct setting (DXT1, 3 or 5), check vertical flipping and change width to correct. This is to get the correct width and height of the texture.
6. Create new file in Photoshop, with width and height of the DDS you want to extract. Save as DDS with correct settings (DXT5, DXT3 etc), with checked "Save Flipped Vertically", "No MIP Maps", and "2DTexture".
7. Copy body of graphic from phyre file (starting from 53 byte after offset of PTexture2D) and paste into the DDS file, starting from 0x80. Save the file.
you do realize my script makes these steps obsolete? :wink:

Re: Convert Phyre.DDS files Final Fantasy X HD PC

Posted: Sun Feb 25, 2018 10:09 am
by mami11x
Robin wrote:There is an easy way to edit (or, for example, translate) DDS textures in "dds.phyre" files. I have translated all needed textures in this way:
Image
1. Download Nvidia plugin to Photoshop to get "D3D/DDS" format in PS.
2. Download Texture Finder 2.1.
3. Open the same file in hexeditor, to check the type (near 0xA30-0xA40) - PTexture2D DXT1, DXT3 or DXT5.
4. Open .dds.phyre file in Texture Finder.
5. Set the correct setting (DXT1, 3 or 5), check vertical flipping and change width to correct. This is to get the correct width and height of the texture.
6. Create new file in Photoshop, with width and height of the DDS you want to extract. Save as DDS with correct settings (DXT5, DXT3 etc), with checked "Save Flipped Vertically", "No MIP Maps", and "2DTexture".
7. Copy body of graphic from phyre file (starting from 53 byte after offset of PTexture2D) and paste into the DDS file, starting from 0x80. Save the file.
8. Open the file in Photoshop, remember to check "Load Flipped Vertically".
9. After editing, you have to put the content of DDS file back to the dds.phyre file.
Where is file "sub"? Help