Emuforums.com

Go Back   Emuforums.com > Gamecube Emulation > Dolphin Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old January 27th, 2009   #1 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
need help for dolphin coding!

hi im new to this but i have experience in programming with java and C++.
first of all i want to know how to get the uncompiled SVN releases (where to download them) and how to get them into my Visual Studio 2008 (any plugins, special tools that i need?) and how this system of newer versions works . First thing i wanna do is simply compile an existing version.

thx!
Mad_ is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old January 27th, 2009   #2 (permalink)
And the science gets done
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Perpetual Pompei
Posts: 7,221
Dolphin SVN Compiling Discussion
__________________

deviantART | Blog | Webcomics | VBA-M | PCSX2 | @ES | Shendo | GeneralEmu | XTemu

Get the NGemu toolbar http://ngemu.ourtoolbar.com
Hard core Rikki is offline   Reply With Quote
Old January 27th, 2009   #3 (permalink)
Registered User
 
Join Date: Aug 2008
Location: France
Posts: 373
you may want to start from here :
dolphin-emu - Google Code

and especially here :
WindowsBuild - dolphin-emu - How to do SVN builds in Windows. - Google Code
__________________
XP x86 - Win7 x64 | Core 2E6600 @ 3.4GHz |
P5W DH Deluxe i975x | 2 x 2GB G.Skill PI black | ATI HD4870 1GB
sl1nk3 is offline   Reply With Quote
Old January 27th, 2009   #4 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
thx guys! next questions will probably come soon ^^
Mad_ is offline   Reply With Quote
Old January 28th, 2009   #5 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
ok when i try to compile it, it says: "Executable For Debug Session" and i have to put in an executable file, but i dont know which one...
i set the includes-, executables- and library paths.
i set Release and Win32.
did i do something wrong?
Mad_ is offline   Reply With Quote
Old January 28th, 2009   #6 (permalink)
Away
 
Join Date: Jul 2005
Location: Kingdom of Cambodia
Posts: 2,278
Good luck mad i am just the fan of dolphin maybe u can make something big in the future! =]
raksmey1309 is offline   Reply With Quote
Old January 28th, 2009   #7 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
thx, i thought about implementing netplay, or at least try to, as i have experience in networking at least in java, shouldnt be that different in c++
Mad_ is offline   Reply With Quote
Old January 28th, 2009   #8 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
k compiled successfully now. stupid question: where did it compile it to ?
Mad_ is offline   Reply With Quote
Old January 28th, 2009   #9 (permalink)
The Ultimate Life Form
 
Super Empra's Avatar
 
Join Date: Oct 2008
Location: UK
Posts: 207
Quote:
Originally Posted by Mad_ View Post
k compiled successfully now. stupid question: where did it compile it to ?
It will be in the "Binary" folder.
__________________


>>>>Click here for newest Dolphin 32 and 64 bit compiles<<<<

Intel Core 2 Duo 2.40Ghz, 1GB RAM DDR2, ATI Radeon HD 2600PRO 256MB GDDR3, Windows XP 32 bit
Super Empra is offline   Reply With Quote
Old January 28th, 2009   #10 (permalink)
Registered User
 
Join Date: Jan 2009
Location: Germany
Posts: 7
ok, now is there any way to find out how this is working? there are so many classes, i would like to know what they do, or at least the most important ones, i bet there are a bunch of classes which are not that essential for the whole thing. for example, whats the class for the mainframe or whats the main class...
is there a tutorial or can someone explain shortly?
an UML or something like that would be great aswell

and another question: is there a possibility to not compile the whole Dolphin if i only changed a little thing, cause compiling takes quite long.

Last edited by Mad_; January 29th, 2009 at 11:41..
Mad_ is offline   Reply With Quote
Old January 29th, 2009   #11 (permalink)
Registered User
 
Join Date: Jun 2008
Location: New York
Posts: 377
Quote:
Originally Posted by Mad_ View Post
ok when i try to compile it, it says: "Executable For Debug Session" and i have to put in an executable file, but i dont know which one...
i set the includes-, executables- and library paths.
i set Release and Win32.
did i do something wrong?
That means you didn't select a project that produce an executable binary file as the default project. To do this you can right-click the DolphinWX project and select "Set as StartUp Project", than it will be marked in bold and will run after you press the Play button or press F5. But for that to work propery you also need to change its default directory. To do that right-click on the DolphinWX project again, then change > Configuration Properties > Debugging > Working Directory to for example "../../../Binary/win32", you may also add the Command Argument "-d" if you want to open the debugging window. If you are building the Release build without Debug Info you can also change the Debugger Type to "Managed Only" to avoid the dialog box you will get about it otherwise.

Quote:
Originally Posted by Mad_ View Post
ok, now is there any way to find out how this is working? there are so many classes, i would like to know what they do, or at least the most important ones, i bet there are a bunch of classes which are not that essential for the whole thing. for example, whats the class for the mainframe or whats the main class...
is there a tutorial or can someone explain shortly?
an UML or something like that would be great aswell.
Without any official training in this I would say that classes are basically a way to organize the code. It's like a combination of a namespace and a function. So it's hard to say that any class is more important than another class. If you removed one class without changing anything else the program would not work because they are interlinked. When talking about essential and nonessential code it's better to think about it from how the projects are organized. You can see that in the Solution Explorer that you should be able to find next to the Class View in the left hand tab on a default Visual Studio installation. I rarely use the Class View to browse around the code, I almost always use the Solution Explorer instead.

Quote:
Originally Posted by Mad_ View Post
and another question: is there a possibility to not compile the whole Dolphin if i only changed a little thing, cause compiling takes quite long.
Visual Studio seems to have a fairly good way of knowing which files has to be rebuilt or not. So it will try to build as little as possible given the code that has been changed. Also, if you are working actively with the code you can uncheck projects from building from Build > Configuration Manager. For example all projects that reside in the Externals folder, or plugins that you use infrequently. To make sure they are not built you can also right-click on DolphinWX and unselect them from its Project Dependencies. It may be a good idea to at least unselect the wxCore28, wxBase28 and wxAdv28 projects from building. Otherwise they will unnecessary rebuild if you select Rebuild Solution or Clean Solution (since their code is never changed it's in most circumstances unnecessary to rebuild them).

A general suggestion I can make if you get build errors is to try to locate the Project and perhaps the file that doesn't build. Then try to compile those files or build those projects one at a time until you solve the build errors.

Last edited by John Peterson; January 29th, 2009 at 23:45..
John Peterson is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 17:15.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5