Fedora上安装Xmame模拟器运行拳皇97的示例
人气:0以前在windows下是时常会玩一把拳皇,玩的最多的莫过于kof97了。
换到Linux下后也想到玩一把,试过用wine安装WinKawaks,可惜不能成功运行。
后来直接搜了一下发现Linux下本身就有这类的游戏模拟器,还好多呢,用不着移植windows上的。
用的最多的莫过于xmame了,但是发现ubuntu可以方便的安装:
apt-get install xmame
这就完成了,但是我的Fedora的yum中没有啊,网上找了下发现就没有fedora版的,
还好在这里http://pkgs.org/search/xmame找到了centos版的,两个应该差不多,下来安装。
发现上面居然已经有centos 7了,正式版都还没发布呢,不过centos 7里面没有我们需要的xmame,下载centos 6中的:
[liyd@localhost ~]$ sudo rpm -ivh xmame-0.106-1.el6.rf.x86_64.rpm
下来后安装,一切顺利,安照网上所说将运行kof97的rom文件kof97.zip和neogeo.zip放到/usr/share/games/xmame/roms目录,敲入命令:
[liyd@localhost ~]$ xmame kof97
但是运行出现下面的错误,怎么都不行:
[liyd@localhost Downloads]$ xmame kof97
GLINFO: loaded OpenGL library libGL.so.1!
GLINFO: loaded GLU library libGLU.so.1!
GLINFO: glColorSubTableEXT (2): not implemented !
info: trying to parse: /usr/share/xmame/xmamerc
info: trying to parse: /home/liyd/.xmame/xmamerc
info: trying to parse: /usr/share/xmame/xmame-x11rc
info: trying to parse: /home/liyd/.xmame/xmame-x11rc
info: trying to parse: /usr/share/xmame/rc/kof97rc
info: trying to parse: /home/liyd/.xmame/rc/kof97rc
loading rom 0: 232-p1.bin
loading rom 1: 232-p2.bin
loading rom 2: 232-s1.bin
loading rom 3: sfix.sfx
loading rom 4: sp-s2.sp1
loading rom 5: sm1.sm1
loading rom 6: 232-m1.bin
loading rom 7: 000-lo.lo
loading rom 8: 232-v1.bin
loading rom 9: 232-v2.bin
loading rom 10: 232-v3.bin
loading rom 11: 232-c1.bin
loading rom 12: 232-c2.bin
loading rom 13: 232-c3.bin
loading rom 14: 232-c4.bin
loading rom 15: 232-c5.bin
loading rom 16: 232-c6.bin
done
232-p1.bin NOT FOUND
232-p2.bin NOT FOUND
232-s1.bin NOT FOUND
sfix.sfx NOT FOUND
sp-s2.sp1 NOT FOUND
sm1.sm1 NOT FOUND
232-m1.bin NOT FOUND
000-lo.lo NOT FOUND
232-v1.bin NOT FOUND
232-v2.bin NOT FOUND
232-v3.bin NOT FOUND
232-c1.bin NOT FOUND
232-c2.bin NOT FOUND
232-c3.bin NOT FOUND
232-c4.bin NOT FOUND
232-c5.bin NOT FOUND
232-c6.bin NOT FOUND
ERROR: required files are missing, the game cannot be run.
网上没有相关解决方案,只能自己慢慢摸索,最后发现是没有安装rom的支持包,下来安装,上面的地址就有:
[liyd@localhost ~]$ sudo rpm -ivh xmame-roms-1.0-1.0.rf.noarch.rpm
安装后发现多出一个目录/usr/share/xmame/,进入该目录有以下内容:
[liyd@localhost ~]$ cd /usr/share/xmame/
[liyd@localhost xmame]$ ll
total 19040
drwxr-xr-x. 2 root games 4096 Nov 22 2010 artwork
drwxr-xr-x. 5 root root 4096 Jul 4 13:01 cab
-rw-rw-r--. 1 root root 7971360 Apr 22 2004 cheat.dat
-rw-rw-r--. 1 root root 185060 Apr 11 2006 hiscore.dat
-rw-rw-r--. 1 root root 6319806 May 26 2006 history.dat
-rw-rw-r--. 1 root root 4992775 May 14 2006 mameinfo.dat
drwxr-xr-x. 2 root games 4096 Jul 4 14:06 roms
drwxr-xr-x. 2 root games 4096 Nov 22 2010 samples
drwxr-xr-x. 2 root games 4096 Nov 22 2010 snap
看到有roms文件夹,将kof97.zip和neogeo.zip放入,再运行xmame kof97,终于正常。有图有真相:
接下来就是设置游戏的按键了,顺便贴一下:
Alt+PageDown 切换全屏/窗口模式
Shift+PageUp 放大 窗口
Shift+PageDown 缩小 窗口
P 硬件暂停/继续
Esc 退出
F3 硬件reset
游戏键位的设定方法:
进入游戏后,按Tab键进入设定选单(之前可以先按P暂停游戏),
移动光标,用Enter键进入设置模式,输入你想设定的键(注意,可能要稍微等几秒才会看到你新设置的键出现)
加载全部内容