Upon further study, it looks like the KOTOR installation did not go as well as I thought.
I deleted the game and tried to reinstall. During the installation, I saw this error:
[POL_SetupWindow_menu] Message: menu answer: 256
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
/home/rubin/.PlayOnLinux//install: line 173: cd: /home/rubin/.PlayOnLinux//wineprefix/SWKotOR/drive_c/Program Files (x86)/LucasArts/SWKotOR: No such file or directory
Part of this seems to stem from line 173 of the installation script:
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/LucasArts/SWKotOR"
This might be the right path when installing from the CD, but for Steam the path should be
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/SteamApps/common/swkotor"
I'm not sure what's calling
L"C:\\windows\\system32\\winemenubuilder.exe"
but it looks like the L is screwing things up.
Update: This is from line 167 in the script:
regedit vms.reg
This gives me the error
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
I get the same error from line 182,
regedit SWKotor_fix.reg
Interestingly enough, this error only pops up when I run regedit from the POL console. From the standard console, I don't get this error.
Editiert von: Rubin