FF6 Hacking
Peer Sprite Viewer (what am I doing wrong?) - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: Peer Sprite Viewer (what am I doing wrong?) (/thread-3872.html)



Peer Sprite Viewer (what am I doing wrong?) - romraptor - 08-20-2019

I'd like to edit something on the title screen so I downloaded Peer Sprite Viewer which seems to be the tool of choice.

I open the program
I choose Decomp Final Fantasy VI
I open a rom (I've tried both a vanilla rom and an edited one)
I type in start and end values fromĀ https://www.ff6hacking.com/wiki/doku.php?id=ff3:ff3us:doc:asm:other:compression
I click Copy to buffer
I get:
00
Compressed Length: 0
Decompressed Length: 0
and nothing happens in the graphics window

What am I doing wrong? Should the offsets be converted somehow?


RE: Peer Sprite Viewer (what am I doing wrong?) - Gi Nattak - 08-20-2019

Are you by chance leaving the 'C' on for the start/end values/offset?
For the title screen, it says there C2686C-C28A6F but you would input 2686C-28A6F.
I can't check myself first hand atm because PSV does not like my windows 10 99% of the time... right now I got it open but the Image window refuses to show up.


RE: Peer Sprite Viewer (what am I doing wrong?) - romraptor - 08-20-2019

Thanks! Now it works.

What should I do if the offset starts with a D or an E?


RE: Peer Sprite Viewer (what am I doing wrong?) - Gi Nattak - 08-20-2019

When it jumps up from C to D, the actual offset gains a 1, and for E it's 2.
So for instance:
DC/1537 = 1C1537
EE/7502 = 2E7502
EDIT: and F bank (for a 4MB expanded ROM) would of courses be '3'.


RE: Peer Sprite Viewer (what am I doing wrong?) - romraptor - 08-20-2019

Sound easy enough, but what about when it starts with a number like 7F7930?


RE: Peer Sprite Viewer (what am I doing wrong?) - Gi Nattak - 08-20-2019

You should never have to go up that high, I mean a 4mb ROM only goes to 3FFFFF, and any compressed graphic(s) is no where near there. Do you have an example of what you are referencing? I suspect your may be looking at a document for a compressed part of C2 that deals with title screen gfx or something? I remember a disassembly where the addresses appeared to start with 7E-7F which I believe is 'SNES Memory', which I know little about, just that it's actually in the C2 bank and not 7E. Something like that anyway.


RE: Peer Sprite Viewer (what am I doing wrong?) - Catone - 08-21-2019

I seem to recall something or other rediculous offsets when I was playing with beyond a 4mb ROM (using some of those weird SMW methods) BUT at that point, pretty much all editing programs used for FF6 went "TILT" and refused to talk to me anymore. Really don't remember looking into it much though, just relocated edited data from a normal ROM over to the oversized ROM post edit via hex.

Only mention it because I found that to be a pretty clean method (moving to expanded space after editing in a normal ROM) even if it was a round about way of doing it. Not sure why there would be a need to edit that type of graphics on that size ROM, that high up, but are there better ways of accessing it directly? Peer isn't a FF6 specific editor, I thought.


RE: Peer Sprite Viewer (what am I doing wrong?) - romraptor - 08-22-2019

I managed to find the exact part I was looking for with the help of a friend. There are some offsets that start with 7 in Title/Intro Graphics, but I was more curios about how the calculations work.