“UbuntuHelp:Zsnes”的版本间的差异
来自Ubuntu中文
小 (新页面: {{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...) |
小 |
||
(未显示同一用户的2个中间版本) | |||
第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 | ||
第25行: | 第21行: | ||
esd -nobeeps & | esd -nobeeps & | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
== Start == | == Start == | ||
Start the game | Start the game | ||
第31行: | 第26行: | ||
~/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:CategoryGames]] |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 18:23的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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.