:
I have merged the two accounts. You should receive an email. If not, let me know.
Yes, I expect the A.L.I.V.E. engine is highly convoluted, being as it was never really meant to be unraveled. Especially AE's engine, which was probably built up like a shanty town. But you know how much I'd love the backgrounds from AE? Like, from the very bottom of my beating heart. =P
|
Its just bad in every sense of the word, anyhoo I started reversing the few functions that decode the AE background files a while ago but gave up.
I think it uses MDEC compression which is some piece of hardware in the ps1. But on a PC it seems to be emulating some massive lookup/matrix table that would have been there via hardware on PS1.
So you have this massive amount of data for decoding the compressed background image segments, where it came from and what exactly it is I don't know and will prolly never know.
But there are open source MDEC decompression libs that are used in EPSXE and the likes, since its likely not *exactly* MDEC (its prolly MDEC with a twist) its not trival to figure out. What I was doing was trying to rip the massive hard coded array and then use that as a guide to figure out how it was being used to decode the data.
That part is possible but then it gets very hacky because there is ANOTHER massive array of hard coded magic, only this time it has unrolled loops and junk which makes it even harder to understand.. oh and that function is recursive as well just to top it off
