Qhimm.com Forums
Final Fantasy 7 => FF7 Tools => Topic started by: satsuki on 2020-04-05 19:55:47
-
Hello.
DDS (BC7) is a common texture compression format used by lots of moderns games.
And now with ffnx 1.50+ you can use this format with FF7 instead of png.
It's having lots of adventages:
-It's realy fast for loading and all the job is done with graphic card and not cpu
-It's take less memory (about 25/30% of png) so no more texture corruption problems
-It's visualy loseless
-It's compressing well so the iro or 7z share of the mod will be realy lighter (for my full pack 7z png is 6go and 7z dds is 2.3go)
To convert from png to dds i made this simple gui witch is self explainatory, but if you need help, just ask ^^
It can also convert a classic iro file mod to iro dds file.
It Can also convert dds to png (as dds is a lossy codec, don't do dds > png > dds ... you'll have quality loss after some time)
(http://ff7syw.free.fr/dd122.png)
https://mega.nz/file/PVhxyYDI#3gQPe1h2eKDH3QzivgECWb0qqU0CDMvD_pc3PG6g_X4
If you have bugs converting, install the vc runtimes (provided in "runtime" subfolder)
-
This will be great for the field and battle backgrounds!
-
Added an option to convert classic iro to dds iro in one clic
(maybe some mod can move this post to ff7 tools as with iro conversion it's more an ff7 tool now)
-
Version 1.12:
-Added an option to normalise png input to avoid unacurate color in some conversion with texconv
-The iro conversion now analyse the preview file in the xml and don't convert them to dds format, so previews are ok in 7H
-
*shakes head* You're just too good man
-
Updated link (was the old version ^^')
-
New version :
-Added 32/64 bits OS autodetection then use the right tool version
-Updated texconv to avoid bad contrast with some file conversion
-
new version :
-The normalise png function now convert all full transparent pixel to pure black to avoid bad edge conversion (with my old iro pack for exemple)
-
New version:
-Auto check for right png resolution to avoid bug ingame with mipmap
-
New version
-added a flag "dds converted" to iro's description in 7h
-added mipmap check for iro
-better log for mimap
-
new version:
-Now mipmap are used only with file witch can make use of it (optimising final size and avoiding bugs)
-
new version:
-If a file is in bas resolution and can't use mipmap properly, it's converted without mipmap and logued, so you can manulay correct it if you want, but it won't crash even if you don't ^^
-
new version:
-Fixed a bug if iro's conversion + texconv + no mimap + no normalisation
-
New version.
-Corrected a bug in iro conversion if iro don't use a mod.xml file
-
New version:
-Add mipmap generation for fields too (slightly better quality with lastest ffnx canary)
-
new version 1.22:
-add a option to convert back dds to png
-
new version 1.22:
-add a option to convert back dds to png
nice... yep, this is the tool i was asking for in the other thread ;D
-
New version 1.23
-Corrected an issue with iro and png introduiced in 1.22
thanks Lord UrQuan for reporting
-
For some reason, I can't drop anything into the file list box. I've tried PNG, DDS and IRO (not mixing them together) but my mouse cursor always changes to the "Not Allowed" symbol. I don't think it's something with your program, so just wondering if you know anything in Windows that might cause this.
-
Don't launch it as an admin ^^
-
New version 1.24:
-Corrected the iro's previews files (thanks kilyan for reporting)
-
Hi Satsuki,
I am getting this error
(https://i.imgur.com/bwTW40C.png)
Any idea?
The full installer from another thread is working though
-
Witch windows and graphic card do you use ?
Witch option in the soft do you use ?
WItch conversion do you attemps ?
-
I am using Windows 8.1.
Been getting that error message as soon as I ran the program.
-
Do you use it from a folder where you have full accèus like the desktop ?
Could you try to install vb6 runtime ? (https://sourceforge.net/projects/vb6extendedruntime/)
-
Yes, I am running it from desktop.
I had installed the runtime included in the runtime folder and also the link you provided. Still giving the same error message.
I can run the convert.exe included in the tools folder. Is it possible if you provide me the syntax to convert all png from a folder then output it to another folder?
I will put those commands into a batch file. Manually extract and archive iro using 7H v2.
-
First Check if the png width and height are power of 2 (will be used latter)
then use the convert.exe (imagemagick) to normalize the source png :
convert.exe -background #000000 -alpha Background "source.png" "source.normalized.png"
If w and h ARE power of 2 convert to dds with mipmap :
texconv.exe -y -f BC7_UNORM -bcmax -nologo -o "output folder" "source.normalized.png"
if w or h ARE NOT a power of 2, convert to dds without mipmap :
texconv.exe -y -m 1 -f BC7_UNORM -bcmax -nologo -o "output folder" "source.normalized.png"
-
Thank you satsuki
-
I can't drag and drop files to the app. I have run it as Administrator. I've run it from my Downloads folder. I've had to flag it as Safe to Windows Defender. But no matter what I do, when I try to drag, the cursor turns into a little "Circle with a Slash" symbol. I can Drag and Drop the files anywhere else. I have tried dragging the files to the desktop THEN to the app, and nothing works. I tried installing the runtime files, only to get a "Setup Failed" due to a version already being installed.
EDIT: Nevermind, turns out Running as Administrator was the cause of the issue.
-
New version 1.25 :
-Changed icon again to avoid A/V false positive
-Added a warning about runing it as admin disable the drag and drop
-
Any chance we might be able to drag/drop folders into this instead of just files? my field folder for ff8 has a million subfolders, etc. and it's a huge pain to drag/drop the contents of each folder into the mod. otherwise, great tool!
-
Not ATM.
But a simple way to do it is use windows to seach for the png inside your ff8 folder, then drag and drop from the search results, working great ^^
-
for menu stuff it can massively increase iro size but will compress back down with 7zip for distribution.
Thanks for this excellent tool satsuki.
--
It seems on ninostyle model pack from nexusmods, this converts the preview images, I did see a log showing mipmap failures, and in the log it mentionedit though they were unused, but they are used, in the png iro they show up in configure box, on the dds iro they missing.
-
Ok i'll try nino pack conversion ASAP to correct all that
-
witch iro have you converted without preview and with witch iropngdds version ?
-
It looks like it is just the ninostyle battle models.and ninostyle hd field models.
There is 5 iro's in the pack and the other 3 iro's are ok.
iropngdds version is 1.25 64bits.
-
Ok i'll try that asap
-
New version 1.26:
-Corrected some preview files wasn't detected and was converted to dds
-
when i tried to convert iro png file to dds iro, the output iro dds generated is only 0 kb in size, is there a way to fix it?
-
when i tried to convert iro png file to dds iro, the output iro dds generated is only 0 kb in size, is there a way to fix it?
Make sure the file name that you are converting has no spaces in it.