Hi, I'm trying to create a program in MMF2 that can read binary data from a game's files.
I'm using the Binary object to read it, but I have a problem:
It's stored in 2 bytes per tile.
I have to read the data in bits this way:
15-12: 4-bit number
11,10: Boolean values
9-0: 8-bit number
Basically, I just want to be able to get these out. If anyone can help me, it would be much appreciated. I've done it manually (using paper) but that method does not work for 4096 tiles per file.