02-21-2017, 10:03 AM
(02-21-2017, 09:22 AM)puggsoy Wrote: The colour format for this file uses RGBA, that is to say the alpha is at the end. Scarlet has read it in like ABGR, and it doesn't seem like you can change it.
I've written a GFXtract script for it:
Code:# Wand of Fortune R TID
#
# Written by puggsoy
# GFXtract Script (https://github.com/puggsoy/GFXtract/releases)
idstring TID
get DUMMY byte
get FSIZE long
get OFFSET long
goto 0x44
get WIDTH long
get HEIGHT long
setformat 32 RGBA
goto OFFSET
read IMG WIDTH HEIGHT
savepng IMG
It's a bit slower than Scarlet, but works fine if you have the patience.
Omg this is awesome Works perfectly fine! Thank you very much!!