Quote:
Originally Posted by geek1011
Also, can someone who knows about the internals of the CSS patches like @oren64 or @GeoffR tell me a bit about how to extract it? I've been getting stuck on properly finding the right Zlib streams.
|
I'm not sure whether I'm answering the right question here but ...
Currently the initial CSS extract is done using pipcat's Python extract.py which calls css_streams.py. If you haven't already you can find all the code in
this thread. Personally, I use his v3 code in post #8 (rather than v4 which also accommodates those who need tshering's Mods for Bad Eyes).
css_streams.py is where you'll find the extract algorithms but be aware that it has a small bug which will miss consecutive nozlib CSS streams if the second one starts immediately after the first. It's easily fixed by finding the line
Code:
pos += 4 + len_stream
and changing it to
Code:
pos += 3 + len_stream