Users browsing this thread: 1 Guest(s)
Xenogears Battle Sprites
#19
Found the palettes! Just like SOTN, they hardcoded it into assembly, hence it is pretty hard to find if you don't know what you are looking for.

The whole process is like
1) Look for a monster data, like HP, EXP. From there you'll find the complete set of data including drop item, drop rate, weakness, resist for every monster/boss in the game.
2) One of the data is a function pointer, follow it.
3) You'll see some assembly instruction like this:
  loc_2271b4  r1 , Lxx_2132a30
  loc_2271b8  r2 , Lxx_22ba95c
  loc_2271c0  r3 , Lxx_22aad4c
and r3 is the pointer to the monster palette.

Since this is how it hide its palette, I'm forced to write a ARM assembly parser to locate the data:
https://github.com/rufaswan/Web2D_Games/...n_clut.php

But the problem doesn't stop there. All boss has its own overlay file, so the function and palette is located over there instead. So now you'll need monster + overlay pair data.

OOE Dracula completely breaks the rule. Unlike the rest of the boss, only its function is on its own overlay file, its palette is actually on the map overlay file. The king of the night just do whatever it wants!

In short, the palettes are all over the place, across multiple overlay files, and buried in assembly code. The whole thing is one big wild goose chase!

Since it is hardcoded, I end up patching every monster:
https://github.com/rufaswan/Web2D_Games/...s_ACBJ.txt

(NOTE: POR Loretta palette is only a set of 9 x 16 color palette, not two different .cvpal)

As for the maps, all POR and OOE maps are ripped. DOS maps have something weird going on, and wasn't able to rip correctly.

I combined the maps from multiple overlay files and made a simple grid lines for background:
1) Green line is a tile. It is 16 x 16 pixels.
2) Yellow line is a room. it is 16 x 12 tiles.
3) Cross is added to the center of a room for room symmetry guide.

The full map of Dracula Castle:
OOE :
POR :

I wonder if SOTN maps can be combined?

Cheers,
- Rufas
Reply
Thanked by: SmithyGCN, Pik, Ton, Barack Obama


Messages In This Thread
Xenogears Battle Sprites - by rufaswan - 05-03-2020, 01:24 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-03-2020, 02:40 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-03-2020, 03:14 PM
RE: Xenogears Battle Sprites - by Barack Obama - 05-03-2020, 06:19 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-03-2020, 07:20 PM
RE: Xenogears Battle Sprites - by Ton - 05-03-2020, 08:29 PM
RE: Xenogears Battle Sprites - by rufaswan - 05-04-2020, 05:09 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-04-2020, 07:00 PM
RE: Xenogears Battle Sprites - by Barack Obama - 05-04-2020, 07:47 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-05-2020, 06:54 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-05-2020, 09:38 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-05-2020, 10:28 PM
RE: Xenogears Battle Sprites - by Deathbringer - 05-06-2020, 06:43 AM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-06-2020, 01:29 PM
RE: Xenogears Battle Sprites - by rufaswan - 05-07-2020, 05:12 PM
RE: Xenogears Battle Sprites - by Deathbringer - 05-08-2020, 04:33 PM
RE: Xenogears Battle Sprites - by IceManual - 05-13-2020, 04:10 AM
RE: Xenogears Battle Sprites - by rufaswan - 06-20-2020, 06:43 PM
RE: Xenogears Battle Sprites - by rufaswan - 06-29-2020, 05:40 PM
RE: Xenogears Battle Sprites - by Ton - 06-30-2020, 07:20 AM
RE: Xenogears Battle Sprites - by rufaswan - 07-11-2020, 05:59 PM
RE: Xenogears Battle Sprites - by Barack Obama - 07-12-2020, 12:17 PM
RE: Xenogears Battle Sprites - by rufaswan - 10-03-2020, 03:45 PM
RE: Xenogears Battle Sprites - by FormerUser12 - 10-12-2020, 06:46 PM
RE: Xenogears Battle Sprites - by rufaswan - 10-24-2020, 06:23 PM
RE: Xenogears Battle Sprites - by FormerUser12 - 10-24-2020, 08:10 PM
RE: Xenogears Battle Sprites - by Topheryu - 04-16-2022, 09:55 AM
RE: Xenogears Battle Sprites - by rufaswan - 04-16-2022, 06:30 PM
RE: Xenogears Battle Sprites - by Topheryu - 04-16-2022, 08:15 PM
RE: Xenogears Battle Sprites - by rufaswan - 04-17-2022, 02:21 PM

Forum Jump: