Recently I've been trying to get a better grasp on the VMU for a new game engine I'm working on. I couldn't seem to find any examples out there that demonstrate how to upload a VMU game to a VMU and be playable.
Before trying to compile it you have to go into the vmufs.c file in KOS and edit line 750:
Code: Select all
nd.hdroff = (flags & VMUFS_VMUGAME) ? 1 : 0;
Make sure the header offset value is set to 1 instead of 0 if the VMUFS_VMUGAME flag is set, otherwise you will get the error "This game is damaged" when you try to play it on your VMU. After you have done that recompile KOS.
I have attached an archive with the demo in it. I have included Marcus Comstedt's VMU Tiny Tetris game in the games folder. Hopefully this helps somebody out there.