The VG Resource

Full Version: [NSFW] Libra Heart games (Castle in the Clouds/Midnight Castle Succubus DX)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all

I'm working to rip Libra Heart games sprites and gfx, i'm close to success as i'm actually able to rip 90% of the sprites.
But for the 10% remaining i'm still unable to understand storage algorithm (i'm working directly from a dump of the game process)
The sprites are stored in 2 parts, one defines pixels and the other defines silhouette (to remove transparent parts).
The 'silhouhette' is stored as WORD like that :
[offset],[lenght] repeat several times if necessary for each lines.
Sometimes offset is negative but i didn't still find how to interpret data for this case.
My code has too to guess the repetition for of ([offset],[lenght]) for each line and sometime it isn't able to predict it.
Does someone knows about this format (i don't know about game engine) ? 

A correct working example (castle in the clouds DX)
[attachment=14281]

Incorrect from line 20
[attachment=14282]

Data used to build silhouette : [attachment=14283]