Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Linux Software

Linux on the Gamecube? 45

An Anonymous Coward asks: "Previously on Slashdot we have covered the hacking and programming of numerous consoles,- the Xbox, Dreamcast , and of course the Playstation 2. With Linux migrating to all of these platforms as fast as you can blink, why isn't it that I haven't heard anything about the Gamecube. These little beasts have been promoted by Nintendo as easy to develop for, so are there as yet any open source tools for Gamecube development? Are there any Initiatives to get an alternative OS on these systems? The feature of being able to plug a gameboy advance into one of these units makes them even more hack worthy." There was a Sourceforge project for this, but it's activity stats are fairly flat. What barriers are there in getting Linux to run on this piece of hardware, and how do they compare with the difficulties faced by similar projects on the X-Box?"
This discussion has been archived. No new comments can be posted.

Linux on the Gamecube?

Comments Filter:
  • Impossible (Score:5, Informative)

    by Apreche ( 239272 ) on Thursday July 18, 2002 @07:39AM (#3907566) Homepage Journal
    It is 99% impossible to get software you wrote to run on the gamecube. The problem is that Nintendo, being smart to avoid piracy, always uses a proprietary media format to put games on. The Gamecube's OS doesn't do much but run games. It looks for discs and runs them.
    You CAN'T make a Gamecube disc without Nintendo's help. It's a small DVD that spins the opposite direction. Nothing you can buy can make one of those.
    The Gamecube will have a broadband adapter, but you can't make it boot from that. It also has no hard drive, so where are you going to store all the data? RAM?
    The best bet is to explore the possibilities of the GBA link. You can make a GBA game. And you can store some data in the GBA cartridge, but not much. If the Gamecube will run and begin playing from a linked GBA the BEST you could do is have 4 GBAS with 4 different cartridges be your hard drive/boot device. Then use the broadband adapter and your computer to control everything.
    All in all, even if you could make a gamecube disc, the cube isn't very useful for anything other than playing gamecube games. And codwarrior will eventually have a dev kit. So if all you want is to make games, I'm sure Nintendo will be happy to make discs if your game is extrememe high quality.
    • Makes me wonder if those GBA compact-flash adaptor cartridges might be useful for this kind of project. That is, if the company that makes them hasn't gone out of business yet.
    • I guess this means those talented developers are free to write linux that runs on my Five-Star Mead Notebook.

    • And codwarrior will eventually have a dev kit.

      Actually, CW already has a dev kit out for the cube. Unfortunately it's only the software portion that they sell, which is completely useless without a GC dev station (try getting even a picture of one of these!). The only way I can see getting anything but games on the GC is via a modchip which will at least allow booting off of mini-CDRs.
    • Re:Impossible (Score:2, Interesting)

      by ianpatt ( 52996 )
      The gameboy link isn't that helpful either. The GameCube doesn't actually boot from the GBA, it just uses the link cable to send data back and forth.

      I see two major possibilities:
      * Using either the GBA link cable or the ethernet adaptor to do a buffer overflow, using a small loader stub as the payload. Once you have the loader stub running on the system it would be possible to upload and run whatever you want.

      * Taking advantage of the GameShark. Once InterAct finally releases the thing, changing memory on the GameCube live will be much easier. If they add a computer connection port like on the Saturn Pro Action Replay, then Linux on the GameCube will become an exercise in reverse-engineering. Of course, this is easy on the Saturn: the cartridge port exposes the main CPU bus, but.. I'm still hoping...
    • I agree with your points, but you must admit, the same "impossiblity" has been claimed for previous systems too. :) Someone will figure out a way to do it sooner or later. If not linux, then at least some kind of home-brew dev'ing of some type.

    • If the CD spins backwards, and reads data in reverse, why shouldn't you be able to write the bitstream in the order it will be read? Unless it reads from outside to in, this seems feasible. And as far as your point of where the HDD would be, several distrobutions load a run completely in a ram drive, and still more are able to run as live CD's.
      • If the CD spins backwards, and reads data in reverse, why shouldn't you be able to write the bitstream in the order it will be read?

        Metadata ! You don't control the Metadata ! The writer does .. (Checksums start/stop bits on the media ) So even if you reverse your program bit for bit and write it on the disk, the reader won't find itn because the checksums won't work..

        • Indeed - we can't control the metadata itself - we'll just have to determine a way to write the metadata itself backwards as well. Brilliant.

          Oh, gee look - we can just make it spin the opposite direction, how painstakingly obvious it is to just reverse the direction of the spinning and viola - normal dvd reading, small form factor. A simple switch on the side and we can change which direction it'll spin. Granted it's a hardware mod, but hardly damaging to the unit itself or particularly difficult (not like soldering an ide header and micromotherboard to the beast just to "get booting" as it were.

          Now, if it still uses some fancy proprietary format on top of that we still need to be writing in that format.
      • Just make sure you order an Australian (or other southern hemisphere country) version, which must spin in the opposite direction to the US/European versions due to the coriolis force.

        And you thought that DVD region coding was just a few bits! Do you know how hard it can be to get backwards DVD's sometimes?
    • Nintendo is not rich enough to mass manufacture its own DVD mechanisms. I'd bet my wife that the Gamecube DVD drives are just stock Panasonic DVD mechanisms in smaller packages, with a firmware or program that tells them which way to spin.
      Compare this to the Dreamcast which used a proprietary "GD-ROM" technology which was considered immune to piracy. Dreamcasts were actually made of stock Yamaha CD-ROM mechanisms. Of course it was cracked about 7 months after the DC's US launch. Hackers just made a program that allowed them to access the program as a normal CD-ROM.
      • They appear stock. Disassembly showed that although the drive plays the small discs, the laser pickup has enough traversing room to read a full-sized disc.
  • Easy? (Score:2, Informative)

    by jacoberrol ( 561252 )
    Yes, I have heard that the Gamecube is easier to develop for, but that doesn't necessarily mean it will be easy to port Linux. It just means that the Gamecube has a nice API sitting on top of whatever OS they have running it, which makes programming games nice. Since the hardware is proprietary and documentation is not widely available I would imagine it is damned difficult to port Linux to the Gamecube.
  • Panasonic Q (Score:3, Interesting)

    by Anonymous Coward on Thursday July 18, 2002 @08:16AM (#3907648)
    Speaking of using strange media, Panasonic has licensed the gamescube engine from nintendo, and created something called the "Panasonic Q" (this has been covered on slashdot), that seconds as a DVD player. This is probably the best place to start seeing as how you can get fullsize cds and dvd into the drive. As for the part about the gamecube discs spinning backwards, that's a bit more difficult to address.
  • by Anonymous Coward
    What I want to know is has anyone hacked that damn Volvo and got Linux running on it?
  • by Anonymous Coward
    A SourceForge project without any activity?

    Now I've seen everything!
  • by Wakko Warner ( 324 ) on Thursday July 18, 2002 @09:52AM (#3908098) Homepage Journal
    I'd probably just play games with it.

    Linux on my computer, where it belongs.

    Games on my Gamecube, where they belong.

    What is the point of anything else?

    - A.P.
    • <tongue-in-cheek>

      Let me get this straight...

      You have a Gamecube, which you've purchased with your hard-earned money, so you can play games on it.

      You have a Gamecube so you can play games. Ok, I'm with you so far...

      You have a computer, which you've purchased (or, more likely, self-built) with your hard-earned money, so you can run Linux on it.

      You have a computer so you can run Linux. Ok, I think I've lost you, here... that's your application? Sure, Linux is fun... but I don't know if that would be the reason I'd have a computer.

    • Really, they cause all kinds of problems, and if the disk is writable, it will eventually be hosed by the user.

      A GameCube running linux with a read-only boot drive and a cable modem is what most people need for a computer. Used to be called a Network Computer, but went out of fashion because people didn't have cable modems.
  • by rrwood ( 27261 )
    A couple people have pointed out that the GameCube media is highly proprietary (size, data format, rotational direction), and that the likelihood of creating one of these disks without Nintendo's support is pretty slim.

    Another possibility I've wondered about is just removing the drive and hooking up a drive simulator. Building the hardware to simulate the electrical/data behaviour of the drive would be non-trivial, but probably still possible, no?

    Anyone care to comment on that idea?

    -Roy

  • considering the GC is just a an IBM PPC chip similar to the popular G3 PPC chip, and an ATI gpu that i heard was supposed to be on par with the 8500 chip, it should not be terribly difficult to modify existing Linux PPC code that runs on a B/W G3 with an ati card. Since the IBM chip does not include AltiVec and since Linux PPC dosent support it (i dont think) the existing code should be close.

    of course the only difficult part will be the media. couldnt you reverse the polarity on the platter motor of the CD burner to make it spin the opposite way while burning? is the data being written dependant on the direction of travel of the disk? i thought it was just a stream of data to the laser and a spinnind disk (horribly simplified, but...). the panasonic Q offers support for full sized media so that shouldnt be to big of a problem.

    As it appears to me there was more standing in the way of linux on the DC. GD ROM format wasnt exactly standard.

    do i think well see it, i hope so. Do i think we'll have reversed engineered software legaly running on the xbox first, yes.

    $.02

    • A large amount of custom code will still need to be written to support the unique hardware inside the GameCube. This is not as easy as you assert. For example, let's take the graphics chip. Since ATI is not very open with the register-level specifications for their hardware, LinuxPPC only supports ATI cards in framebuffer mode. I'll bet that since no game would be using simple VGA-style hardware access, support for this mode has been removed from the chip.

      Linux for Dreamcast was possible because the Dreamcast also reads and boots from standard data CDs without a problem.
    • > couldnt you reverse the polarity on the platter motor of the CD burner to make it spin the opposite way while burning? The disc itself is a spiral of places to burn bits. The disc is not a perfectly isotropic field of space where the burner decides where to make tracks - it has a specific groove it has to follow.
  • to put something Microsoft hates on their own systems. Sony doesn't have any reason to hate open source tools, and is therefore cooperative.
  • Rich, "Lowtax" Kyanka and The SA LinuXbox Team has acquired the proverbial powerup and won the game. Now, the SA LinuXbox team is eagerly awaiting their $200,000 paycheck for their monumental achievement.

    Instructions for installing Linux on your very own Xbox can be found at Project: LinuXbox [somethingawful.com].

    This isn't too surprising, however, given that the Xbox has been around for centuries. I submit my proof of that fact with Exhibit A [somethingawful.com] and Exhibit B [somethingawful.com]
    • ummm....wrong console. Nevermind. The real point is that Xbox is 1337!!!!

      3iLL G4te5 designed the Xbox to run lunix and staroffice and gmip and gnu and gcc will compile halo for linux on the Xbox.

      !!!!!!!!!!!!!!!!!!!!!
  • I believe the development kits that many developers have recieved contain gamecubes with cartridges, because they cannot burn their own discs to test them. Maybe a cart gamecube could be built that we can use.

The optimum committee has no members. -- Norman Augustine

Working...