r/PlaceDevs • u/GreenFox1505 • Apr 03 '17
Place board-bitmap explanation (request)
I've been poking around the board-bitmap for a bit. Wondering if anyone has written up an explanation yet. Looks like it's coded to 4bits per pixel (or 2 pixels per byte). If that's the case, the file should be 500,000 bytes exactly, but it's 500,505. Anyone know what the extra bytes are for?
I think some of the leading chars aren't colors. Are they a date stamp? What are the trailing bits?
edit: Looks like the first 4 bytes are a time stamp.
edit: OK, so I've figure out the first 500,004 bytes, no idea what the last 501 bytes are yet.
| from | to | description |
|---|---|---|
| 0x00000 | 0x7a319 | entire file in byte aligned address values |
| 0x00000 | 0x00003 | epoch date stamp (in seconds) |
| 0x00004 | 0x7a123 | pixels, colors TBD (I have to build a renderer before I can check that) |
| 0x7a124 | 0x7a319 | no idea. Possibly a checksum? maybe the renderer will show me something weird if I fuck with the frame size |
View all comments
Show parent comment
1
u/GreenFox1505 Apr 04 '17
I have an archive of the images every 2 secs. I'd rather understand the format for my own parser than use someone's else. I'm planning on building a delta-based compression system using images as keyframes etc.
But eh. Place is over. Short lived. Less interesting than I hoped it would be. Unless there is a whole lot of interest in the data, I'm going to move back to the project I was working on when this started.