=====Installing Emulators===== ====Important - Pin your Repositories==== In these tutorials, you will have to add repositories to your sources.list file. Before changing your sources.list file, make sure you have **pinned your repositories** using the guide //at the bottom of// the [[:addingxandrosrepos]] tutorial. This will hopefully prevent anything irreversible from happening. ===Do This First - Install Repository=== Open a terminal (Hold 'Ctrl'-'Alt', Press 't'). Open your sources.list, by typing: sudo kwrite /etc/apt/sources.list Input the Xandros Repositories, from which you will install the emulators: '' deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free '' Save the file, and exit. Now type: sudo apt-get update Your system will update its repository data. Now reboot your Eee. ====SNES Emulation==== ===Zsnes === Zsnes has a known issue with the libsdl1.2debian-alsa package, which is installed by default on the original Eee 4gb (and perhaps other models). The sound output is crackly and erratic unless you address this issue. ==Step 1 - libsdl1.2debian-oss== In the terminal, type: sudo apt-get install libsdl1.2debian-oss This command should uninstall libsdl1.2debian-alsa and replace it with libsdl1.2debian-oss. Now, reboot your computer. ==Step 2 - Install== After rebooting, open a terminal and type: sudo apt-get install zsnes Now, reboot your Eee. ==Step 3 - Play== (You'll need to have gotten hold of ROM gamefiles to do this.) Open a terminal, and type: zsnes From within the Zsnes interface, select a ROM, and play away. ==Step 3 - Optional== If you want to put Zsnes into your AsusLauncher Easy Mode, use this tutorial: [[:customizeeasymodeicons]]. You may want to alter the resolution in Zsnes to 640x480 Fullscreen for Optimal Play. If you would like to open your gamefiles from Xandros File Manager, right click on the ROM, and click Open With. In the dialog that pops up, type: zsnes From now on, just press 'Up' on this screen to find zsnes in your Eee's file association memory and then press 'Return'. You can also tick the box at the bottom to make sure FileManager remembers the association, so that all you have to do is double click the file in File Manager, and the emulator will launch automatically. All of your save data and configuration files for zsnes is stored in the hidden directory on your home folder ".zsnes" If you want to back up your saves, copy this directory elsewhere. If you have previous save data, copy it here. ===Snes9x=== ==Step 1== Open a terminal. Type: sudo apt-get install gsnes9x Wait for the installation to finish, and then reboot your machine. ==Step 2 - Using snes9x== **Method 1** snes9x is a command line emulator, so you'll have to use it in the terminal, and tell it which file you want to open. In the terminal, type: snes9x You will get a list of command line parameters for using snes9x. You'll want to experiment with these. **Method 2** If you right click on the gamefile in File Manager, and click Open With in the context menu, you'll get a dialog box where you can input terminal commands for an application to run the file in. Assuming you are competent with the command line parameters in Method 1, use them here. This will launch the game straight away. Once you've inputted your standard snes9x command, it'll be saved in the Open With menu, so all you have to do is press 'Up' in the Open With dialog, and it'll reappear. You can also tick the box at the bottom to make sure FileManager remembers the association, so that all you have to do is double click the file in File Manager, and the emulator will launch automatically. **Method 3** A graphical user interface for snes9x should be installed with the emulator in Step 1. It's called GSnes9x. To use it, in the terminal, type: GSnes9x This command is case-sensitive, so copy it exactly. This GUI will open up. You can follow the [[:customizeeasymodeicons]] tutorial to put an icon for GSnes9x in your Asus Launcher menus. Tip: Snes9x doesn't seem to launch in fullscreen, but pressing 'Alt'-'F11' (or whatever the fullscreen shortcut that you use is) seems to do it perfectly! ====Sega Genesis/MegaDrive==== ===Dgen=== ==Step 1== Open a terminal. Type: sudo apt-get install dgen Wait for the installation to finish, and then reboot your machine. ==Step 2 - Using snes9x== **Method 1** dgen is a command line emulator, so you'll have to use it in the terminal, and tell it which file you want to open. In the terminal, type: dgen You will get a list of command line parameters for using dgen. You'll want to experiment with these, to get the setup you want. **Method 2** If you right click on the gamefile in File Manager, and click 'Open With' in the context menu, you'll get a dialog box where you can input terminal commands for an application to run the file in. Assuming you are competent with the command line parameters in Method 1, use them here. This will launch the game straight away. Once you've inputted your standard dgen command, it'll be saved in the 'Open With' field, so all you have to do is press 'Up' in the 'Open With' dialog, and it'll reappear. You can also tick the box at the bottom to make sure FileManager remembers the association, so that all you have to do is double click the file in File Manager, and the emulator will launch automatically. ===Generator=== ==No installation necessary - Download and Play== Go to the following website: http://www.squish.net/generator/ Download the latest generator-gtk package from there, and extract it to a folder of your choice on your Eee. Double-click on the generator-gtk file to start the emulator. Tip: After loading the ROM from the GUI, you must tell the emulator to START emulation. Tip: The website has some good documentation on using generator. If you want to add a Generator icon to you Asus Launcher, follow the [[:customizeeasymodeicons]] tutorial: ====Playstation==== ===Do This First - Install Repository=== Open a terminal (Hold 'Ctrl'-'Alt', Press 't'). Open your sources.list, by typing: sudo kwrite /etc/apt/sources.list Input the Debian Repositories, from which you will install the emulator: '' deb http://ftp.se.debian.org/debian/ etch main non-free '' Save the file, and exit. Now type: sudo apt-get update Your system will update its repository data. Now reboot your Eee. ====PCSX==== ==Step 1 - Install== Open a terminal and type: sudo apt-get install pcsx Wait for the installation to finish. Now, reboot your Eee. ==Step 2 - Plugins== Most Playstation emulators use plugins, and pcsx is no different. Plugins are modules that deal with different areas of emulation such as Sound (SPU), Graphics (GPU), CD drives (CDR) and Controls (Input), so that the emulator can be customized as much as possible to the game that you want to play. As it happens, the plugins that come with the installation of pcxe can play games straight away, but the graphics plugin isn't ideal for use with the Eee. You'll want to download the latest version of 'Pete's MesaGL GPU' Plugin in order to be able to run pcsx in fullscreen, with the best graphics. To do this, search for Pete's MesaGL GFX PSX Plugin. You'll probably find it at Pete's site: http://www.pbernert.com/ Download the latest version of Pete's MesaGL Linux PSX GPU. You will need to extract the content of the package to a directory created by pcsx. Run pcsx by opening a console and typing: pcsx Close pcsx and extract all of the files in the package to the plugins directory in your pcsx directory. This is a hidden directory in your /home/user folder. It'll be called ".pcsx" So it's at: /home/user/.pcsx/plugins Make sure all the files in the package you downloaded are extracted to that address. (You can see hidden files by clicking on 'View' in File Manager, and clicking 'View Hidden Files.') When you are configuring the plugins, from within pcsx, you'll want to select this plugin from the dropdown list. ==Step 3 - Using pcsx== In the terminal, type: pcsx This will bring up the pcsx GUI. If you have installed new plugins, you should make sure they are selected in the plugin menu. You should also configure your controls. To play a game, you will either need to have a CD drive attached to your Eee in which you can put PSX discs, or you will need to have image files made of a Playstation disc. In the file menu, you can select whichever of these you'll want to use. If you want to open an image file, you'll have to navigate to where the image file is. Click it and play away. If you want to add pcsx to your Asus Launcher interface, follow the [[:customizeeasymodeicons]] tutorial. Tip: FULLSCREEN The Fullscreen shortcut that is supposed to work for pcsx doesn't seem to work for me. Here's how I get fullscreen. If you've installed Pete's MesaGL Linux PSX GPU, you can play in FULLSCREEN by ticking the fullscreen box in the GPU plugin configuration menu. Once you start a game, the screen will black out for a few seconds, and then you'll be given a windowed display again (ugly!). But it'll be a windowed display that is about the right size for fullscreen. All you have to do from here is press 'Alt'-'F11' (or whatever your fullscreen shortcut is) and you'll be in fullscreen. ====DOSBOX==== ==Step 1 - Install== Open a terminal and type: sudo apt-get install dosbox ==Step 2 - Configure== Open a terminal (Konsole), and type: dosbox In the Dosbox console type: config -writeconf dosbox.conf go back to the shell/terminal/Konsole, and enter: cd /home/user/ kwrite dosbox.conf Every game has different settings. It requires some playing arround to get used to the right setting, but mainly you can say the following configuration is a good one for the eee: fullscreen=true fulldouble=false fullresolution=800x480 windowresolution=800x480 output=surface autolock=true sensitivity=100 waitonerror=true priority=higher,normal mapperfile=mapper.txt usescancodes=true language= machine=vga captures=capture memsize=16 frameskip=0 aspect=false scaler=normal2x core=normal cycles=4500 cycleup=250 cycledown=250 nosound=false rate=44100 blocksize=2048 prebuffer=20 mpu401=intelligent device=default config= sbtype=sb16 sbbase=220 irq=7 dma=1 hdma=5 mixer=true oplmode=auto oplrate=44100 gus=true gusrate=44100 gusbase=240 irq1=5 irq2=5 dma1=3 dma2=3 ultradir=C:\ULTRASND pcspeaker=false pcrate=44000 tandy=auto tandyrate=44100 disney=true joysticktype=none serial1=dummy serial2=disabled serial3=disabled serial4=disabled xms=true ems=true umb=true ipx=false mount c /home/user/D4/DOS Mainly change the sound frequencies to 44100hz, check the prebuffer (mixer), disable the pc speaker GUS & serial ports, and put at the end of the document your mounting drive by typing "mount c xxxxxxx" (without bracklets and replacing the xxxxx with your DOS directory). You could enable or disable doublebuffer if you notice video or cpu performance issues. You could also set the DOS memory from 8MB for small 2D games,upto 32MB for more 3D oriented games. ==Step 3 - Run Dosbox== Once that's done, close everything, run dosbox. In dosbox type "c:" (without bracklets) The rest should be pretty straight forward basic DOS commands. ====Mupen64==== ==Step 1 - Download the script== Download the script and save it to /home/user: http://h1.ripway.com/Dez/Mupen64-Script-thegreenblob.sh ==Step 2 - Run the script== Open the terminal and do this command. sudo sh /home/user/Mupen64-Script-thegreenblob.sh The terminal will output a whole load of stuff on the screen. Once it appears to have finished, you can execute Mupen64 via Launch > Applications > Games > Mupen64. To Uninstall: Just run these 3 commands in the terminal: sudo rm -r /usr/local/games/mupen64-0.5 sudo rm /usr/share/applications/mupen64.desktop sudo rm /usr/local/bin/mupen64 Original tutorial by thegreenblob: http://ubuntuforums.org/showthread.php?t=464165 [[http://www.portabilite.info|rio b and you]] [[http://www.obtenir-rio.info|sfr]]