Fedora Linux Support Community & Resources Center
  #1  
Old 8th April 2008, 07:13 PM
dieyoubastard Offline
Registered User
 
Join Date: Apr 2008
Posts: 3
SNES in FC7

Installing and Configuring SNES9x and SNES9express on Fedora Core 7 KDE

My Specs
--------
Microsoft Sidewinder Plug n Play gamepad (/dev/input/js0)
Megaworld usb 2 axis 8 button gamepad (/dev/input/js1)
Sound Blaster X-Fi Extreme Audio (/dev/dsp)

----
INSTALL
Use yum to install *snes*
Installs snes9x (the backend) and snes9express (the frontend).

RUNNING SNES9EXPRESS
MUST run snes9express (and snes9x) as a normal user, not ROOT. If you normally login as root you can use the kde menu editor (kmenuedit) to run snes9express as a normal user permanently.

PERMISSIONS
You must make an audio group.
You must add the normal user to the audio group.
Must give audio group permissions over the sound and joysticks:

Give the audio group read/write permissions over /dev/dsp and /dev/input/js0 and js1.
HOWEVER, if you do it manually the permissions get reset to the default at restart by udev. To get past this problem you must set the permissions in /etc/security/console.perms.d/50-default.perms

Find and change the following parts in /etc/security/console.perms.d/50-default.perms thusly:

Parts BEFORE
<console> 0600 <sound> 0600 root
<console> 0600 <joystick> 0600 root

Parts AFTER
<console> 0660 <sound> 0660 root.audio
<console> 0660 <joystick> 0660 root.audio

Add the normal user to the audio.
Permissions stick after restart.

SNES9EXPRESS PROFILE
Make sure the snes9express default profile says:
Current: -joydev1 /dev/input/js0 -joydev2 /dev/input/js1 <nameofsomegame>
Do this by deleing anything in the snes9express profiles and then setting the paths to the joysticks (gamepads) in Preferences. Then go and save the profile, set it as the default, never ever **** with it, and then tell snes9express to always start using the default profile at startup.

To Make It Look Nice:
Change the video settings:
tvmode is 2xSAI
Scale On
Hi Res On

Then save the profile if it looks like the below: (go ahead, **** with it)
-scale -hires -y4 -joydev1 /dev/input/js0 -joydev2 /dev/input/js1 <nameofsomegame>

SNES9X.CONF
by default goes in: /home/<user>/.snes96_snapshots.
You can probably change this location in the snes9express Preferences.
My snes9x.conf file is set to worky with my controllers.

To set the snes9x.conf I had to copy the default snes9x.conf.default from
/usr/share/doc/snes9x-1.51/ to /home/<user>/.snes96_snapshots. Then I had to use snes9express's controller interface to find the button mappings and copy them into snes9x.conf. Never set button mappings in the snes9express interface. I also set Port2 from none to Pad2. Don't know if that mattered.

SAMPLE snes9x.conf
-----------

[CPU]
Cycles = 100
DisableIRQ = FALSE

[Controls]
ClearAll = FALSE
Joystick = TRUE
JustifierMaster = TRUE
MP5Master = TRUE
MouseMaster = TRUE
Port1 = pad1
Port2 = pad2
SuperscopeMaster = TRUE
Mouse1Crosshair = 1 White/Black
Mouse2Crosshair = 1 White/Black
SuperscopeCrosshair = 2 White/Black
Justifier1Crosshair = 4 Blue/Black
Justifier2Crosshair = 4 MagicPink/Black

-------

THIS EMPTY SECION IS ALL DEFAULT SETTINGS

-------

[Unix/X11 Controls]
EnableJoystick = TRUE
Joydev0 = /dev/input/js1
J00:Axis0 = Joypad1 Axis Left/Right T=50%
J00:Axis1 = Joypad1 Axis Up/Down T=50%
J00:B1 = Joypad1 A
J00:B0 = Joypad1 B
J00:B3 = Joypad1 X
J00:B2 = Joypad1 Y
J00:B4 = Joypad1 L
J00:B5 = Joypad1 R
J00:B8 = Joypad1 Select
J00:B9 = Joypad1 Start

J01:Axis0 = Joypad2 Axis Left/Right T=50%
J01:Axis1 = Joypad2 Axis Up/Down T=50%
J01:B2 = Joypad2 A
J01:B0 = Joypad2 B
J01:B3 = Joypad2 X
J01:B1 = Joypad2 Y
J01:B4 = Joypad2 L
J01:B6 = Joypad2 R
J01:B8 = Joypad2 Select
J01:B9 = Joypad2 Start

-------

THE REST OF SNES9X.CONF IS ALL DEFAULT

-------
Reply With Quote
  #2  
Old 8th April 2008, 07:15 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Moved to the Gamers Lounge
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #3  
Old 8th April 2008, 07:44 PM
jrummy27's Avatar
jrummy27 Offline
Registered User
 
Join Date: May 2007
Location: Raleigh, NC
Age: 29
Posts: 304
Nice guide. I've tried just about every emulator I could get my hands on and never once did I have a good reference on how to set it up. Good job!
__________________
"Ooh, they have the internet on computers now" -Homer
Reply With Quote
  #4  
Old 8th April 2008, 09:37 PM
billb's Avatar
billb Offline
Registered User
 
Join Date: Jul 2007
Posts: 449
There's a very nice GTK port of Snes9x here. It is MUCH easier to configure the controls in the GUI of the GTK version.
Reply With Quote
  #5  
Old 12th August 2008, 05:01 PM
erroneus's Avatar
erroneus Offline
Registered User
 
Join Date: Apr 2004
Posts: 595
Someone with the know-how should grab the source code and compile some Fedora packages in 32 and 64 bit. If I can get a successful compile, I might learn to do it myself... but then how might I get it up on a commonly-used yum repository?
Reply With Quote
  #6  
Old 12th August 2008, 06:26 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
zsnes is in the dribble repository

http://dribble.org.uk/
Reply With Quote
  #7  
Old 12th August 2008, 07:07 PM
erroneus's Avatar
erroneus Offline
Registered User
 
Join Date: Apr 2004
Posts: 595
Nice to know about this repository. Unfortunately, there is no 64 bit compile for zsnes. I will try the 32 bit one though. Is it as good as snes9x-gtk?
Reply With Quote
Reply

Tags
fc7, snes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nes and SNes emulator and games armandocl Gamers' Lounge 1 31st July 2008 03:37 AM
snes 9x Problem electroconvulsi Using Fedora 1 6th November 2006 07:29 AM
Snes emulator ctechguy Installation and Live Media 2 30th September 2005 01:22 AM


Current GMT-time: 01:24 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat