我正在尝试启动 Grim Fandango Remastered。我找到了两个可以启动它的命令。
第一个是这个东西:
sh -c 'cd "/home/adrian/GOG Games/Grim Fandango Remastered/game/bin" && ./GrimFandango'
第二个是启动一个名为“alt_start.sh”的文件,其中包含以下内容:
cd "/home/adrian/GOG Games/Grim Fandango Remastered/game/bin"
./GrimFandango
exit
游戏应该通过 start.sh 文件运行,但它所做的就是抛出这个:
Running Grim Fandango Remastered
Command line arg: ./GrimFandango
Absolute executable path: /home/adrian/GOG Games/Grim Fandango Remastered/game/bin/GrimFandango
Leaving working directory as: /home/adrian/GOG Games/Grim Fandango Remastered/game/bin
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 101
Current serial number in output stream: 100
我尝试设置一个 .desktop 文件来运行这两种方式,显示和不显示终端,但每次都无法启动。我尝试将 alt_start 移动到我的主目录,但这也无济于事。我不明白我做错了什么。
编辑:这是.desktop 文件的内容。
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Grim Fandango Remastered
GenericName=Grim Fandango Remastered
Comment=Grim Fandango Remastered
Icon=/home/adrian/GOG Games/Grim Fandango Remastered/support/icon.png
Exec=sh -c 'cd "/home/adrian/GOG Games/Grim Fandango Remastered/game/bin" && ./GrimFandango'
Categories=Game;
Path='/home/adrian/GOG Games/Grim Fandango Remastered'
Terminal=false
编辑 2:现在突然声称“/home/adrian/GOG Games/Grim Fandango Remastered”目录实际上不存在。但是,桌面文件中的命令仍然可以正常工作。
答案1
好的,我修复了它。这是一个糟糕的解决方案,但对我来说已经足够好了。
我将 alt_start.sh 重命名为 grim_fandango.sh,并将 .desktop 更改为:
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Grim Fandango Remastered
GenericName=Grim Fandango Remastered
Comment=Grim Fandango Remastered
Icon=/home/adrian/GOG Games/Grim Fandango Remastered/support/icon.png
Exec=/home/adrian/grim_fandango_start.sh
Categories=Game;
Path=/home/adrian/
Terminal=false