Linux HOW-TO The Complete Linux N00bs' Guide To Installing ZSNES on XMBCbuntu

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mlassen Offline
Junior Member
Posts: 1
Joined: Jul 2012
Reputation: 0
Post: #41
Hey,

Thanks for the guide!
Wanted to give my info here as to how i got sound working (fully functioning.. menu navigation sounds + video playback audio + snes audio).

I run xbmcbuntu eden on an asus eee eb1012.I have audio on my TV directly connected through HDMI.

I followed the guide but still could not get sound to work, what finally solved my problems was using the following settings in XBMC:
Audio output: HDMI
Speaker configuration: 2.0
Boost volume level on downmix: Enabled
- Dolby Digital (AC3) capable receiver: Disabled
- DTS capable receiver: Disabled
Audio output device: Custom
Custom Audio device: plughw:0,3
Passthrough output device: Custom
Custom passthrough device: plughw:0,3

I deleted my .asoundrc file (might want to make a backup) and then created a new onw with the following configuration:
defaults.pcm.!card NVidia
defaults.ctl.!card NVidia
defaults.pcm.!device 3
defaults.ctl.!device 3

Also make sure to run zsnes with the
-ad sdl
command line as descirbed in this guide.

Remember to REBOOT after making those changes!

Hope this helps someone.
(This post was last modified: 2012-07-15 10:12 by mlassen.)
find quote
TheBishopsBane Offline
Junior Member
Posts: 1
Joined: Jul 2012
Reputation: 0
Post: #42
Awesome tutorial.

I managed to get ZSNES working through Rom Collection Browser on my XBMCBuntu install. It worked perfectly (with sound!) with zero fiddling. The only problem is this:

