VMU Game Uploader

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
LightDark
DCEmu Fast Newbie
DCEmu Fast Newbie
Posts: 18
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sat Mar 09, 2013 4:39 pm
Has thanked: 0
Been thanked: 1 time

VMU Game Uploader

Post by LightDark »

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.
vmu_game.tar
(10 KiB) Downloaded 74 times
These users thanked the author LightDark for the post:
mrneo240
User avatar
Moopthehedgehog
DCEmu Freak
DCEmu Freak
Posts: 85
Joined: Wed Jan 05, 2011 4:25 pm
Has thanked: 4 times
Been thanked: 39 times

Re: VMU Game Uploader

Post by Moopthehedgehog »

I can’t delete this post, but apparently I can’t read.

It’s still necessary on KOS 2.1.0 as of last month.
I'm sure Aleron Ives feels weird with his postcount back to <10668
:D
User avatar
BB Hood
DC Developer
DC Developer
Posts: 189
Joined: Fri Mar 30, 2007 12:09 am
Has thanked: 41 times
Been thanked: 10 times

Re: VMU Game Uploader

Post by BB Hood »

I verified that the bug exists and that what LightDark posted fixes it.
These users thanked the author BB Hood for the post:
Moopthehedgehog
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5658
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: VMU Game Uploader

Post by BlueCrab »

And it's now been patched as of yesterday. Thanks to BB Hood there for sending in a PR with the fix.
These users thanked the author BlueCrab for the post:
mrneo240
Post Reply