Het forum

[Script] zsnes

Auteur Antwoorden
AHaas Zondag 22 Maart 2015 om 10:47

  • Description:
    • "ZSNES is a Super Nintendo emulator programmed by zsKnight and _Demo_. On April 2, 2001 the ZSNES project was GPL'ed and its source released to the public. It currently runs on Windows, Linux, FreeBSD, and DOS. Remember that this is a public beta so don't expect this to run on your machine." (source: http://www.zsnes.com/)
    • ZSNES is buggy on ubuntu 13.04+, that's why installing the Windows-Version on wine is a nice workaround
  • Anything I had to do or install OUTSIDE of Wine or PlayOnLinux to make it work
    • ​nothing
  • ​Any extra notes about installation, or errors that it throws (if any)
    • ​Ubuntu can't close the emulator except with SIGKILL. You have to exit ZSNES within ZSNES itself.
  • ​Script

EDIT: Deleted Code without Syntax Highlighting here. See third post




Screen 2

Aangepast door AHaas

AHaas Zondag 22 Maart 2015 om 10:55

AHaas Zondag 22 Maart 2015 om 10:56

# Date : (2015-03-22)
# Last revision : (2015-03-22)
# Distribution used to test : Ubuntu 14.04
# Author : AHaas
# Licence : GPLv2
# PlayOnLinux:  playonlinux-4.2.2

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PUBLISHER="n-a-c-h & Co."

# Setup
# TODO: comment in after image upload
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

# Download
INSTALL_PATH="$WINEPREFIX/drive_c/Program Files/zsnes"
POL_Download "http://sourceforge.net/projects/zsnes/files/zsnes/ZSNES%20v1.51/zsnesw151.zip/download"

# Installation
unzip "download"
rm "download"

# Create Shortcuts
POL_Shortcut "zsnesw.exe" "$TITLE"


exit 0
petch Zondag 22 Maart 2015 om 11:42

zsnes runs natively on Linux, as you mention... Using Wine to get it working is a bit strange

Aangepast door petch

AHaas Zondag 22 Maart 2015 om 12:50

Yeah, but it's confirmed Bug since 20.08.2013: 


It's still not fixed, and in the Ticket I posted above the wrote the Workaround:
WORKAROUND: Use the Windows version of zsnes 1.51 via WINE.

petch Zondag 22 Maart 2015 om 14:10

Ronin DUSETTE Maandag 23 Maart 2015 om 17:07

That's odd, because I actually run zsnes on Linux like, ALL of the time (I was actually playing Super Mario RPG last weekend and beat it, through zsnes). I was never aware of any freezing issues at all.

Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
AHaas Dinsdag 24 Maart 2015 om 2:44

This Bug occurs only on Ubuntu, since the version 13.04. And naturally on all derivates of it.

Which Linux distribution did you use?


The freeze occurs always after ~40 minutes. Even if you don't load a game. 

I get your point that adding an windows application, which is available natively for Linux, in POL is kinda strange. After zsnes crashed the first time, I looked it up and found out that the wortaround is a wine-install of  the windows version. The first though of mine was: 'Hey, look it up on POL, they have it for sure!'. And POL didn't.

Aangepast door AHaas

Ronin DUSETTE Dinsdag 24 Maart 2015 om 3:09

For sure, this is fine. Lol. If there is a bug in it, and you can legitimately use it, we don't mind.  :) Sometimes stuff like this happens. Like, "Portal", for instance. It does not support surround sound in the native Linux version, but running it through Wine gives you the option to do it (with the newer versions of Wine). Can't argue with results, right? lol.

I gotta be honest; I use Kubuntu 14.04 LTS, 64-bit, with a couple of PPAs, dual Nvidia cards, proprietary drivers, i3 system, 8gb gskill ddr3, mainline kernel. I never see that issue. I wonder if it is a combo of my setup and kernel and whatnot? That is odd. 

Aangepast door RoninDusette

Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts