Currently (2019-03) this script does not allow to run the game (used: CD-ROM v1.01, 2003), but just to install it.
Menus work, but it crash as soon I try to launch a game session :-(
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | #!/bin/bash
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE= "Lock On: Modern Air Combat"
PREFIX= "lockon_MAC"
WORKING_WINE_VERSION= "4.3"
AUTHOR= "Dadu042"
EDITOR= "UbiSoft"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Call POL_Function_NoCDWarning
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
POL_SetupWindow_message "Note: please do not install 'UbiSoft game service' nor the 'DirectX 9' provided by the game." "$TITLE"
POL_SetupWindow_InstallMethod "LOCAL,CD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
SETUP_EXE= "$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
cd "$POL_System_TmpDir"
else
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "LockOn.exe"
POL_Wine start /unix "$CDROM/setup.exe"
POL_Wine_WaitExit "setup.exe"
cd "$POL_System_TmpDir"
fi
POL_Shortcut "LockOn.exe" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "lock_on_reference_manual.pdf"
POL_Call POL_Install_vcrun6
POL_Call POL_Install_d3dx9_43
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0
|
Debug log :
[03/10/19 14:56:19] - Running wine-4.3 LockOn.exe (Working directory : /home/myself/.PlayOnLinux/wineprefix/lockon_MAC/drive_c/Program Files/Ubisoft/Eagle Dynamics/Lock On)
0038:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to?
0038:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to?
0009:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0038:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to?
0038:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to?
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f4d8,0x00000000), stub!
003d:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
003d:fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
0009:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.
0009:fixme:d3d8:ValidatePixelShader (0x613d4410 (nil) 1 0x32f340): stub
0009:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0xf7b8cd29
0032:fixme:advapi:RegisterEventSourceA ((null)," "): stub
0032:fixme:advapi:RegisterEventSourceW (L"",L" "): stub
0032:fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x72fa9c,0x86f3ea): stub
0032:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x13ab50,0x86f3ea): stub
0032:err:eventlog:ReportEventW L"3"
0032:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
0032:fixme:advapi:RegisterEventSourceA ((null)," "): stub
0032:fixme:advapi:RegisterEventSourceW (L"",L" "): stub
0032:fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x72fa9c,0x86f36a): stub
0032:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x13ab50,0x86f36a): stub
0032:err:eventlog:ReportEventW L"6"
0032:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
0032:fixme:advapi:RegisterEventSourceA ((null)," "): stub
0032:fixme:advapi:RegisterEventSourceW (L"",L" "): stub
0032:fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x72fa9c,0x86796a): stub
0032:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x13ab50,0x86796a): stub
0032:err:eventlog:ReportEventW L"7"
0032:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Edited by Dadu042