Page 1 of 1

Coding for the GC - How to start...

Posted: Thu Nov 25, 2010 7:00 am
by liquitt
So, first of all, i have my degree etc etc and had C++ in school etcblahblah.
I can't find any good source on how to set up your development enviroment.

Of course, i'd need devkitPPC, but what else. What development enviroments do you guys use....maybe a knowledgebase etc.
Get me into this ... i might have some time on my hands, heh

Re: Coding for the GC - How to start...

Posted: Thu Nov 25, 2010 1:33 pm
by emu_kidid
here's how you start:

Quit your job, spend about 2-3 months being extremely bored then slowly easy into it :p

Re: Coding for the GC - How to start...

Posted: Thu Nov 25, 2010 1:38 pm
by NeoCortex
Hehe, just one thing! Make sure your devkit install path does not contain a space!
Took me about 30 minutes to find out when i was writeing some small programms for my NDSL.

As environment i like to use Notepad++ (http://notepad-plus-plus.org/) it got some nice syntax highlight.
Also got M$ Visual Studio 6.0 here, but setting the compiler to work with devkit is a hassle.
In case you are on windows too, it comes with msys (http://www.mingw.org/wiki/MSYS)
which basicly give you all you need.

Re: Coding for the GC - How to start...

Posted: Thu Nov 25, 2010 11:10 pm
by emu_kidid
No, but seriously. Go to www.devkitpro.org and download the installer. Make it install everything apart from the NDS and PSP stuff, then you're ready to start coding/compiling. It's that easy.

If you meant where to start in terms of coding examples, take a look at the examples provided with libOGC/devkitPPC and also make sure you have a copy of YAGCD handy if you want to do some cool stuff. There's also plenty of programs you can look at for examples, Wii is very similar too apart from IOS/USB/WIFI/WiiRemotes/Mem2 (extra memory).

Also, don't look at GCOS or things before libOGC as examples, they'll only scare you out of sheer horror! :p

Re: Coding for the GC - How to start...

Posted: Fri Nov 26, 2010 3:11 pm
by gtmtnbiker
Any recommendations on development hardware? Qoob Pro? USB Gecko? etc.

Re: Coding for the GC - How to start...

Posted: Fri Nov 26, 2010 3:20 pm
by liquitt
i'll use an USBGecko, sounds best to me for stuff like that...

Re: Coding for the GC - How to start...

Posted: Fri Nov 26, 2010 10:02 pm
by emu_kidid
A quick way to boot homebrew is good. I use a Qoob Pro, flashed with either GeckoOS (available on this site) on the memory (hold Y on boot to go straight to them), or a custom loader, and then I simply load my code over the USBGecko. I'd definitely recommend some quick way to load code. Even a XenoGC will do, but trust me, you'll get frustrated having to wait for the disc to boot when you need to test code 1000's of times :p

Re: Coding for the GC - How to start...

Posted: Sun Nov 28, 2010 5:28 pm
by liquitt
btw, what emulator are you using, if any?
i can't find a download for that dolphin and the gcube doesnt start :(

Re: Coding for the GC - How to start...

Posted: Sun Nov 28, 2010 9:02 pm
by NeoCortex
Dolphin home: http://www.dolphin-emu.com/news.php

Edit: I see what you talking about, no downloads on the site. Will upload the latest version i got...
Here you go http://85.131.170.109/neo/dolphin-2.0.win32.rar will be online for the next couple of days

Re: Coding for the GC - How to start...

Posted: Sun Nov 28, 2010 10:19 pm
by emu_kidid
Dolphin-emu is usually very good these days, it can boot most homebrew :)

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 7:50 am
by liquitt
NeoCortex wrote:Dolphin home: http://www.dolphin-emu.com/news.php

Edit: I see what you talking about, no downloads on the site. Will upload the latest version i got...
Here you go http://85.131.170.109/neo/dolphin-2.0.win32.rar will be online for the next couple of days
thanks man!

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 9:01 am
by Sintendo
If that's the version I think it is, it's very outdated at this point. You're better of getting a more recent SVN version.

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 12:09 pm
by Cubelover
Sintendo wrote:If that's the version I think it is, it's very outdated at this point. You're better of getting a more recent SVN version.
I downloaded the x86 version, but my anti virus says the Plugin_VideoMerge.dll is adware.

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 12:12 pm
by liquitt
i downloaded the "more recent SVN version" too and i can't even start it. some *.dll is missing...
the other one starts but is missing a shitload of plugins :/

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 12:17 pm
by Cubelover
Maybe you should get a built from here: http://electrodexs.net/dolphin-emu/default.htm

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 12:48 pm
by liquitt
XINPUT1_3.dll not found

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 6:04 pm
by NeoCortex
Both versions running fine here.
If i remember correctly you just need to update your DirectX installation liquitt.
I got DirectX 9.0c, you can check your version by typing "dxdiag" in start->run.

Xinput is some crazy mapper in the new DirectX thats maps the controlls of a USB Gamepad to the one of a Xbox 360 controller. For games like GTA:IV i think, don't ask me any details...

Re: Coding for the GC - How to start...

Posted: Mon Nov 29, 2010 6:19 pm
by Cubelover
It runs fine here, but almost any homebrew for gc and Wii did not work, just black screen =/

Re: Coding for the GC - How to start...

Posted: Tue Nov 30, 2010 8:37 am
by liquitt
weird, gotta check on that directx install - although i'm prety sure i installed it via windows update...

Re: Coding for the GC - How to start...

Posted: Tue Feb 22, 2011 4:55 pm
by Dragoon
download dolphin from this site: http://www.dolphin-emulator.com/download.html
it get's updated almost daily, it's almost 2 weeks ago I downloaded the "latest" version there, and I'm now almost 1000 versions behind XD

-----------------------------xinput1_3.dll missing fix------------------------

1. place the downloaded dll in drive:\WINDOWS\system32\
2. goto start->run
3. type in "regsvr32 xinput1_3.dll" (without quotes ofcourse)
4. start dolphin

Re: Coding for the GC - How to start...

Posted: Mon Mar 21, 2011 2:15 pm
by shuffle2
xinput problems are because your dx isn't up to date. you should run http://www.microsoft.com/downloads/en/d ... laylang=en instead of downloading random dlls from the internet.

also, dolphin-emulator.com is the official site now.

check out the wiibrew page for tips on using dolphin with homebrew: http://wiibrew.org/wiki/Dolphin