Hi,
I´ve been reading and searching the forum for 2 days before make this question, but i couldn´t find anything. :(
I need some help on the usage of sceKernelUtilsMd5Digest or how to compile with the image embedded on the file.
i want to use the sceKernelUtilsMd5Digest to check if the md5 of the image file is correct, but i would rather prefer compile the images with the file to have just one file.
i already know how to convert the image to a .c file, but i just don´t know how to call, define and blit this image to screen.
Can someone help me on this ?
Thanks in advanced,
Devilish
Help with sceKernelUtilsMd5Digest or Embedded Images
Images in Eboot:
http://forums.qj.net/attachment.php?att ... 1165735628
but if your goal is to prevent someone changing the image, you can still do it.
I'd just check the value of a few random bytes in the image array somewhere
else in the program.
If you want to be really tricky, use some image byte values to set some critical initial variable values in your program at startup, so if someone changes
the image the whole program goes haywire.
Remane the image.png to that wothout any extension,
Use bin2c to create the H file.
cd C:\bin2c
bin2c image image image
Art.
http://forums.qj.net/attachment.php?att ... 1165735628
but if your goal is to prevent someone changing the image, you can still do it.
I'd just check the value of a few random bytes in the image array somewhere
else in the program.
If you want to be really tricky, use some image byte values to set some critical initial variable values in your program at startup, so if someone changes
the image the whole program goes haywire.
Remane the image.png to that wothout any extension,
Use bin2c to create the H file.
cd C:\bin2c
bin2c image image image
Art.