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
Angelscry Offline
Skilled Python Coder
Posts: 2,707
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #11
(2012-04-22 05:17)zafiros bonitos Wrote:  Ok thanks, I'll give that a try. Anyone know if it's possible to play a Windows game with Wine in XBMC? I have Warcraft 2 Battle.net edition (non-DOS) that I'd like to play, but I'm wondering if I could install that or if I'd have to use the DOS version of WC2.
Warcraft 2 Battle.net edition seems working correctly under Wine : http://appdb.winehq.org/objectManager.ph...ingId=5212
Warcraft 2 Battle.net edition seems also working correctly under DOSBox : http://www.dosbox.com/wiki/GAMES:Warcraft_II
So, if it is possible to make this game run correctly through Wine or DosBox, there is no reason to not be able to start it and play it from Advanced Launcher.

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

find quote
Hack_kid Offline
Fan
Posts: 567
Joined: Jan 2007
Reputation: 2
Post: #12
ok gotta chime in here!

thanks so much for this part of the guide:

add thsese lines to xorg.conf

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

could not for the life of me figure it out. i knew what it was (standby) build couldnt turn it off tryed MANY many things posted on google.

Also just so everyone knows, i bet lots here have old 36s with RRoD... well take the RF controller board off the front wire a usb cable to the pins where the plug on the board is (to plug into main mobo) (there is a diagram online sonewhere for the soldering my friend told me about this and did it for me) and BINGO bango! you now can use ANY xbox 360 wireless controller with xbmcbuntu OUT OF The box it already works with lirc!

this is what i use, one board connected via usb hidden behind pc, 4 360 controllers at my grasp. now i just need to figure out how to use the board in the 360 while also have it wired to the pc so i just flip a switch to use controls for 360 or htpc
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #13
(2012-04-30 23:39)Hack_kid Wrote:  
Code:
Section "ServerFlags"
  Option "BlankTime" "0"
  Option "StandbyTime" "0"
  Option "SuspendTime" "0"
  Option "OffTime" "0"
EndSection

Actually, it is best to simply turn those options off before starting ZSNES and then turn them back on when you leave. That way your PC can still suspend and you don't have to muck with xorg.conf.

Make the script:
Code:
$ vi launchZSNES.sh

Insert:
Code:
#!/bin/bash

# turn off screensaver/screenblank
xset s off

# turn off dpms
xset -dpms

# run ZSNES
/usr/bin/zsnes -m -s -v 22 "$1"

# turn on dpms
xset +dpms

# turn on screensaver/screenblank
xset s on

Make the script executable:
Code:
$ chmod +x launchZSNES.sh

In Advanced Launcher, change the program to "launchZSNES.sh" and change the arguments to "%rom%" (including quotes).

Also, if you are using a MCE Remote, the "Clear" key (equivalent to ESC) will exit ZSNES if you supply the -m option. If you have the GUI on, it will bring up the GUI and you can exit from there with the arrow buttons and select.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
(This post was last modified: 2012-05-04 10:25 by Plaguester.)
find quote
TehCrucible Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 5
Location: Queensland AUS
Post: #14
(2012-05-04 10:09)Plaguester Wrote:  Actually, it is best to simply turn those options off before starting ZSNES and then turn them back on when you leave. That way your PC can still suspend and you don't have to muck with xorg.conf.

Good point. I hadnt considered the ramifications of disabling sleep entirely. I'll test this and if it works, update the guide.

Regarding the "Clear" key on the MCE Remote though, this didnt work for me. As far as I can tell, this was because the LIRC keymap file is actually used by XBMC and not globally so while pressing Clear on the remote was certainly pressing ESC in XBMC in the background, ZSNES was not registering the input at all. (You could go down the route of customizing lirc itself to send keyboard commands for everything but thats a whole other tutorial lol. I did try this but ended up in a world of hurt and although I eventually got it semi-working, I couldnt avoid the known "jumping" issue within xbmc menus, hence why I went the route of a kill script and irxevent.)

Thanks for your input!

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
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #15
I thought all MCE receivers appeared as keyboards to the computer. Mine registers as a keyboard and can send input to any program. LIRC was purged from the system a while ago.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
find quote
popular.me Offline
Junior Member
Posts: 24
Joined: Nov 2010
Reputation: 0
Post: #16
thank you for this guide, gonna give this a try. but do you think my Acer Aspire Revo is powerful enough to run ZSNES? it plays 1080p great but navigation around the gui isn't smooth.

anyone can recommend an upgrade to the Revo? something more powerful...thanks!
find quote
bigdog66 Offline
Senior Member
Posts: 241
Joined: Sep 2010
Reputation: 3
Post: #17
waiting on my xbox 360 windows controller to show up......couple dumb questions i want to make sure about

do you just dump all the rom files in the snes folder and not in their own individual folders inside the snes folder

also is leaving them zipped up fine or do the files need to be extracted

thanks for entertaining my noobness lol

WE ALL WE GOT
(This post was last modified: 2012-05-08 04:00 by bigdog66.)
find quote
TehCrucible Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 5
Location: Queensland AUS
Post: #18
(2012-05-06 15:45)popular.me Wrote:  thank you for this guide, gonna give this a try. but do you think my Acer Aspire Revo is powerful enough to run ZSNES? it plays 1080p great but navigation around the gui isn't smooth.

Im using a very similar hardware to the Revo in my media centre: dual-core Atom, Nvidia ION etc and it works brilliantly for me so its worth a shot. Only one way to find out! Wink

(2012-05-08 04:00)bigdog66 Wrote:  do you just dump all the rom files in the snes folder and not in their own individual folders inside the snes folder

also is leaving them zipped up fine or do the files need to be extracted

Yep just copy them straight into the SNES folder. And no, you dont need to extract them if they are ZIP. Only if they are something like RAR or 7z.

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: #19
Great....Thanks!

Now I just need Amazon to do their job and get me my controller lol

are you working on any guides for any other rom's?

WE ALL WE GOT
find quote
TehCrucible Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 5
Location: Queensland AUS
Post: #20
(2012-05-08 06:00)bigdog66 Wrote:  are you working on any guides for any other rom's?

Planning to. Havn't had a lot of spare time recently, real-life keeps getting in the way but I'm hoping to get Sega Genesis, Gameboy Advance and N64 up and running. When I do, I'll post some guides for those as well, maybe in the next few weeks. Let me know how you go and bump some rep my way if it all works smoothly. Cool

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
Post Reply