#177938 - rombus - Wed May 15, 2013 3:21 am
Hello everyone! I'm trying to develop a linux native image extractor for game boy camera .sav's
From what I understand, the 4 shades of grey are represented with 2 bits. And so far I've managed to read every byte and mapp it to a color. But all I end up having is a black square.
Anyone has any information about how can I achieve this functionality?
Any tips are appreciated. I couldn't find much information on this topic.
Here's the algorithm I'm using to convert each byte from the sav to a RGB pixel. putColor, adds 3 values to the file (RGB values)
In pastebin http://pastebin.com/uSMT0Wpj
Thanks in advance!
From what I understand, the 4 shades of grey are represented with 2 bits. And so far I've managed to read every byte and mapp it to a color. But all I end up having is a black square.
Anyone has any information about how can I achieve this functionality?
Any tips are appreciated. I couldn't find much information on this topic.
Here's the algorithm I'm using to convert each byte from the sav to a RGB pixel. putColor, adds 3 values to the file (RGB values)
In pastebin http://pastebin.com/uSMT0Wpj
Thanks in advance!