Jump to content

Ninja - Shadow of Darkness - PS1


Tito
Go to solution Solved by Rabatini,

Recommended Posts

  • Engineer
Quote

Data is compressed with LArc LZ5 compression ("LHA_lz5" in quickbms).



Actually It´s a LZ5 Variant, not larc one.

flagbits is processed by shifting it left or right depending on its current value.
rd is calculated based on the current src value, where:
rd points to dst + 1 adjusted by the scaled src value.
len is determined by extracting the lower 4 bits of src and adding 3.
The logic performs some operations with rd and len. In this example, it copies data from src to rd and updates src and dst pointers.

Edited by Rabatini
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...