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
Joined: Sat Mar 09, 2013 4:39 pm
Has liked: 0
Been liked: 1 time

VMU Game Uploader

Post by LightDark » Sat Jun 03, 2017 10:30 pm

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 39 times
These users liked the author LightDark for the post:
mrneo240
User avatar
Moopthehedgehog
DCEmu Freak
DCEmu Freak
Posts: 62
Joined: Wed Jan 05, 2011 4:25 pm
Has liked: 3 times
Been liked: 19 times

Re: VMU Game Uploader

Post by Moopthehedgehog » Wed Jan 08, 2020 2:16 pm

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
BB Hood
Insane DCEmu
Insane DCEmu
Posts: 172
Joined: Fri Mar 30, 2007 12:09 am
Has liked: 15 times
Been liked: 4 times

Re: VMU Game Uploader

Post by BB Hood » Sat Jan 11, 2020 10:52 pm

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

Re: VMU Game Uploader

Post by BlueCrab » Sun Jan 12, 2020 9:22 pm

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