02-05-2022, 11:55 PM
(02-05-2022, 11:35 PM)FreohrWeohnataKausta Wrote: Use Noesis to convert them into a PNG by using the batch extract:You'll actually want to omit the first "out" from that and make it the following:
$inpath$\$inname$out.$outext$
Use this output path so that it doesn't extract into another folder.
Code:
$inpath$\$inname$.$outext$
(02-05-2022, 11:35 PM)FreohrWeohnataKausta Wrote: I've been using QuickBMS and it's always outputting corrupted DDS files. they're viewable in Noesis and from there I use the Batch Extract to get them all converted into a PNG.Thinking about it again, it's very possible I might not have set some bytes in the header correctly all this time, and seeing as how nothing I've used had any issues with it, that might explain it. I blame all the duct tape I used to get that script in working condition.
A side note is how can i get QuickBMS to extract into the same folder as the input, without it creating separate folders for each texture? it's really annoying to move them out every time i extract them.
And it's actually pretty easy to make it output to the same folder, for the simplest approach to that (literally a one-character change), near the beginning of the script you'll see this section:
Code:
get PATH basename
string PATH += /
getarray BRTISTART 0 i
string PATH += STRNAME
You can remove the + from that:
Code:
string PATH += STRNAME
Code:
string PATH = STRNAME