Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用前端启动器启动软件时无法缩放游戏 #236

Closed
Kanadeforever opened this issue Dec 9, 2021 · 3 comments
Closed

使用前端启动器启动软件时无法缩放游戏 #236

Kanadeforever opened this issue Dec 9, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@Kanadeforever
Copy link

Magpie version 程序版本

0.7.1.0

Windows version 系统版本

win10 21H2

Related screenshot (optional) 相关截图(可选)

https://imgur.com/jMVKRjI

Reproduction steps 复现步骤

  1. 使用Playnite前端,添加进游戏(目前废都物语和使用了cnc-ddraw的刀剑封魔录是这样)
  2. 在游戏设置菜单中【脚本】功能页的【启动游戏前执行的脚本】处添加【Start-Process "E:\Software\Magpie\Magpie.exe" -WindowStyle Minimized】
  3. 点击前端的启动游戏按钮启动游戏
  4. (以废都物语举例)窗口化启动废都物语,同时启动magpie,magpie成功启动后按快捷键ALT+F11缩放,即出现图片中的报错

补充:使用AutoHotKey制作GUI来启动Magpie、使用批处理的方式在启动游戏前启动Magpie,均会出现同样的情况

Log files 日志文件

Magpie.log

@Kanadeforever Kanadeforever added the bug Something isn't working label Dec 9, 2021
@Blinue
Copy link
Owner

Blinue commented Dec 9, 2021

是工作路径的问题,Magpie 无法找到 Runtime.dll,试试这个命令

Start-Process "E:\Software\Magpie\Magpie.exe" -WorkingDirectory "E:\Software\Magpie" -ArgumentList "-st"

-st 是 Magpie 内部使用的参数,可以最小化到任务栏

@Kanadeforever
Copy link
Author

非常感谢,问题已解决

@Blinue
Copy link
Owner

Blinue commented Dec 9, 2021

这是一个 bug,以后 Magpie 不会使用工作目录,而是统一使用程序所在目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants