You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
Is porting easy?
Posted on: 2012/7/1 23:36

Joined 2011/8/23
USA
-1 Posts
Long Time User (8 Years)
I'm not a devr, but I want a vb emulator for my gamecube. Would it be easy to port reality boy to the cube?
Top

#2
Re: Is porting easy?
Posted on: 2012/7/2 0:07

Joined 2003/7/26
USA
-1 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
It would be a better idea to start with the Wiirtualboy source or the full Wii Mednafen source. You'll get more-compatible (and probably faster) emulation and it's already very close to GC-compatible code.
Top

#3
Re: Is porting easy?
Posted on: 2012/7/2 0:49

Joined 2011/8/23
USA
-1 Posts
Long Time User (8 Years)
So where should I start? (If this is gonna be too hard for someone with no dev experience, please say so!)
Top

#4
Re: Is porting easy?
Posted on: 2012/7/2 4:46

Joined 2003/7/26
USA
-1 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Quote:

in3D wrote:
So where should I start? (If this is gonna be too hard for someone with no dev experience, please say so!)


First of all, you're the only one who can determine if something is "too hard". People with "dev experience" didn't always have it. Said experience has to come from somewhere, so why not from porting Mednafen to GC?

That being said, if you can't read C code at all, this is going to be a very long process. You may want to read some C tutorials first.

Assuming you know something about how to read code, getting a GC toolchain and libraries installed is probably a good first step. devkitPPC is a good choice (it's likely what the WiiMednafen developer is using). Building and running some kind of GC demo code will make sure all your tools work and libraries are installed.

At this point, you have two choices: 1) Get the latest Mednafen WIP sources and port it to GC, as was done with WiiMednafen for the Wii, or 2) get the WiiMednafen code and port that.

If you go with #1, you have to use GC-compatible libraries for things like graphics and sound, and convert all the function calls accordingly.

Option #2 is just a matter of replacing Wii code with equivalent GC code. This is going to take lots of study time with the Wii and GC developer docs. You probably won't find a "How to Port Wii Code to Gamecube" tutorial, but maybe you can find the reverse and... reverse it

Either of these two options is going to take a lot of work and time, especially if you're inexperienced. It'll be a great learning experience, but it you're only concerned about the final product, you may be better off changing your plans to include a used Wii in place of the Gamecube...
Top

#5
Re: Is porting easy?
Posted on: 2012/7/2 15:47

Joined 2011/8/23
USA
-1 Posts
Long Time User (8 Years)
Quote:

RunnerPack wrote:
Assuming you know something about how to read code, getting a GC toolchain and libraries installed is probably a good first step. devkitPPC is a good choice (it's likely what the WiiMednafen developer is using). Building and running some kind of GC demo code will make sure all your tools work and libraries are installed.


I think I'm gonna go with option 2, but I don't have my SD Media Launcher yet so in order to try the demo code I would have to use an emu. Is that OK?
Top

#6
Re: Is porting easy?
Posted on: 2012/7/3 1:46

Joined 2003/7/26
USA
-1 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Quote:

in3D wrote:
Quote:

RunnerPack wrote:
Assuming you know something about how to read code, getting a GC toolchain and libraries installed is probably a good first step. devkitPPC is a good choice (it's likely what the WiiMednafen developer is using). Building and running some kind of GC demo code will make sure all your tools work and libraries are installed.


I think I'm gonna go with option 2, but I don't have my SD Media Launcher yet so in order to try the demo code I would have to use an emu. Is that OK?


It's okay with me if it's okay with you

The only problem with using an emu is that, even if it doesn't run, that doesn't necessarily mean the game/demo is broken. On the other hand, most developers probably target an emulator during most of the coding process, for convenience, so most things probably work fine.
Top

#7
Re: Is porting easy?
Posted on: 2012/7/3 18:25

Joined 2011/8/23
USA
-1 Posts
Long Time User (8 Years)
Cool. I'm not gonna get to work right away though cause I've got some stuff to do first, but I'll post the emu here if I ever finish it.
Top

 Top   Previous Topic   Next Topic


Register To Post