I will need a little help with the BPS file structure, as I think I'd like to try to add that functionality onto my little patcher.
I've been pouring over byuu's documentation on the file and I'm just a little confused.
Since this is python, I'm reading the information as 'bytes' instead of a bitstream (right now).
First, when the documentation says it 'shifts out' the first 7 bits of a 'number' and the 8th bit is a flag, does that mean:
example first 3 bytes:
does this mean the first byte, since it has no flag, should return as
1. 0000 1000
or does it return itself exactly as
2. 0001 0000
or did I go the wrong way and it's
3. 0010 0000
I figure I can just read as a bitstream, or convert from hex to bits easily enough. I just am unsure as to what I'll be returning.
There will be several questions about the BPS structure here in the future. But, the IPS system works and is done.