特殊:Badtitle/NS100:Zsnes:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/Zsnes}} {{Languages|UbuntuHelp:Zsnes}} [http://www.zsnes.com zsnes] is a GPL Super Nintendo emulator. == Download/Installation == zsnes is very e...
 
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{Languages|UbuntuHelp:Zsnes}}
{{Languages|UbuntuHelp:Zsnes}}
[http://www.zsnes.com zsnes] is a GPL Super Nintendo emulator.
[http://www.zsnes.com zsnes] is a GPL Super Nintendo emulator.
== Download/Installation ==
== Download/Installation ==
zsnes is very easy to install since it is available in Synaptic from the multiverse.
zsnes is very easy to install since it is available in Synaptic from the multiverse.
第9行: 第8行:
sudo apt-get install zsnes
sudo apt-get install zsnes
</nowiki></pre>
</nowiki></pre>
However, zsnes conflicts with the WikiPedia:Enlightened_Sound_Daemon (esd). We can fix this by killing esd before running zsnes and restarting it. We can create a script to do this. For the sake of demonstration, we will use a folder called ~/scripts, but you might put it in the same folder that zsnes was installed to.
However, zsnes conflicts with the WikiPedia:Enlightened_Sound_Daemon (esd). We can fix this by killing esd before running zsnes and restarting it. We can create a script to do this. For the sake of demonstration, we will use a folder called ~/scripts, but you might put it in the same folder that zsnes was installed to.
Copy and paste the following into gedit. Save it as ~/scripts/zsnes.sh.
Copy and paste the following into gedit. Save it as ~/scripts/zsnes.sh.
<pre><nowiki>
<pre><nowiki>
#! /bin/sh
#! /bin/sh
第20行: 第16行:
#  kill esd. But we want it back up and running again so that we can play
#  kill esd. But we want it back up and running again so that we can play
#  music and stuff.
#  music and stuff.
killall esd
killall esd
zsnes
zsnes
esd -nobeeps &
esd -nobeeps &
</nowiki></pre>
</nowiki></pre>
== Start ==
== Start ==
Start the game
Start the game
第31行: 第25行:
~/scripts/zsnes
~/scripts/zsnes
</nowiki></pre>
</nowiki></pre>
In a terminal, set the permissions to allow users to run the script.
In a terminal, set the permissions to allow users to run the script.
<code><nowiki> $ chmod 755 ~/scripts/zsnes.sh </nowiki></code>
<code><nowiki> $ chmod 755 ~/scripts/zsnes.sh </nowiki></code>
Now you can run the script by double clicking on it. Alternatively, you can set it up as a menu item using smeg.
Now you can run the script by double clicking on it. Alternatively, you can set it up as a menu item using smeg.
----
----
[[category:CategoryGames]] [[category:CategoryDocumentation]]
[[category:CategoryGames]] [[category:CategoryDocumentation]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:37的版本

{{#ifexist: :Zsnes/zh | | {{#ifexist: Zsnes/zh | | {{#ifeq: {{#titleparts:Zsnes|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Zsnes|1|-1|}} | zh | | }}

zsnes is a GPL Super Nintendo emulator.

Download/Installation

zsnes is very easy to install since it is available in Synaptic from the multiverse.

sudo apt-get update
sudo apt-get install zsnes

However, zsnes conflicts with the WikiPedia:Enlightened_Sound_Daemon (esd). We can fix this by killing esd before running zsnes and restarting it. We can create a script to do this. For the sake of demonstration, we will use a folder called ~/scripts, but you might put it in the same folder that zsnes was installed to. Copy and paste the following into gedit. Save it as ~/scripts/zsnes.sh.

#! /bin/sh
# Runs zsnes.
# Since zsnes doesn't like having esd run at the same time, we have to run
#  kill esd. But we want it back up and running again so that we can play
#  music and stuff.
killall esd
zsnes
esd -nobeeps &

Start

Start the game

~/scripts/zsnes

In a terminal, set the permissions to allow users to run the script. $ chmod 755 ~/scripts/zsnes.sh Now you can run the script by double clicking on it. Alternatively, you can set it up as a menu item using smeg.