Next in this series is how to get some emulators up and running. I already mentioned how easy it is to get a PS3 remote connected via USB to a linux box. You simply open a terminal and type 'sudo apt-get install libusb-dev libusb-0.1-4 xserver-xorg-input-joystick'. You now have full control of your system via the controller and it will work with games.
The NES emulator which I am using is called FCEUX NES Emulator. To get it, you simply go to the Software Center (on your unity bar) and type in its name and install it. You can either launch it from your unity bar (which is where it will be placed upon succesful install) or open a terminal and type 'fceux'. Under the Options tab, you will find a standard display for configuring your gamepad, just click what you want to change and press the corresponding button. Under options is a choice to go full screen.
For SNES, I use ZSNES. It claims it is available on the Software Center, but it seems to have been removed. To get it, open a terminal and type 'sudo apt-get install zsnes'. To launch it, simply type zsnes. To get a good configuration for your controller, you probably should edit a file instead of trying to use the ZSNES configuration menu. To do this, open a terminal and type 'gedit ~/.zsnes/zinput.cfg' A new window will open with a whole bunch of junk. Simply copy and replace the below in it's appropriate section (near the top).
; Player 1 Input
; Input Device: 0 = Unplugged, 1 = KEYBOARD/GAMEPAD
; Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
; Turbo Keys for A, B, X, Y, L, R
; Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
Save and close the file and launch zsnes from the terminal with 'zsnes'. After that, use the menu to load a ROM and off you go playing!
For this, I am using Mupenplus64. Admittedly, I haven't done much with this... I just got it up and working and made sure Ocarina of Time worked. To get it, type 'sudo apt-get install mupen64plus'. This should download it. For some reason, I had to change my permissions to .config, so (if it doesn't work right away) type 'chmod 770 ~/.config'. Mupen has NO gui natively, though you can download one if you care to. Else, simply run the command 'mupenplus (path to rom)'. For example, if you just downloaded a rom from the internet, it will probably be in ~/Downloads. So run 'mupenplus64 ~/Downloads/gamename.rom'
Gamecube and Wii
If you have a bluetooth dongle, you can use that with the wiimote, but I don't and haven't looked at getting that working. Plus, the wiimote and I do not get along, so I don't really care to.
We will be using Dolphin for these emulators. You can read the instruction here or follow along.
We will need to install a lot of 'dependencies', basically software that will allow dolphin to work. Open a terminal and type:
sudo apt-get install cmake git g++ libgtk2.0-dev libsdl1.2-dev nvidia-cg-toolkit libxrandr-dev libxext-dev libglew1.6-dev libao-dev libasound2-dev libpulse-dev libbluetooth-dev libreadline-gplv2-dev libavcodec-dev libavformat-dev libswscale-dev
Some you probably already have, but this will get everything you need. This will take a long time.
Then type 'git clone https://code.google.com/p/dolphin-emu/ dolphin-emu'. This will clone the git repository and place it in a directory called 'dolphin-emu'.
Change to the newly created directory 'cd dolphin-emu'. Then type 'mkdir Build && cd Build'. This is creating a directory called Build and changing into that directory. Then type 'cmake ..' (including the periods). Then type 'make'
This will take a long time. After that, type 'make install' which will install it. (also takes a long time). You might get an error at the end, ignore it. You have it installed!
Simply type 'dolphin-emu' in terminal and wha-lah, there you have dolphin! You can get your controller working by clicking on the 'GCPAD' button and configuring like normal. Then just start up an ISO (or any format it is) of the game
and you are ready to rock and roll! You can change many settings, resolution and go full screen to get an awesome experience!