r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

How To: Compile and Use the Dolphin Gamecube/Wii Emulator in Linux

r3dux | March 21, 2010

It’s really easy to get this emulator up and working – but you do have to compile it yourself in linux – still, it’s only a couple of commands and you’re set. I did it on Ubuntu 9.10 64-bit and it worked like a charm…

Update (04/07/2011): Easiest way yet – simply add the PPA and get it (for Ubuntu 10.10 & 11.04 32/64 bit only) like this:

sudo add-apt-repository ppa:glennric/dolphin-emu
sudo apt-get update
sudo apt-get install dolphin-emu

Update (Older than above): I found that you can download pre-compiled .deb files for Ubuntu 9.10 here (PPA addition required) – be careful with that sudo apt-get upgrade command in the instructions though – I don’t really think you need it and you probably don’t want to upgrade your entire linux distribution just to play an emulator… I’m confusing sudo apt-get upgrade (which upgrades currently installed packages) with sudo apt-get dist-upgrade (which updates your linux distribution if there is a newer version available) – my bad.

Either way, I’d recommend you just compile it yourself – it only takes a couple of minutes.

Update – Nov 2011: Like anything published, it ages and what might have been correct at the time of writing may no longer be the case – so with that in mind, if you’re going to build your own copy of Dolphin, you’re probably best off going to http://code.google.com/p/dolphin-emu/wiki/Linux_Build and using the instructions there.

#Get the project dependencies
sudo apt-get install subversion scons g++ wx2.8-headers libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libgtk2.0-dev libsdl1.2-dev nvidia-cg-toolkit libxrandr2-dbg libxrandr-dev libxext6-dbg libxext-dev libglew1.5-dev libcairo2-dbg libcairo2-dev libao2 libao-dev libbluetooth-dev libreadline5-dev
 
# Make a directory to get the source and go into it
mkdir dolphin
cd dolphin
 
# Grab the latest source code through subversion
svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only
 
# Get to the right location to build the emulator (it needs to be the one with the SConstruct file in it)
cd dolphin-emu-read-only/stable
 
# Build it!
scons flavor=release

Issues: If you’re getting errors along the line of Looking for lib Cg… no. Plugin_VideoOGL must have cg and cggl to be build, then the fix is to install the nvidia-cg-toolkit package with:

sudo apt-get install nvidia-cg-toolkit

With all that done, it takes around five minutes to compile and build, then you can go to the Binary folder inside your source-code download location to find the executable and launch it. Once it’s up and running just go File | Open and point it at an Wii or Gamecube ISO and you’re in business!

Dolphin Gamecube/Wii Emulator

By default you get a gamecube controller bound to the keyboard (Enter = Start button, x = A button, cursor keys up/down/left/right) and an emulated Wiimote is bound to the mouse (where the left mouse button is the A button), but you can use joysticks, real Wiimotes etc as well without too much fuss. Fantastic stuff :)

If you’re having any issues, just read more about linux confix/setup/dependencies here, while the main Dolphin wiki lives here.

Related posts:

  1. How To: Delete Stuff Stuck in your Linux Trashbin
  2. How To: Fix Wii Virtual Console Black Screen Problems
  3. How To: Use a Wired XBox 360 controller in Linux
  4. How To: Mount a SD card in Linux
  5. How To: Mount a NAS in Linux (via CIFS)
Categories
Gaming, How-To
Tags
build, Compile, Dolphin, emulation, Emulator, Gamecube, scons, Wii
Comments rss
Comments rss
Trackback
Trackback
Print This Post Print This Post

« JavaScript: A Countdown Timer for Dates HTML: Image Maps Are Easy! »

5 Responses to “How To: Compile and Use the Dolphin Gamecube/Wii Emulator in Linux”

  1. abhifx says:
    June 4, 2010 at 3:43 am

    great guide. thanks

    Reply
  2. roger says:
    June 5, 2010 at 9:16 pm

    start but does not work

    ro@casa-ubuntu:~/dolphin/dolphin-emu-read-only/Binary/Linux-i686$ ./dolphin-emu
    11:15:301 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00000001/00000002/content/:
    11:15:930 Source/Core/DolphinWX/Src/X11Utils.cpp:107 N[Video]: XRRExtension-Version 1.3
    11:15:935 Source/Core/DolphinWX/Src/X11Utils.cpp:144 N[Video]: Fullscreen Resolution 640×480

    Reply
    • r3dux says:
      June 5, 2010 at 11:56 pm

      Works for me – you”ll have to nudge the dolphin forums w/ your issue – g’luck!

      Oh, and also it could be the ISO or .WAD file that you’re pointing the emulator at – make sure you try out a couple of different ones – maybe it’ll just be an issue with a specific game.

      Reply
  3. vashness says:
    November 23, 2011 at 4:01 pm

    Hi i start it but when ever i try to start a game it just closes, it does not give me an error message or anything it just goes blank and closes, im using ubuntu 10.10 iv tried at least or 4 different roms/iso but it still does it, any ansewrs? please help.

    Reply
    • r3dux says:
      November 24, 2011 at 4:44 pm

      Have you tried launching it from bash? That should provide some debug info like in roger’s comment above…

      Also, did you grab the PPA version or build your own? Which ever you chose, try the other! =P

      I just built a copy myself to test it by installing the required libs from the list here: http://code.google.com/p/dolphin-emu/wiki/Linux_Build and then issuing the following commands:

      $ mkdir Dolphin
      $ cd Dolphin
      $ git clone https://code.google.com/p/dolphin-emu/ dolphin-emu
      $ cd dolphin-emu
      $ mkdir build
      $ cd build
      $ cmake ..
      $ make
      $ sudo make install

      Works fine! =D

      Reply

Leave a Reply

Click here to cancel reply.

Translate

Categories

Archives

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Error Film Flash FPS GLFW Glitch GLSL Hack How-To install Java Kinect Linux Live Mash-Up Microsoft Motion mount OpenGL Particle Problem PS3 Remix Retro script Slides Sound Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“I predict a piss-up.”

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox