02-06-2022, 12:07 AM
(02-05-2022, 11:55 PM)Random Talking Bush Wrote:(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.
That way, you'll have filenames that match the respective DDS like "pm0025_00_00_body_a_alb.png", instead of "pm0025_00_00_body_a_albout.png".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:
...to get the following:Code:string PATH += STRNAME
This will override the "append to subfolder" approach and make them export to the same location as the BNTX or BFRES.Code:string PATH = STRNAME
ah ye- in my latest extraction i did
Code:
$inpath$\$inname$_out.$outext$
New Question! where do i find that? i'm still somewhat new to QuickBMS, and only recently i've been trying to figure stuff out.
I put my export stuff into a .bat file with this command stuff:
Code:
quickbms.exe -F "*.bntx" Switch_BNTX.bms "G:\pkmn\PLA-Trainers\chara\data\pc" ""
and so I have no idea where to find that in the script of whatever.