sed: 1: "launcher.bat": extra characters at the end of l command
经过检查是 sed 命令 -i 参数在 macos 下必须指定备份参数,我修改为:
sed -i "" "s/GenshinImpact/YuanShen/g" "launcher.bat"
sed -i "" "s/log-upload-os.hoyoverse/log-upload.mihoyo/g" "launcher.bat"
sed -i "" "s/overseauspider.yuanshen/uspider.yuanshen/g" "launcher.bat"
sed -i "" "s/osuspider.yuanshen/log-upload.mihoyo/g" "launcher.bat"
I am a Macos user with an M-series CPU and cannot start the game after running 430/patch.sh. I checking the generated launcher.bat, It's use GenshinImpact.exe, but I do not have GenshinImpact.exe here, only YuanShen.exe. I modified it to YuanShen.exe and ran an error message, as shown in the screenshot
I am using the gameportingtoolkit, which comes with Wine version 7.7 By the way, I encountered an error while running 430/patch.sh
sed: 1: "launcher.bat": extra characters at the end of l command
After inspection, it was found that the - i parameter of the sed command must specify a backup parameter under macos. I modified it to:
sed -i "" "s/GenshinImpact/YuanShen/g" "launcher.bat"
sed -i "" "s/log-upload-os.hoyoverse/log-upload.mihoyo/g" "launcher.bat"
sed -i "" "s/overseauspider.yuanshen/uspider.yuanshen/g" "launcher.bat"
sed -i "" "s/osuspider.yuanshen/log-upload.mihoyo/g" "launcher.bat"
Successfully executed 430/patch.sh, but the game still cannot run due to the error in the screenshot
My command to run the game is:
我是macos用户,M 系列CPU, 运行了 430/patch.sh 后启动不了游戏,看了生成的 launcher.bat 里调用的是 GenshinImpact.exe , 但是我这里并没有 GenshinImpact.exe, 只有 YuanShen.exe ,我自己修改为 YuanShen.exe 后运行报错,参考截图.
我使用的是 gameportingtoolkit, 其自带的wine 是 7.7 版本.
顺便说一下,我运行 430/patch.sh 时出现了
sed: 1: "launcher.bat": extra characters at the end of l command
经过检查是 sed 命令 -i 参数在 macos 下必须指定备份参数,我修改为:
sed -i "" "s/GenshinImpact/YuanShen/g" "launcher.bat"
sed -i "" "s/log-upload-os.hoyoverse/log-upload.mihoyo/g" "launcher.bat"
sed -i "" "s/overseauspider.yuanshen/uspider.yuanshen/g" "launcher.bat"
sed -i "" "s/osuspider.yuanshen/log-upload.mihoyo/g" "launcher.bat"
后成功执行了 430/patch.sh, 但是游戏还是无法运行,还是截图里的错误.
我运行游戏的命令是:
gameportingtoolkit-no-hud ~/my-game-prefix 'C:\Program Files/Genshin Impact/Genshin Impact Game/launcher.bat'
----------------------------------------------------------------
I am a Macos user with an M-series CPU and cannot start the game after running 430/patch.sh. I checking the generated launcher.bat, It's use GenshinImpact.exe, but I do not have GenshinImpact.exe here, only YuanShen.exe. I modified it to YuanShen.exe and ran an error message, as shown in the screenshot
I am using the gameportingtoolkit, which comes with Wine version 7.7 By the way, I encountered an error while running 430/patch.sh
sed: 1: "launcher.bat": extra characters at the end of l command
After inspection, it was found that the - i parameter of the sed command must specify a backup parameter under macos. I modified it to:
sed -i "" "s/GenshinImpact/YuanShen/g" "launcher.bat"
sed -i "" "s/log-upload-os.hoyoverse/log-upload.mihoyo/g" "launcher.bat"
sed -i "" "s/overseauspider.yuanshen/uspider.yuanshen/g" "launcher.bat"
sed -i "" "s/osuspider.yuanshen/log-upload.mihoyo/g" "launcher.bat"
Successfully executed 430/patch.sh, but the game still cannot run due to the error in the screenshot
My command to run the game is:
gameportingtoolkit-no-hud ~/my-game-prefix 'C:\Program Files/Genshin Impact/Genshin Impact Game/launcher.bat'
patch.sh currently only blocks some of the logging server domains. launcher.bat ensures that the domains are no longer reachable.
You should still be able to start YuanShen directly. Please have a look at the MacOS specific instructions: INSTALLATION.md
According to the macOS-focused launcher (YAAGL) it does not seem to work yet on M1/M2 chips. You could still try your luck by experimenting with Wine/CrossOver/Protons versions and ARM-specific compatibility tools.
@qq213539 I am sorry for the delayed answer.
1. `patch.sh` currently only blocks some of the logging server domains. `launcher.bat` ensures that the domains are no longer reachable.
2. You should still be able to start YuanShen directly. Please have a look at the MacOS specific instructions: [INSTALLATION.md](src/master/INSTALLATION.md#macos-instructions)
3. According to the macOS-focused launcher (YAAGL) [it does not seem to work yet](https://github.com/3Shain/yet-another-anime-game-launcher/issues/243) on M1/M2 chips. You could still try your luck by experimenting with Wine/CrossOver/Protons versions and ARM-specific compatibility tools.
我是macos用户,M 系列CPU, 运行了 430/patch.sh 后启动不了游戏,看了生成的 launcher.bat 里调用的是 GenshinImpact.exe , 但是我这里并没有 GenshinImpact.exe, 只有 YuanShen.exe ,我自己修改为 YuanShen.exe 后运行报错,参考截图.
我使用的是 gameportingtoolkit, 其自带的wine 是 7.7 版本. 顺便说一下,我运行 430/patch.sh 时出现了
经过检查是 sed 命令 -i 参数在 macos 下必须指定备份参数,我修改为:
后成功执行了 430/patch.sh, 但是游戏还是无法运行,还是截图里的错误. 我运行游戏的命令是:
I am a Macos user with an M-series CPU and cannot start the game after running 430/patch.sh. I checking the generated launcher.bat, It's use GenshinImpact.exe, but I do not have GenshinImpact.exe here, only YuanShen.exe. I modified it to YuanShen.exe and ran an error message, as shown in the screenshot I am using the gameportingtoolkit, which comes with Wine version 7.7 By the way, I encountered an error while running 430/patch.sh
After inspection, it was found that the - i parameter of the sed command must specify a backup parameter under macos. I modified it to:
Successfully executed 430/patch.sh, but the game still cannot run due to the error in the screenshot My command to run the game is:
@qq213539 I am sorry for the delayed answer.
patch.sh
currently only blocks some of the logging server domains.launcher.bat
ensures that the domains are no longer reachable.@qq213539 Closing due to inactivity. Feel free to reopen the issue if you still have this problem.