04-13-2021, 06:11 PM
(This post was last modified: 05-13-2021, 01:19 PM by rufaswan.
Edit Reason: not 1000 , just 640 palettes
)
Wow! We have Racoon Sam on this thread! Nice to meet you!
The Princess Crown's palette problem is more towards assembly code related. On the main executable "0.bin", there is block of 640 16-colors palette for every sprites in the game. The sprite files have only the palette indexes as texture data.
And the game have palette-swap varieties, so the texture data and palette are paired on run-time to create the required sprites.
So now the question is, where are these texture data + palette pairing data at? Is it hardcoded within a function, or does it spread around into multiple *.evn event files data?
It also didn't help the sprite data is a bit weird. In Xenogears, it uses an INT to select a palette from a palettes set. In Princess Crown, it uses only a BITFLAG. So it uses 2 palettes as a set, but looking at the resulted sprites, it should have more palettes than that.
That's where I'm at right now.
I hope you'll find more enjoyment in reading assembly code than me
Thanks for your interest!
- Rufas
The Princess Crown's palette problem is more towards assembly code related. On the main executable "0.bin", there is block of 640 16-colors palette for every sprites in the game. The sprite files have only the palette indexes as texture data.
And the game have palette-swap varieties, so the texture data and palette are paired on run-time to create the required sprites.
So now the question is, where are these texture data + palette pairing data at? Is it hardcoded within a function, or does it spread around into multiple *.evn event files data?
It also didn't help the sprite data is a bit weird. In Xenogears, it uses an INT to select a palette from a palettes set. In Princess Crown, it uses only a BITFLAG. So it uses 2 palettes as a set, but looking at the resulted sprites, it should have more palettes than that.
That's where I'm at right now.
I hope you'll find more enjoyment in reading assembly code than me
Thanks for your interest!
- Rufas