Posts: 5
Threads: 2
Joined: Feb 2017
I was ripping a visual novel (Wand of Fortune R) using
Scarlet. Everything was OK at first, no problem with sprites and bg, but then all CG events looks like this:
Something is wrong with the palette. Anyone knows how to solve the problem?
If someone wants to check the raw file, I've uploaded it
here.
Thank you~!
Posts: 5
Threads: 2
Joined: Feb 2017
(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!!
Would you actually be able to give me some more of these files, as well as ones that worked? For consistency's sake I'd like to know if it's possible to make my script work for all TID images, not just the ones Scarlet has issues with.
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
Posts: 5
Threads: 2
Joined: Feb 2017
Sure!
WoFR BG
WoFR CG (events)
Reine des Fleurs BG (I guess? I don't know what is going on with this game. TID images are different from WoFR though.)
Reine des Fleurs CG (events)
Reine des Fleurs Event BG
Good luck