Users browsing this thread: 1 Guest(s)
Problem ripping some TID images
#3
(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  Heart Works perfectly fine! Thank you very much!!
Reply
Thanked by: Raccoon Sam, puggsoy


Messages In This Thread
Problem ripping some TID images - by NonStop - 02-21-2017, 07:03 AM
RE: Problem ripping some TID images - by puggsoy - 02-21-2017, 09:22 AM
RE: Problem ripping some TID images - by NonStop - 02-21-2017, 10:03 AM
RE: Problem ripping some TID images - by puggsoy - 02-22-2017, 08:45 AM
RE: Problem ripping some TID images - by NonStop - 02-22-2017, 10:27 AM
RE: Problem ripping some TID images - by puggsoy - 02-23-2017, 03:58 AM

Forum Jump: