Pocket Station image display/conversion problem
Posted: July 14th, 2016, 7:53 pm
I recently started to study how to program stuff for Pocket Station. Thanks to username Orion_ for a helpful dev kit, I've managed to get a nice start in this journey. But now I've ran into a small problem, and I am not sure what is causing it.
I'm trying to import my image to Pocket Station code. The test image I am using looks like this:

Above image is an 1 bit BMP file (32x32px). It needs to be converted to .bin file in order to be able to import to Pocket Station. I've done that with the "bmp2ps1b.exe" tool that came with the dev kit. The conversion is succesful and the compiler does not give any errors whatsoever.
However, when I bring that picture to my Pocket Station code, complile the code and run in emulator, the picture looks warped half way through, like this:

So any idea why this is happening? Is it because the bmp2ps1b tool or what? I'm guessing the tool messes up something in the conversion process or that my import method in code is somehow flawed.
I have not programmed anything in C before, yet alone for an actual playstation device, so this is all new to me
I'm trying to import my image to Pocket Station code. The test image I am using looks like this:

Above image is an 1 bit BMP file (32x32px). It needs to be converted to .bin file in order to be able to import to Pocket Station. I've done that with the "bmp2ps1b.exe" tool that came with the dev kit. The conversion is succesful and the compiler does not give any errors whatsoever.
However, when I bring that picture to my Pocket Station code, complile the code and run in emulator, the picture looks warped half way through, like this:

So any idea why this is happening? Is it because the bmp2ps1b tool or what? I'm guessing the tool messes up something in the conversion process or that my import method in code is somehow flawed.
I have not programmed anything in C before, yet alone for an actual playstation device, so this is all new to me