When I started up ZSNES for the first time, it was in a tiny (I'm guessing 640x480) screen in the top-left corner. A quick search revealed that ALT+ENTER makes it run full screen, which is awesome. I played a round of F-Zero, and closed the emulator which brought me back to XBMC. I picked a different game and it blipped to a black screen for a second, but came right back to XBMC without loading the emulator. I thought maybe it was a bad ROM, so I tried F-Zero again, and same result. I couldn't get into any of the ROMs. However, each time I try, the "times played" counter goes up, so something is happening.

I thought it might have something to do with the fullscreen, so I manually changed ZSNES' config file and set the resolution back to it's default and I was able to get back into ZSNES once again. If I exit while in the tiny, windowed mode, I can go back in fine. But if I exit ZSNES while in a fullscreen mode, it won't allow me back in until I manually set the resolution back.

Any thoughts?
find quote
TehCrucible Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 5
Location: Queensland AUS
Post: #43
Hey guys, sorry for late replies. I've been working on other projects. To the guys having issues with fullscreen and blackscreen etc, I didn't have these issues when setting up mine so I can't really give you a quick fix answer. I can only suggest playing around with the -v 22 toggle in the command line parameters. This controls the resolution and display settings on lauch. More details on the various available modes are found here:

http://zsnes-docs.sourceforge.net/html/advanced.htm

Media Centre: Atom Dual-Core - Nvidia ION - 4GB RAM - 250GB HDD - Blu-Ray - XBMCbuntu 11.0 - ReFocus
Server: FreeNAS 8 - 8x 1TB Seagate Baracuda RAID-Z - SABnzbd - SickBeard - CouchPotato
find quote
bigdog66 Offline
Senior Member
Posts: 241
Joined: Sep 2010
Reputation: 3
Post: #44
hopefully working on some new emulators....hint hint

WE ALL WE GOT
find quote
anthropoidape Offline
Junior Member
Posts: 17
Joined: Mar 2010
Reputation: 0
Post: #45
Thanks for this, I bit the bullet and installed Eden. All seems good after a bit of fiddling around.

Sound took a long while to resolve but now that it's sorted out it works for MAME and PCSX-Reloaded as well as ZSNES. I imagine it will also work for other emulators.

FWIW the process of installing MAME and PCSXR is pretty similar to ZSNES.

Create the folders, put in a few ROMs, and run "sudo apt-get install sdlmame" or "sudo apt-get install pcsxr".

PCSX-R appears in the games folder of the XBMCBUNTU gui like ZSNES and can be configured in much the same way. Main thing for me was to switch to opengl plugin for the video then set the video size, fullscreen etc. Sound *should* work if your preferred output is the default sound device on your system. There seem to be several different ways to do this and it seems like the best one varies from case to case.

MAME needs to be run from xterm instead (no shortcut gets created in the games folder) and before you run it you need to configure mame.ini

To make them shutdown with the remote script from the tutorial I just added "killall mame" and "killall pcsx" after "killall zsnes" in the shutdown.sh script.

btw the advanced launcher wiki (eg http://www.gwenael.org/xbmc/index.php?ti..._/_SDLMAME ) has good info on the correct switches etc to use with each emulator. Note that some of the file locations aren't right though; for example PCSX is in /usr/games

I am trying to work out if it's worth adding any other emulators besides these three. Any thoughts?

I've got to be honest I installed these on a whim but these old school games are a lot of fun.
find quote
anthropoidape Offline
Junior Member
Posts: 17
Joined: Mar 2010
Reputation: 0
Post: #46
Actually, I am having one odd problem. After some period of playing games, my remote stops working. Completely - the "clear" button stops working as an exit from the emulator, AND when I return to XBMC using the escape key on the keyboard, the remote is STILL not working.

Is anyone else having this problem?

EDIT: I think I have resolved this by using a different method to exit emulators with the remote (ie, not the method on page 1, which seems to cause my system to lose the remote altogether after a period of time0.
(This post was last modified: 2012-08-31 06:52 by anthropoidape.)
find quote
wookietv Offline
Member
Posts: 61
Joined: Feb 2009
Reputation: 0
Post: #47
Quote:2.3 Create a new File Launcher in Advanced Launcher
Selecting Advanced Launcher will give you the option of creating a "Standalone" or "File Launcher" type. We want "File Launcher".
You will then need to browse to the ZSNES install: Root Filesystem / usr / bin / zsnes
and the ROM files path: Home Folder / ROMs / SNES

there should be a part written into this section that explains how to access the Root Filesystem.
e.g. say to first go to the xbmc file manager, add source, browse, choose Root Filesystem.
if someone doesn't do that, when they go to browse for zsnes install, the root won't be there to browse to. this got me caught up for a few minutes until i realized i had to do that first. (unless there's another way to get to the root filesystem without doing that?)

otherwise, flawless tutorial... thanks
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #48
(2012-10-12 21:47)wookietv Wrote:  if someone doesn't do that, when they go to browse for zsnes install, the root won't be there to browse to. this got me caught up for a few minutes until i realized i had to do that first. (unless there's another way to get to the root filesystem without doing that?)
Last Advanced Launcher version (1.9.1) has an additional option to manage/add sources directly :

[Image: screenshot002.jpg]

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
beschmid Offline
Senior Member
Posts: 172
Joined: Mar 2008
Reputation: 0
Post: #49
XBMCBuntu 11.0
XBMC XVDA PVR 12.0 Frodo
XBMC Audio settings - I use SPDIF, 5.1

I can't get sound to work in any of my emulators when I launch them in XBMC. If I log out and log into the xbmcbuntu desktop sound will work. I do have sound working great inside XBMC, menu sounds and full audio. Can anyone here take a look at my info below and provide me with some suggestions as to how to get sound working? I would be happy to try anything at this point. Also, my arguments for launching the emulators point to alsa, such as; -ad alsa for ZSNES.

aplay -l
Quote:$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L
Quote:Quote:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
dmixer
default
front:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Direct sample mixing device
dmix:CARD=SB,DEV=1
HDA ATI SB, VT1708S Digital
Direct sample mixing device
dsnoop:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Direct sample snooping device
dsnoop:CARD=SB,DEV=1
HDA ATI SB, VT1708S Digital
Direct sample snooping device
hw:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Direct hardware device without any conversions
hw:CARD=SB,DEV=1
HDA ATI SB, VT1708S Digital
Direct hardware device without any conversions
plughw:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Hardware device with all software conversions
plughw:CARD=SB,DEV=1
HDA ATI SB, VT1708S Digital
Hardware device with all software conversions
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
dmix:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample snooping device
hw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Hardware device with all software conversions

.asoundrc
Quote:pcm.!default {
type plug
slave {
pcm "hw:0,1"
rate 48000
}
}
(This post was last modified: 2012-11-19 20:44 by beschmid.)
find quote
SjaakDeBeer Offline
Junior Member
Posts: 1
Joined: Nov 2012
Reputation: 0
Post: #50
I have the exact same problem as above.

Sound is working perfectly in Desktop mode. In XBMC the sound is also working but Zsnes in XBMC isn't working as it should be.
find quote
Post Reply