math_bonn said:
Can someone explain to me how to compile an emulator please? Or give me a tutorial...
Thank you!
I'll try to make myself understandable (hablo español)
1.- Download devkitpro and make sure in the installation menu you select devkitPPC.
2.- Go to the folder you choose to install devkitpro and paste the folders libogc and portlibs from the file matguitarrist provided in the first post of this thread
http://www.megaupload.com/?d=03TMXAO5
3.-Download and install TortoiseSVN
http://www.megaupload.com/?d=B380JZ2U
Lets use Snes9xgx as an example to compile.
Create a folder and name it whatever you want then right click on it and from the contextual menu select TortoiseSVN --> Create repository here
then again right click on it and choose SVN Checkout... It will open a screen then you have to write the url of the repository, for snes9xgx it's "http://snes9x-gx.googlecode.com/svn/trunk/" (again without the quotes), and click OK, it will download the source.
When the download process is complete browse the content and copy the folder called snes9x-gx, create the following folder c:\project\ and in that folder paste the previously copied folder.
Now run devkitpro/programmers notepad from the start menu, and click on File --> Open, then go to c:\project\snes9x-gx\ and choose Makefile
Then choose Tools from the menu bar, and click Make, when the process is complete go to C:\project\snes9x-gx\executables and copy the .dol to your SD or USB depending of what you use to run homebrew in the following path X:\apps\snes9x-gx\, (remember to rename it to boot.dol), if you want to make it look better copy the files "icon.png" and "meta.xml" from C:\project\snes9x-gx\hbc\ to the X:\apps\snes9x-gx\ folder.
If anyone understood me please write it better and without using the same words again and again.
PS: Probably one more steps are unnecesary but that is how i compile my emulators and they work.