In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Gcube"

From WiiBrew
Jump to navigation Jump to search
m
Line 1: Line 1:
'''Gcube''' is a GameCube emulator. It allows GameCube games to be run on a Windows PC, Linux PC or a Mac. Gcube was written by Monk, but as of 24/01/2005 Monk has not been able to continue development.
+
This is a warning to the owners of this site. My name is Shigeru Miyamoto and I am disappoint. You are breaking the DCMA laws. DCMA laws protect our freedoms far into the furture. There is over 9000 pages here and I want every single one of them gone by next week. This is not a threat but a promise. Every day after that week is up, I will sue you for $100,000 a day.
  
== Download ==
+
Thank you for using Nintendo. We must ensure our freedoms through use of the DCMA. This not the analog millennium one passed in 1000 A.D., but the digital one.
  
Gcube is a part of [[devkitPro]]. Packages are available [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=265125 to download here.] 0.4 is the latest version.
+
==CEASE==
 
+
AND DESIST
The source code for Gcube is available [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=265125 to download,] again part of the DevkitPro software suite.
 
The source code is also available [http://devkitpro.cvs.sourceforge.net/devkitpro/emulators/gcube/ via CVS].
 
 
 
The old homepage for Gcube is at [http://gcube.exemu.net/ http://gcube.exemu.net/]. The old homepage has outdated binaries and source code.
 
 
 
== Use ==
 
 
 
Gcube is useful to Wii homebrew as it allows developers to test their code on a PC before running the code on the Wii. However, as Gcube was designed for the GameCube, it does not support all the features of the Wii.
 
To run a Wii homebrew application on Gcube, first compile in Gcube mode. If using the template code provided by [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=273886 Wii examples], modify the Makefile. Replace the following:
 
<source lang="bash">
 
include $(DEVKITPPC)/wii_rules
 
</source>
 
with:
 
<source lang="bash">
 
include $(DEVKITPPC)/gamecube_rules
 
</source>
 
Also, the homebrew application can not use any of the Wii specific libraries. Replace the following:
 
<source lang="bash">
 
LIBS := -lwiiuse -lbte -logc -lm
 
</source>
 
with:
 
<source lang="bash">
 
LIBS := -logc -lm
 
</source>
 
Recompile the Wii homebrew application. If the Wii homebrew application is based on the template this is achieved by:
 
<source lang="bash">
 
make clean
 
make
 
</source>
 
Run the emulator:
 
<source lang="bash">
 
gcube the_application_name.elf
 
</source>
 
 
 
== Wii ==
 
 
 
Gcube stopped working in Wii mode with [[DevkitPro]] a few versions ago<sup>[[#Devkitppc_setup|1]]</sup>. The latest version, [[libogc]] 20080602, does not work. This is because libogc contains new features that are present on the Wii, but not on the GameCube. tehpola believes Gcube doesn't work because of the [[IOS]] support added to libogc<sup>[[#tehpola|2]]</sup>. Attempting to a run a Wii mode homebrew application in Gcube will result in Gcube appearing to 'hang'. No display or output will be produced. Gcube is actually spinning in 'idle_func' before any code from main() is executed. Suggestions on why this is happening are welcome.
 
 
 
== References ==
 
# <span id="Devkitppc_setup">[[Devkitppc setup#Compile the Hello World Example|Devkitppc setup]]</span>
 
# <span id="tehpola">[http://www.tehskeen.com/forums/showthread.php?t=7269 http://www.tehskeen.com/forums/showthread.php?t=7269]</span>
 

Revision as of 21:07, 7 August 2010

This is a warning to the owners of this site. My name is Shigeru Miyamoto and I am disappoint. You are breaking the DCMA laws. DCMA laws protect our freedoms far into the furture. There is over 9000 pages here and I want every single one of them gone by next week. This is not a threat but a promise. Every day after that week is up, I will sue you for $100,000 a day.

Thank you for using Nintendo. We must ensure our freedoms through use of the DCMA. This not the analog millennium one passed in 1000 A.D., but the digital one.

CEASE

AND DESIST