Vehicle Simulator

Questions about Wine on Linux
Locked
Sougias_o_tromeros
Newbie
Newbie
Posts: 3
Joined: Fri Aug 19, 2022 6:44 am

Vehicle Simulator

Post by Sougias_o_tromeros »

i am running Kubuntu version 22.04 and wine version 7.15 stable branch.When i try to launch a scenery in the game Vehicle Simulator by Ilan Panini version 2.6.0 it just crashes.Here is the output from wine:

Unhandled exception: page fault on read access to 0xfffffffe in 32-bit code (0x004f72f6).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:004f72f6 ESP:00b6f420 EBP:00b6f470 EFLAGS:00010206( R- -- I - -P- )
EAX:7fffffff EBX:037c500c ECX:00000001 EDX:00000000
ESI:7fffffff EDI:00009438
Stack dump:
0x00b6f420: 008b81f8 00005940 00000007 00000000
0x00b6f430: 3f800000 00000000 00b6f454 00b6f454
0x00b6f440: 037c500c 7fffffff 3d800000 00b6f454
0x00b6f450: 00000000 80000000 0000001f 0000001f
0x00b6f460: 7ff80000 ffffc000 0000041e 4ec7c300
0x00b6f470: 00b6f4c4 004f8bda 00000000 00000000
Backtrace:
=>0 0x004f72f6 in vsf (+0xf72f6) (0x00b6f470)
1 0x004f8bda in vsf (+0xf8bda) (0x00b6f4c4)
2 0x004f9134 in vsf (+0xf9134) (0x00b6f4e4)
3 0x00482e30 in vsf (+0x82e30) (0x00b6f524)
4 0x004d33cd in vsf (+0xd33cd) (0x00b6f540)
5 0x004db555 in vsf (+0xdb555) (0x00b6f82c)
6 0x004cbf1c in vsf (+0xcbf1c) (0x00b6fbb0)
7 0x0044fc62 in vsf (+0x4fc62) (0x00b6fbcc)
8 0x0044fab7 in vsf (+0x4fab7) (0x00b6fbe0)
9 0x004d660e in vsf (+0xd660e) (0x00b6fc00)
10 0x004b2b56 in vsf (+0xb2b56) (0x00b6fc24)
11 0x00547770 in vsf (+0x147770) (0x00b6fc48)
12 0x6ed62d5c in user32 (+0x62d5c) (0x00b6fc78)
13 0x6ed63279 call_window_proc+0x39(hwnd=00020048, msg=0x202, wp=0, lp=0x2fb04f6, result=00B6FD54, arg=00547750) [Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:133] in user32 (0x00b6fcd8)
14 0x6ed6563a dispatch_win_proc_params+0x17a(params=00B6FD58) [Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:783] in user32 (0x00b6fd28)
15 0x6ed472bf dispatch_message+0x7f(msg=00B6FE84, ansi=<internal error>) [Z:\usr\src\packages\BUILD\dlls\user32\message.c:869] in user32 (0x00b6fd98)
16 0x6ed49b39 DispatchMessageA+0x44(msg=<internal error>) [Z:\usr\src\packages\BUILD\dlls\user32\message.c:904] in user32 (0x00b6fe38)
17 0x005479fe in vsf (+0x1479fe) (0x00b6fea0)
18 0x0065db13 in vsf (+0x25db13) (0x00b6ff30)
19 0x7b62a170 in kernel32 (+0x2a170) (0x00b6ff48)
20 0x7bc5c4e7 in ntdll (+0x5c4e7) (0x00b6ff5c)
21 0x7bc5cba0 RtlCreateUserThread(entry=0065DB66, arg=7FFD1000) [Z:\usr\src\packages\BUILD\dlls\ntdll\thread.c:261] in ntdll (0x00b6ffec)
0x004f72f6 vsf+0xf72f6: movswl 0x0(%edx,%esi,2),%eax
Modules:
Module Address Debug info Name (45 modules)
PE 00400000-00a69000 Export vsf
PE 00e70000-012d9000 Deferred ole32
PE 012e0000-01413000 Deferred dsound
PE 01420000-0159c000 Deferred winmm
PE 015a0000-0224b000 Deferred shell32
PE 02250000-02467000 Deferred comdlg32
PE 02d70000-02de7000 Deferred winex11
PE 61500000-6157b000 Deferred iphlpapi
PE 61740000-61836000 Deferred advapi32
PE 61940000-61b3f000 Deferred wininet
PE 62440000-62769000 Deferred d3d9
PE 62fc0000-631e3000 Deferred rpcrt4
PE 63480000-6349b000 Deferred version
PE 63600000-636af000 Deferred sapi
PE 63bc0000-63c05000 Deferred shcore
PE 64a40000-64b2a000 Deferred shlwapi
PE 64ec0000-64f52000 Deferred oleaut32
PE 663c0000-66473000 Deferred winspool
PE 666c0000-666e8000 Deferred hid
PE 66b00000-66b58000 Deferred win32u
PE 67840000-678b8000 Deferred winepulse
PE 67a00000-67a78000 Deferred d3dxof
PE 67d40000-67dd6000 Deferred mmdevapi
PE 682c0000-68381000 Deferred winevulkan
PE 68500000-68640000 Deferred combase
PE 68700000-68798000 Deferred uxtheme
PE 69180000-691a5000 Deferred wsock32
PE 69540000-6962a000 Deferred dinput8
PE 69ac0000-69ad2000 Deferred vulkan-1
PE 6a040000-6a0a2000 Deferred msacm32
PE 6a280000-6a2c4000 Deferred msvcrt
PE 6bc00000-6bc99000 Deferred sechost
PE 6bcc0000-6be62000 Deferred setupapi
PE 6c9c0000-6cbe4000 Deferred gdi32
PE 6cc40000-6d0be000 Deferred comctl32
PE 6d780000-6d809000 Deferred ws2_32
PE 6e4c0000-6e4fe000 Deferred dnsapi
PE 6ed00000-6f209000 Dwarf-4 user32
PE 6f480000-6f49b000 Deferred nsi
PE 70940000-70994000 Deferred mpr
PE 70b40000-70e13000 Deferred ucrtbase
PE 71200000-71253000 Deferred imm32
PE 7b000000-7b519000 Deferred kernelbase
PE 7b600000-7b757000 Dwarf-4 kernel32
PE 7bc00000-7beb8000 Dwarf-4 ntdll
Threads:
process tid prio name (all IDs are in hex)
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
00000078 0
000000a4 0
000000bc 0
000000d4 0
00000108 0
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0
0000005c 0
00000060 0
00000064 0
000000e0 0
00000068 winedevice.exe
0000006c 0
0000007c 0
00000080 0
00000084 0
00000088 0
0000008c 0
00000090 0
0000009c 0
000000a0 0
00000070 explorer.exe
00000074 0
000000f4 0
000000f8 0
00000094 plugplay.exe
00000098 0
000000a8 0
000000ac 0
000000b0 0
000000b4 winedevice.exe
000000b8 0
000000c0 0
000000c4 0
000000c8 0
000000cc svchost.exe
000000d0 0
000000d8 0
000000dc 0
000000ec (D) Z:\home\stefanos\Downloads\Seed\Crack\vsf.exe
000000f0 0 <==
00000128 0 dxvk-submit
0000012c 0 dxvk-queue
00000130 0 dxvk-cs
00000134 15
00000138 15
0000013c 15
00000140 -2 dxvk-shader
00000144 -2 dxvk-shader
00000148 -2 dxvk-shader
0000014c -2 dxvk-shader
00000150 -2 dxvk-shader
0000015c 0 dxvk-writer
00000178 0
00000100 rpcss.exe
00000104 0
00000110 0
00000114 0
00000118 0
0000011c 0
00000120 0
00000170 conhost.exe
00000174 0
System information:
Wine build: wine-7.15
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.15.0-46-generic
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Vehicle Simulator

