流星蝴蝶剑吧 关注:181,582贴子:7,114,909
  • 24回复贴,共1

linux上安装流星蝴蝶剑

只看楼主收藏回复

分割线内是markdown格式,可以用vscode上的插件查看,尾部有图片版
----------------------------- 分割线 -----------------------------
# linux上安装流星蝴蝶剑
## 准备安装镜像
1. 流星蝴蝶.net.iso
2. 流星蝴蝶剑升级补丁.iso
## 安装lutris
开源的游戏管理器,支持wine,ppsspp等模拟方式
```sh
sudo apt install lutris
```
## 使用lutris的安装脚本安装
```yml
name: "流星蝴蝶剑.net"
game_slug: meteor-butterfly-and-a-blade
slug: meteor-butterfly-and-a-blade-goty-cd
version: GOTY CD
runner: wine
year: 2002
notes: "安装内容包含\
\ \r\n1. \"流星蝴蝶剑1.00官方正式版\"\
\ \r\n2. \"1.07--威震八方\"\
\ \r\n3. \"9.07--Turbo版\"\
\ \r\n4. 自动写入singlerec.ini开启所有单人关\
\ \r\n已知问题\
\ \r\n1. 游戏内动画播放存在问题\
\ \r\n2. 游戏部分字体过窄\
\ \r\n3. 切出游戏后再切入,分辨率可能不正常"
script:
game:
exe: drive_c/Program Files/Meteor/Meteor.exe
prefix: $GAMEDIR
arch: win32
launch_configs:
- exe: config.exe
name: 流星蝴蝶剑效能设置
installer:
- insert-disc:
message: 请挂载流星蝴蝶.net.iso
requires: AutoRun/AutoRun.cfg
- task:
name: create_prefix
prefix: $GAMEDIR
- task:
name: winetricks
app: winxp directshow sourcehansans fakechinese
silent: false
- task:
executable: $DISC/Setup/Setup.exe
name: wineexec
- insert-disc:
message: 请挂载流星蝴蝶升级补丁.iso
requires: "install-packages/1.07——威震八方.exe"
- task:
executable: $DISC/install-packages/1.07——威震八方.exe
name: wineexec
exclude_processes: 1.07——威震八方.exe
blocking: true
- task:
executable: $DISC/install-packages/9.07——Turbo版.exe
name: wineexec
exclude_processes: 9.07——Turbo版.exe
blocking: true
- write_file:
file: $GAMEDIR/drive_c/Program Files/Meteor/singlerec.ini
content: "level 14\
\ \r\nlevel 1\
\ \r\nlevel 3\
\ \r\nlevel 13\
\ \r\nlevel 4\
\ \r\nlevel 15\
\ \r\nlevel 5\
\ \r\nlevel 9\
\ \r\nlevel 10"
system:
locale: zh_CN.utf8
env:
LANG: zh_CN.UTF-8
```
----------------------------- 分割线 -----------------------------


IP属地:上海1楼2024-11-18 17:41回复
    lutris脚本使用方法
    1. yml脚本需要复制出来后按格式(如图中)保存至文件中,例如meteor.yml
    2. lutris启动后,点左上角"+",然后选择"Install from a local install script"


    IP属地:上海2楼2024-11-18 17:56
    回复


      IP属地:河南来自Android客户端3楼2024-11-18 18:11
      回复
        镜像可以在流星资源网找 "流星蝴蝶剑.net_官方iso文件含升级补丁"
        使用安装程序的好处是安装时会自动处理Big5字符集(繁体)和GB2312字符集(简体)不同编码的情况
        传送门
        https://www.lxres.com/ZhuKeHuDuan/GuanFangYuanBan/1340.html


        IP属地:上海4楼2024-11-18 18:46
        回复
          你要在服务器上玩嘛


          IP属地:上海5楼2024-11-19 09:47
          收起回复
            研究下 steamdeck 上怎么玩


            IP属地:四川6楼2024-11-22 22:26
            收起回复
              这就有点顶了。


              IP属地:北京来自iPhone客户端7楼2024-12-05 08:42
              回复
                python报错是啥原因啊
                'NoneType' object is not subscriptable
                Traceback (most recent call last):
                File "/usr/lib/python3.12/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
                return handler(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/gui/installerwindow.py", line 453, in launch_install
                if not self.interpreter.launch_install(self):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 208, in launch_install
                self.runners_to_install = self.get_runners_to_install()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 248, in get_runners_to_install
                runner_name, _task_name = self._get_task_runner_and_name(command_params["name"])
                ~~~~~~~~~~~~~~^^^^^^^^
                TypeError: 'NoneType' object is not subscriptable
                Lutris log:
                [INFO:2024-12-05 17:19:13,427:application]: Starting Lutris 0.5.18
                [ERROR:2024-12-05 17:19:13,459:system]: ['vulkaninfo', '--summary'] command failed: Command '['vulkaninfo', '--summary']' returned non-zero exit status 1.
                [INFO:2024-12-05 17:19:13,484:startup]: "card1" is Intel Corporation HD Graphics 530 (8086:191b 1558:6a01 i915) Driver 24.2.7
                [INFO:2024-12-05 17:19:13,701:startup]: "card0" is NVIDIA GeForce GTX 1070 (10de:1ba1 1558:6a01 nvidia) Driver 565.57.01
                [ERROR:2024-12-05 17:23:32,291:exception_backstops]: Error handling idle function: 'NoneType' object is not subscriptable
                Traceback (most recent call last):
                File "/usr/lib/python3.12/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
                return handler(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/gui/installerwindow.py", line 453, in launch_install
                if not self.interpreter.launch_install(self):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 208, in launch_install
                self.runners_to_install = self.get_runners_to_install()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 248, in get_runners_to_install
                runner_name, _task_name = self._get_task_runner_and_name(command_params["name"])
                ~~~~~~~~~~~~~~^^^^^^^^
                TypeError: 'NoneType' object is not subscriptable
                [WARNING:2024-12-05 17:23:52,433:system]: Non existent path: /home/shiqiaofeng/.cache/lutris/installer/meteor-butterfly-and-a-blade
                [ERROR:2024-12-05 17:25:51,723:exception_backstops]: Error handling idle function: 'NoneType' object is not subscriptable
                Traceback (most recent call last):
                File "/usr/lib/python3.12/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
                return handler(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/gui/installerwindow.py", line 453, in launch_install
                if not self.interpreter.launch_install(self):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 208, in launch_install
                self.runners_to_install = self.get_runners_to_install()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3.12/site-packages/lutris/installer/interpreter.py", line 248, in get_runners_to_install
                runner_name, _task_name = self._get_task_runner_and_name(command_params["name"])
                ~~~~~~~~~~~~~~^^^^^^^^
                TypeError: 'NoneType' object is not subscriptable


                IP属地:北京8楼2024-12-05 17:27
                收起回复