恋与深空
PlayCover
1. 画面显示不全
使用PlayCover Nightly版,右键游戏图标 - 设置 - 图像设置,分辨率选择“settings.picker.adaptiveRes.6(Resizable)”。
2. 登录界面打不了字
右键游戏图标 - 设置 - 键盘映射设置,禁用“按键映射布局”。
登录完成后再重新打开这个选项。
3. 切换横屏
保存下面的脚本代码至文件lysk.scpt,在终端中运行osascript lysk.scpt可以快速调整至横屏。
脚本中的 w 是窗口宽度,h 是窗口高度,窗口的长宽比要和显示器的保持一致。
tell application "Finder"
set screenBounds to bounds of window of desktop
set screenWidth to item 3 of screenBounds
set screenHeight to item 4 of screenBounds
end tell
tell application "System Events"
tell process "恋与深空"
set w to 1280
set h to 800
set x to (screenWidth - w) / 2
set y to (screenHeight - h) / 2
set position of window 1 to {x, y}
set size of window 1 to {w, h}
end tell
end tell
tell application "恋与深空" to activate
delay 0.1
tell application "System Events"
keystroke "k" using command down
delay 0.1
keystroke "k" using command down
delay 0.1
keystroke "a" using option down
end tell
Note
如果提示找不到“恋与深空“,请改成“com.papegames.lysk“。
Note
如果提示没有操作权限,请打开系统设置 - 隐私与安全性,授予”终端“辅助功能和自动化的权限。