Coding for the GC - How to start...

Post Reply
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Coding for the GC - How to start...

Post by liquitt » Thu Nov 25, 2010 7:00 am

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
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

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

Post by emu_kidid » Thu Nov 25, 2010 1:33 pm

here's how you start:

Quit your job, spend about 2-3 months being extremely bored then slowly easy into it :p
Image
User avatar
NeoCortex
Posts: 33
Joined: Sun Nov 21, 2010 9:19 pm
Location: Germany

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

Post by NeoCortex » Thu Nov 25, 2010 1:38 pm

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.
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

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

Post by emu_kidid » Thu Nov 25, 2010 11:10 pm

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
Image
gtmtnbiker
Posts: 163
Joined: Fri Apr 09, 2010 4:30 pm

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

Post by gtmtnbiker » Fri Nov 26, 2010 3:11 pm

Any recommendations on development hardware? Qoob Pro? USB Gecko? etc.
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Fri Nov 26, 2010 3:20 pm

i'll use an USBGecko, sounds best to me for stuff like that...
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

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

Post by emu_kidid » Fri Nov 26, 2010 10:02 pm

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
Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Sun Nov 28, 2010 5:28 pm

btw, what emulator are you using, if any?
i can't find a download for that dolphin and the gcube doesnt start :(
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
NeoCortex
Posts: 33
Joined: Sun Nov 21, 2010 9:19 pm
Location: Germany

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

Post by NeoCortex » Sun Nov 28, 2010 9:02 pm

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
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

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

Post by emu_kidid » Sun Nov 28, 2010 10:19 pm

Dolphin-emu is usually very good these days, it can boot most homebrew :)
Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Mon Nov 29, 2010 7:50 am

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!
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Sintendo
Posts: 60
Joined: Tue Sep 14, 2010 1:39 pm
Location: Belgium

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

Post by Sintendo » Mon Nov 29, 2010 9:01 am

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.
User avatar
Cubelover
Posts: 313
Joined: Wed Apr 07, 2010 1:22 am

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

Post by Cubelover » Mon Nov 29, 2010 12:09 pm

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.
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Mon Nov 29, 2010 12:12 pm

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 :/
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
Cubelover
Posts: 313
Joined: Wed Apr 07, 2010 1:22 am

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

Post by Cubelover » Mon Nov 29, 2010 12:17 pm

Maybe you should get a built from here: http://electrodexs.net/dolphin-emu/default.htm
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Mon Nov 29, 2010 12:48 pm

XINPUT1_3.dll not found
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
NeoCortex
Posts: 33
Joined: Sun Nov 21, 2010 9:19 pm
Location: Germany

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

Post by NeoCortex » Mon Nov 29, 2010 6:04 pm

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...
User avatar
Cubelover
Posts: 313
Joined: Wed Apr 07, 2010 1:22 am

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

Post by Cubelover » Mon Nov 29, 2010 6:19 pm

It runs fine here, but almost any homebrew for gc and Wii did not work, just black screen =/
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

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

Post by liquitt » Tue Nov 30, 2010 8:37 am

weird, gotta check on that directx install - although i'm prety sure i installed it via windows update...
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

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

Post by Dragoon » Tue Feb 22, 2011 4:55 pm

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
Attachments
xinput1_3.zip
(40.84 KiB) Downloaded 951 times
Image
shuffle2
Posts: 14
Joined: Thu Feb 03, 2011 2:18 am

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

Post by shuffle2 » Mon Mar 21, 2011 2:15 pm

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
Post Reply