From the awesome things you could be doing right now file
Integrating the classics
So gang, what’s cooler that being able to play your classic NES roms in Linux rather than on your dusty old NES Control Deck? Installing them alongside your other apps, that’s what. And that’s just what we set out to do! Sure, it’s not the best way to manage your collection of a million ROM images, but for those of us who are a little more practical and interested in playing only a handful of classics, this is the coolest possible way to do it.
First thing’s first; these games aren’t going to play themselves! Let’s hit up the archives and grab a capable, command-line driven emulator for NES games. You’ll hear me mention Mednafen from time to time on The Powerbase, and for good reason; it’s my favorite emulator of all time. Once you’ve run through the guide, you should have the tools to pull this off with whichever emulator you like best. Now, let’s install it.
sudo apt-get install mednafen
Now here is the tricky part. You’ll need an icon to launch your game. You don’t have to have one, but if you don’t what will be the point? If you are actively playing a classic game like The Legend of Zelda, you might wish to put it in the Unity launcher for one click access. That won’t work very well with out an icon. I whipped up this one on the right with the Gimp for The Legend of Zelda.
Now that you’ve got the icon, let’s make a special directory for it.
sudo mkdir /usr/share/icons/nes/
Assuming that this icon is in your downloads folder, do the following;
sudo cp ~/Downloads/zeldaubuntu.png /usr/share/icons/nes/
Last step
Now, all we’ve left to do is to make a desktop entry for this. Create this file with something like nano, like this;
sudo nano /usr/share/applications/thelegendofzelda.desktop
Then, put the following goodies inside.
[Desktop Entry] Name=The Legend Of Zelda Comment=The classic NES hit, now for Ubuntu! Exec=mednafen '/home/dean/Games/Nintendo/NES/Legend of Zelda, The.zip' Terminal=false Type=Application Icon=/usr/share/icons/zeldaubuntu.png
“Name” is how the applications will appear in the Gnome menu, or Unity Dash. “Comment” is not necessary. “Exec” is the actual command that makes this all happen. Substitute the path to your own ROM file for this to function. “Icon” is simply the path to the icon used for this game.
Save the file and your “installed” game should be available in the Dash immediately. Want quickly access? Just drag it over to your Unity Launcher and enjoy!


Pingback: http://www.thepowerbase.com/2012/10/how-to-install-nes-games-in-ubuntu-12-10-quantal/ « brave new waves
Pingback: Links 24/10/2012: Fortress 2 Comes to GNU/Linux, Raspberry Pi Opens ARMs | Techrights
Pingback: Anodyne, A 16-Bit Style Action RPG, Released For Linux