12-12-2022, 10:23 AM
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)
Incorrect from line 20
Data used to build silhouette :
img_0x0C8000000x01478589.txt (Size: 28.97 KB / Downloads: 180)
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)
Incorrect from line 20
Data used to build silhouette :
img_0x0C8000000x01478589.txt (Size: 28.97 KB / Downloads: 180)