AHaas |
Dimanche 22 Mars 2015 à 10:47
|
AHaas
|
- 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
- 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
Screenshots:
Edité par AHaas
|
AHaas |
Dimanche 22 Mars 2015 à 10:55
|
AHaas
|
|
AHaas |
Dimanche 22 Mars 2015 à 10:56
|
AHaas
|
#!/bin/bash
# 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"
TITLE="zsnes"
PREFIX="zsnes"
WORKING_WINE_VERSION="1.7.22"
PUBLISHER="n-a-c-h & Co."
GAME_URL="http://www.zsnes.com/"
AUTHOR="AHaas"
# 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_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Download
INSTALL_PATH="$WINEPREFIX/drive_c/Program Files/zsnes"
mkdir "$INSTALL_PATH"
cd "$INSTALL_PATH"
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"
POL_SetupWindow_Close
exit 0
|
petch |
Dimanche 22 Mars 2015 à 11:42
|
petch
|
zsnes runs natively on Linux, as you mention... Using Wine to get it working is a bit strange
Edité par petch
|
AHaas |
Dimanche 22 Mars 2015 à 12:50
|
AHaas
|
|
petch |
Dimanche 22 Mars 2015 à 14:10
|
petch
|
Yup, or a Super Nintendo...
|
Ronin DUSETTE |
Lundi 23 Mars 2015 à 17:07
|
Ronin DUSETTE
|
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.
|
AHaas |
Mardi 24 Mars 2015 à 2:44
|
AHaas
|
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.
Edité par AHaas
|
Ronin DUSETTE |
Mardi 24 Mars 2015 à 3:09
|
Ronin DUSETTE
|
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.
Edité par RoninDusette
|