+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  A bit of help with FEIDIAN
Pages: 1 [2]
Author Topic: A bit of help with FEIDIAN  (Read 1160 times)
Spikeman
Guest
« Reply #15 on: February 24, 2007, 09:52:11 pm »

Thanks, but I still don't quite understand it. I understand how the graphics are stored. For example, a 2BPP image, here is one byte of it:

AABBCCDD

Where A-D are different pixels. But what I don't understand is how this translates into planes in FEIDIAN. I figured out that to dump 2BPP linear just like Tile Molester, I can use "AAAABBBB" in both planes. But this doesn't make sense to me. It seems like it should go by pairs of two somehow, because each pixel takes up 2 bits.. Huh
Nightcrawler
Guest
« Reply #16 on: February 25, 2007, 01:26:23 pm »

Well, you know you can always just look at the source and see what it's doing. I mean you are trying to port FIEDIAN, so you should be intimate with it's source.
KingMike
Guest
« Reply #17 on: February 25, 2007, 01:50:26 pm »

As I understand each letter specifies a different byte, and repeats of the same letter represent different bits of the same byte.
(so you should end up with 8 repetitions of each letter).

So you have:
AAAABBBB
AAAABBBB

What that means is that the byte A represents the left 4 pixels of plane 1 (since it has the first 4 repetitions of "A"), and the left 4 pixels of plane 2 (since it has the last 4 repetitions of "A").
Byte B represents the right 4 pixels of both.
Spikeman
Guest
« Reply #18 on: February 25, 2007, 07:15:33 pm »

Quote from: Nightcrawler on February 25, 2007, 01:26:23 pm
Well, you know you can always just look at the source and see what it's doing. I mean you are trying to port FIEDIAN, so you should be intimate with it's source.

I guess I should do that shouldn't I. Roll Eyes (*Feels dumb*)
Kitsune Sniper
Guest
« Reply #19 on: February 25, 2007, 08:36:13 pm »

I don't suppose anyone here still has copies of the now unavailable tile definition files, now would you?
Pages: 1 [2]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC