Difference between revisions of "Configuring MythGame Emulation"

From MythTV Official Wiki
Jump to: navigation, search
(Information)
(Commodore: Amiga)
Line 132: Line 132:
 
  -s gfx_fullscreen_amiga=true -s use_gui=false
 
  -s gfx_fullscreen_amiga=true -s use_gui=false
 
   
 
   
  Rom Path: /usr/emulators/gba/roms
+
  Rom Path: /usr/emulators/amiga/roms
 
  Span Disks: yes
 
  Span Disks: yes
 
(The Command had to be added all in one Line, it is only Splitted in Three, so it fits on the screen!)
 
(The Command had to be added all in one Line, it is only Splitted in Three, so it fits on the screen!)

Revision as of 11:28, 22 August 2005

MythGame related Wiki Pages:

Information

You will need the SVN Version of MythGame to follow these instructions. The version included in MythTV 0.18 is not covered in this document, since the configuration interface has changed drastically.

General-Setup

Firstly, we need to create folders where we can store the roms and the emulator binaries. Any of the third level (snes, gba, etc) directories are optional if you do not intend to use that specific emulator.

You will need to create the following directory structure:


/usr/emulators/snes/bin
/usr/emulators/snes/roms
/usr/emulators/gba/bin
/usr/emulators/gba/roms
/usr/emulators/n64/bin
/usr/emulators/n64/roms
/usr/emulators/amiga/bin
/usr/emulators/amiga/roms
/usr/emulators/amiga/chip   (For the Kickstart Image)
/usr/emulators/atari
/usr/emulators/atari/lynx
/usr/emulators/atari/lynx/bin
/usr/emulators/atari/lynx/roms
/usr/emulators/megadrive/bin
/usr/emulators/megadrive/roms


Nintendo: SNES

Emulator used: ZSNES (1.42)

ZNES requires a mouse for configuration in the GUI, keyboard support is not fully implemented. (But the Configuration had only to be done once!)

Most distributions include ZSNES in their package selection - Consult your package manager (rpm, dselect, emerge). If your distribution does not include it, you can to download ZSNES source from [1]. The newest Version is: 1.42

Put the binary in the /usr/emulators/snes/bin Folder. Start ZSNES to create the config file. I recommend setting the options 2x Super SAI Engine under video, so that the picture looks smoother. After configuring ZSNES and exiting you have to copy the configuration from your configuration directory (by default ~/.zsnes) to the mythtv user directory (probably ~mythtv/.zsnes).

Now you have to add a game starter to Mythtv:

Player Name: SNES 
Typ: SNES 
Command: /usr/emulators/snes/bin/zsnes 
Rom Path: /usr/emulators/snes/roms

There is also an emulator called SNES9x for Linux avialable. The quality of this emulator is near to ZSNES, but it has no frontend on Linux. If you run an SNES emulator on a system without a mouse, SNES9x is a good option because everything can be configured through the command line, which can be created with a program like SNES9x express. The controller settings can also be changed with the command line. There will be a howto added on how to setup SNES9x soon.


Nintendo: Game Boy Advance & Game Boy

Emulator used: Visual Boy Advance (1.80 SDL)

You need to get the CVS-Source if you want to run the newest Version. You also can use a older binary from the homepage, but I prefer to use the newest.

You can do a CVS-Checkout with the following command: "cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vba co -P VisualBoyAdvance"

Then we need to got into the VisualBoyAdvace directory and run : ./configure

After that we do : make

And then after compilation has completed we can copy the VisualBoyAdvance binary from the src dir to our binary directory.

You then need to edit the VisualBoyAdvance.cfg to edit your Joystick settings. If you want to change it, you can get a program called: SLD-Test from the GameBoyAdvance homepage to get the correct settings for your joystick!

Now you need to add a game starter to Mythtv:

Player Name: GBA
Typ: OTHER 
Command: /usr/emulators/gba/bin/VisualBoyAdvance -F -4
Rom Path: /usr/emulators/gba/roms

(The Parameters -F to gives full screen and -4 gives a bigger picture)

Nintendo: N64

Emulator used: Mupen 64 (0.4 + Patches))

You need to get the Source Version from the Message board, and you need my Patchset, wich is also on the Mupen Message board. (You can't use the Binary or the unpatched Versions, because the nogui Version of the Emulator does in this Versions not support Comand Line Parameters or a Config-File!)

Download Mupen Source: wget http://mupen64.emulation64.com/files/0.4/mupen64_src-0.4.tar.bz2

Download my Patchset: wget http://www.emutalk.net/attachment.php?attachmentid=26119&d=1121339769 (For Commandline Parameteter Support, Confilefile Support, Exiting via kill support!)

Extract the Mupen64.

Include the Patchset in the source: Enter patch -p1 < patch.txt in the Mupen Source dir.

Compile the Mupen nogui Version with: make mupen64_nogui

Now you need the MUPEN Plugins. You can also compile them or get them withing the binary Distribution of the Mupen Webpage (i use the second way!)

Then you can Create a config File to use with mupen64. (Here's my Config File for Example!) mupen64.conf

[Default]
Gfx Plugin = /usr/emulators/n64/bin/plugins/Glide64.so
Audio Plugin = /usr/emulators/n64/bin/plugins/jttl_audio.so
Input Plugin = /usr/emulators/n64/bin/plugins/blight_input.so
RSP Plugin = /usr/emulators/n64/bin/mupen64_hle_rsp_azimer.so
Fullscreen = true
Emulation Mode = 2
No Ask = true

And the Game Starter for Mythtv:

Player Name: N64
Typ: N64
Command: /usr/emulators/n64/bin/mupen64_nogui
Rom Path: /usr/emulators/n64/roms

Commodore: Amiga

Emulator used: E-UAE (0.8.27))

The used Emulator is E-UAE 0.8.27 wich is a backport to linux from WinUAE 0.8.27.

There are also two other Amiga Emulators for Linux aviable. These were: X-Fellow [2] and the Origanal UAE (0.8.23) [3]. And also XMESS could be used (without Sound).


Now add a player to MythGame. (The Command Line is a little bit complex, because we want to add multiple Disk Drives on multiple Disk games.)

Player Name: Amiga
Typ: AMIGA 
Command: /usr/emulators/amiga/bin/uae -s floppy0=%d1 -s floppy1=%d2 -s floppy2=%d3 
-s floppy3=%d4 -s  floppy_speed=800 -s kickstart_rom_file=/usr/emulators/amiga/chip/KICK31.ROM
-s gfx_fullscreen_amiga=true -s use_gui=false

Rom Path: /usr/emulators/amiga/roms
Span Disks: yes

(The Command had to be added all in one Line, it is only Splitted in Three, so it fits on the screen!)

Atari: Lynx

Emulator used: Handy SDL (0.82 R1)

The used Emulator can be downloaded from [4].

You also need a Bios Image from the Atari Lynx. Copy this into the Emulator Directory. (Info: You are only allowed to use a BIOS dump of your own Lynx machine!)

Player Name: Atari Lynx
Typ: OTHER 
Command: /usr/emulators/atari/lynx/bin/sdyhandy %s -fullscreen -scale 4 -sound -joystick
Rom Path: /usr/emulators/atari/lynx/roms

Sega: MegaDrive/Genesis

Emulator used: DGEN/SDL (1.23)

The used Emulator can be downloaded from [5].

You cannot download a Binary on this Page, only Source. The compile of the Source Code failed on my system, so i used the Binary comming within the Debian Repository (get it via: apt-get install dgen)

Player Name: MegaDrive
Typ: OTHER 
Command: /usr/emulators/megadrive/bin/dgen -f -G 800x600 -j
Rom Path: /usr/emulators/megadrive/roms