Post by jkfloris »

wine version 7.15 stable branch
I don't know exactly what you mean by this, but I assume you mean Wine version 7.15 without extra patches.
000000ec (D) Z:\home\stefanos\Downloads\Seed\Crack\vsf.exe
Hmm, this doesn't look like the official version.

Code: Select all

00000128 0 dxvk-submit
0000012c 0 dxvk-queue
00000130 0 dxvk-cs

00000140 -2 dxvk-shader
00000144 -2 dxvk-shader
00000148 -2 dxvk-shader
0000014c -2 dxvk-shader
00000150 -2 dxvk-shader
0000015c 0 dxvk-writer
I guess you have dxvk installed.


When I download the program from www.hangsim.com and try the program in a clean wineprefix, I run into the following bug:

Code: Select all

wine: Call from 000000007B01389E to unimplemented function d3dx9_43.dll.D3DXLoadMeshFromXof, aborting
wine: Unimplemented function d3dx9_43.dll.D3DXLoadMeshFromXof called at address 000000007B01389E (thread 00d8), starting debugger...
Fortunately, it can be fixed by using the d3dx9_43 library from Microsoft:

Code: Select all

winetricks d3dx9_43
Sougias_o_tromeros
Newbie
Newbie
Posts: 3
Joined: Fri Aug 19, 2022 6:44 am

