Users browsing this thread: 4 Guest(s)
Problem ripping some TID images
#2
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.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: NonStop, Raccoon Sam


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: