いくつかの古い Win タイトルには PlayOnlinux を使用しています。私は通常、非常に古いものを新しい X ウィンドウで開始します。
#!/bin/bash
xinit '/home/deckoff/.PlayOnLinux/shortcuts/heroes.sh' -- :1 -ac -depth 16
これは、主に PlayOnLinux によって作成された実際の sh ファイルの内容です。
#!/bin/bash
xrandr -s 800x600
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/deckoff/.PlayOnLinux//wineprefix/HOMM3"
export WINEDEBUG="-all"
cd "/home/deckoff/.PlayOnLinux//wineprefix/HOMM3/drive_c/./Program Files/GOG.com/Heroes of Might and Magic 3 Complete"
POL_Wine "Heroes3.exe" "$@"
2 つのスクリプトを 1 つに結合する方法はありますか? fork しようとしましたが、ちょっと失敗しました