Re: Vehicle Simulator

Post by Sougias_o_tromeros »

It didn't work.I Launched it from the the terminal and this is what happened:

006c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000003
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
info: Game: vsf.exe
info: DXVK: v1.10.3
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
info: OpenXR
info: OpenVR: could not open registry key, status 2
info: OpenVR: Failed to locate module
info: Enabled instance extensions:
info: VK_KHR_get_surface_capabilities2
info: VK_KHR_surface
info: VK_KHR_win32_surface
warn: Skipping CPU adapter: llvmpipe (LLVM 14.0.6, 256 bits)
info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info: Intel(R) Xe Graphics (TGL GT2):
info: Driver: 22.2.99
info: Vulkan: 1.3.224
info: Memory Heap[0]:
info: Size: 5763 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0xf
info: Process set as DPI aware
info: Device properties:
info: Device name: : Intel(R) Xe Graphics (TGL GT2)
info: Driver version : 22.2.99
info: Enabled device extensions:
info: VK_EXT_4444_formats
info: VK_EXT_conservative_rasterization
info: VK_EXT_custom_border_color
info: VK_EXT_depth_clip_enable
info: VK_EXT_extended_dynamic_state
info: VK_EXT_host_query_reset
info: VK_EXT_robustness2
info: VK_EXT_shader_demote_to_helper_invocation
info: VK_EXT_shader_stencil_export
info: VK_EXT_shader_viewport_index_layer
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_create_renderpass2
info: VK_KHR_depth_stencil_resolve
info: VK_KHR_draw_indirect_count
info: VK_KHR_driver_properties
info: VK_KHR_image_format_list
info: VK_KHR_sampler_mirror_clamp_to_edge
info: VK_KHR_shader_float_controls
info: VK_KHR_swapchain
info: VK_KHR_timeline_semaphore
info: Device features:
info: robustBufferAccess : 1
info: fullDrawIndexUint32 : 1
info: imageCubeArray : 1
info: independentBlend : 1
info: geometryShader : 1
info: tessellationShader : 0
info: sampleRateShading : 1
info: dualSrcBlend : 0
info: logicOp : 0
info: multiDrawIndirect : 0
info: drawIndirectFirstInstance : 0
info: depthClamp : 1
info: depthBiasClamp : 1
info: fillModeNonSolid : 1
info: depthBounds : 1
info: multiViewport : 1
info: samplerAnisotropy : 1
info: textureCompressionBC : 1
info: occlusionQueryPrecise : 1
info: pipelineStatisticsQuery : 1
info: vertexPipelineStoresAndAtomics : 1
info: fragmentStoresAndAtomics : 0
info: shaderImageGatherExtended : 0
info: shaderStorageImageExtendedFormats : 0
info: shaderStorageImageReadWithoutFormat : 0
info: shaderStorageImageWriteWithoutFormat : 1
info: shaderClipDistance : 1
info: shaderCullDistance : 1
info: shaderFloat64 : 0
info: shaderInt64 : 0
info: variableMultisampleRate : 0
info: VK_EXT_4444_formats
info: formatA4R4G4B4 : 1
info: formatA4B4G4R4 : 0
info: VK_EXT_custom_border_color
info: customBorderColors : 1
info: customBorderColorWithoutFormat : 1
info: VK_EXT_depth_clip_enable
info: depthClipEnable : 1
info: VK_EXT_extended_dynamic_state
info: extendedDynamicState : 1
info: VK_EXT_host_query_reset
info: hostQueryReset : 1
info: VK_EXT_memory_priority
info: memoryPriority : 0
info: VK_EXT_non_seamless_cube_map
info: nonSeamlessCubeMap : 0
info: VK_EXT_robustness2
info: robustBufferAccess2 : 1
info: robustImageAccess2 : 0
info: nullDescriptor : 1
info: VK_EXT_shader_demote_to_helper_invocation
info: shaderDemoteToHelperInvocation : 1
info: VK_EXT_transform_feedback
info: transformFeedback : 0
info: geometryStreams : 0
info: VK_EXT_vertex_attribute_divisor
info: vertexAttributeInstanceRateDivisor : 1
info: vertexAttributeInstanceRateZeroDivisor : 1
info: VK_KHR_buffer_device_address
info: bufferDeviceAddress : 0
info: VK_KHR_timeline_semaphore
info: timelineSemaphore : 0
info: Queue families:
info: Graphics : 0
info: Transfer : 0
info: DXVK: Read 140 valid state cache entries
../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
info: D3D9DeviceEx: Using extended constant set for software vertex processing.
info: D3D9DeviceEx::ResetSwapChain:
info: Requested Presentation Parameters
info: - Width: 1912
info: - Height: 1064
info: - Format: D3D9Format::X8R8G8B8
info: - Auto Depth Stencil: true
info: ^ Format: D3D9Format::D24S8
info: - Windowed: true
info: Presenter: Actual swap chain properties:
info: Format: VK_FORMAT_B8G8R8A8_UNORM
info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info: Buffer size: 1912x1064
info: Image count: 3
info: Exclusive FS: 0
info: DXVK: Using 5 compiler threads
wine: Unhandled page fault on read access to 00000009 at address 6870A7B9 (thread 0024), starting debugger...
Unhandled exception: page fault on read access to 0x00000009 in 32-bit code (0x6870a7b9).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
EIP:6870a7b9 ESP:0031ea90 EBP:0031eaf8 EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000001 EBX:00000001 ECX:0031eaf8 EDX:00000000
ESI:00000000 EDI:7b60deb0
Stack dump:
0x0031ea90: 00110000 00110048 00110000 f7c73d4a
0x0031eaa0: 0031ead0 f7c73d2b 0031eb10 7b60deb0
0x0031eab0: 00040046 0031eb58 7bc0c55c 00b418e8
0x0031eac0: 00000000 0000003c 00000000 6870c755
0x0031ead0: 00b418dc 0000003b 00000000 00000000
0x0031eae0: 00000000 00000000 00000000 00000000
Backtrace:
=>0 0x6870a7b9 EntryPoint+0xffffffff() in uxtheme (0x0031eaf8)
1 0x6870c755 EntryPoint+0xffffffff() in uxtheme (0x00000000)
2 0x6870f5db EntryPoint+0xffffffff() in uxtheme (0x0031efd8)
3 0x6870f6fa EntryPoint+0xffffffff() in uxtheme (0x0031f008)
4 0x00b025b3 EntryPoint+0xffffffff() in comctl32 (0x0031f0b8)
5 0x00b0451c EntryPoint+0xffffffff() in comctl32 (0x0031f128)
6 0x6eda981c EntryPoint+0xffffffff() in user32 (0x0031f168)
7 0x6eda9fe7 EntryPoint+0xffffffff() in user32 (0x0000031a)
8 0x6edac503 EntryPoint+0xffffffff() in user32 (0x6edb4ef8)
9 0x6ed5e0c1 EntryPoint+0xffffffff() in user32 (0x00000000)
10 0x6ed6354c EntryPoint+0xffffffff() in user32 (0x3ffe2000)
11 0x6ed637a4 EntryPoint+0xffffffff() in user32 (0x0031f348)
12 0x6870f806 EntryPoint+0xffffffff() in uxtheme (0x0031f398)
13 0x00b02763 EntryPoint+0xffffffff() in comctl32 (0x0031f448)
14 0x00b0451c EntryPoint+0xffffffff() in comctl32 (0x0031f4b8)
15 0x6eda981c EntryPoint+0xffffffff() in user32 (0x0031f4f8)
16 0x6eda9fe7 EntryPoint+0xffffffff() in user32 (0x00000002)
17 0x6edac503 EntryPoint+0xffffffff() in user32 (0x6edb4ef8)
18 0x6ed5e0c1 EntryPoint+0xffffffff() in user32 (0x00000000)
19 0x6ed6354c EntryPoint+0xffffffff() in user32 (0x3ffe2000)
20 0x6ed637a4 EntryPoint+0xffffffff() in user32 (0x0031f6d8)
21 0x6ed9a7c0 EntryPoint+0xffffffff() in user32 (0x0031f778)
22 0x6ed9cb87 EntryPoint+0xffffffff() in user32 (0x0031f778)
23 0x6ed2e59b EntryPoint+0xffffffff() in user32 (0x00000000)
24 0x6ed2e85c EntryPoint+0xffffffff() in user32 (0x0031f818)
25 0x6ed6ac44 EntryPoint+0xffffffff() in user32 (0x0031f868)
26 0x6ed6ae93 EntryPoint+0xffffffff() in user32 (0x0031f8d8)
27 0x6ed6b03f EntryPoint+0xffffffff() in user32 (0x0031f948)
28 0x00438898 EntryPoint+0xffffffff() in vsf (0x0031f9f0)
29 0x00482807 EntryPoint+0xffffffff() in vsf (0x0031fdb8)
30 0x004b4bd0 EntryPoint+0xffffffff() in vsf (0x0031fe44)
31 0x00547982 EntryPoint+0xffffffff() in vsf (0x0031fea0)
32 0x0065db13 EntryPoint+0xffffffff() in vsf (0x0031ff30)
33 0x7b62d990 EntryPoint+0xffffffff() in kernel32 (0x0031ff48)
34 0x7bc567f7 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
35 0x7bc56a50 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
0x6870a7b9 EntryPoint+0xffffffff in uxtheme: cmpw $0,0x8(%ebx)
Modules:
Module Address Debug info Name (42 modules)
PE 320000- 34a000 Deferred zlib1
PE 400000- a69000 Export vsf
PE a70000- f15000 Dwarf comctl32
PE f20000- 1386000 Deferred ole32
PE 1390000- 14f6000 Deferred winmm
PE 1500000- 174c000 Deferred comdlg32
PE 61740000-61832000 Deferred advapi32
PE 61940000-61b21000 Deferred wininet
PE 62440000-62769000 Deferred d3d9
PE 62fc0000-631d3000 Deferred rpcrt4
PE 63480000-6349b000 Deferred version
PE 63600000-636ad000 Deferred sapi
PE 63bc0000-63c04000 Deferred shcore
PE 64a40000-64b29000 Deferred shlwapi
PE 64ec0000-64f52000 Deferred oleaut32
PE 67a00000-67a77000 Deferred d3dxof
PE 67d40000-67db9000 Deferred mmdevapi
PE 682c0000-683e7000 Deferred dsound
PE 68500000-68640000 Deferred combase
PE 68700000-68788000 Dwarf uxtheme
PE 69180000-691a6000 Deferred wsock32
PE 69ac0000-69ada000 Deferred vulkan-1
PE 6a040000-6a0a2000 Deferred msacm32
PE 6a280000-6a2c4000 Deferred msvcrt
PE 6bc00000-6bc99000 Deferred sechost
PE 6bcc0000-6be60000 Deferred setupapi
PE 6c9c0000-6cf59000 Deferred gdi32
PE 6ed00000-6f389000 Dwarf user32
PE 70940000-70994000 Deferred mpr
PE 70b40000-70df9000 Deferred ucrtbase
PE 71200000-71251000 Deferred imm32
PE 7b000000-7b348000 Deferred kernelbase
PE 7b600000-7b929000 Dwarf kernel32
PE 7b950000-7b953000 Deferred winepulse
PE 7bc00000-7bea9000 Dwarf ntdll
PE 7eac0000-7eac4000 Deferred winex11
PE 7ee40000-7ee4b000 Deferred winspool
PE 7ee80000-7ee84000 Deferred iphlpapi
PE 7eeb0000-7eeb6000 Deferred ws2_32
PE 7eef0000-7f7c2000 Deferred shell32
PE 7f8c0000-7f8cb000 Deferred dinput8
PE 7f970000-7f974000 Deferred winevulkan
Threads:
process tid prio (all id:s are in hex)
00000020 (D) Z:\home\stefanos\Downloads\Seed\Crack\vsf.exe
00000024 0 <==
00000128 0
0000012c 0
00000130 0
00000134 0
00000138 15
0000013c 0
00000140 15
00000144 0
00000148 -2
0000014c -2
00000150 -2
00000154 -2
00000158 -2
00000164 0
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
00000084 0
000000a0 0
000000c0 0
000000d4 0
00000104 0
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0
0000005c 0
0000007c winedevice.exe
00000080 0
00000088 0
0000008c 0
00000090 0
00000094 0
00000098 plugplay.exe
0000009c 0
000000a4 0
000000a8 0
000000ac 0
000000b0 winedevice.exe
000000b4 0
000000c4 0
000000c8 0
000000b8 explorer.exe
000000bc 0
000000f0 0
000000f4 0
000000cc svchost.exe
000000d0 0
000000d8 0
000000dc 0
000000e0 conhost.exe
000000e4 0
000000fc rpcss.exe
00000100 0
00000108 0
0000010c 0
00000110 0
00000114 0
00000118 0
System information:
Wine build: wine-6.0.3 (Ubuntu 6.0.3~repack-1)
Platform: i386 (WOW64)
Version: Windows 10
Host system: Linux
Host version: 5.15.0-46-generic
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Vehicle Simulator

Post by jkfloris »

...
info: DXVK: v1.10.3
...
Wine build: wine-6.0.3 (Ubuntu 6.0.3~repack-1)
Could you try the game in a clean Wineprefix with Wine 7.15?

For example

Code: Select all

# Create a clean wineprefix in ~/vehicle and install d3dx9_43
WINEPREFIX=${HOME}/vehicle WINE=/opt/wine-devel/bin/wine winetricks -q d3dx9_43

# Install the game
WINEPREFIX=${HOME}/vehicle /opt/wine-devel/bin/wine ${HOME}/Downloads/vsf_update.exe
Locked