xna-cncnet-client icon indicating copy to clipboard operation
xna-cncnet-client copied to clipboard

Cannot run on crossover/wine

Open brijagstu7 opened this issue 3 years ago • 5 comments

brijagstu7 avatar Apr 21 '22 09:04 brijagstu7

How doesn't it run on Crossover/Wine? Details?

Rampastring avatar Apr 22 '22 21:04 Rampastring

How doesn't it run on Crossover/Wine? Details?

When running MentalOmegaClient.exe in Crossover, it appeared nothing happens and quits. I captured the log which writes:

Running command: "/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega/MentalOmegaClient.exe"
Bottle: CnCNet Red Alert 2
Debug channels: 
Extra environment variables (null)

CrossOver 21.2.0.33926
macOS 版本10.16(版号21C52)
Mac model: MacBookPro17,1
Install location: /Applications/CrossOver.app
Mac Locale: zh-Hans_US

CXConfig->read(/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/etc/CrossOver.conf)
CXConfig->read(/Users/yangsijie/Library/Application Support/CrossOver/CrossOver.conf)
Product version=21.2.0.33926
39525: Grabbing the '/var/folders/qg/9qcwdcwn03z229bglm2v85sh0000gn/T//.wine-501/bottle-1000011-4e1181.lock' lock
39525: Got the '/var/folders/qg/9qcwdcwn03z229bglm2v85sh0000gn/T//.wine-501/bottle-1000011-4e1181.lock' lock
CXConfig->read(/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/cxbottle.conf)
Mode = 'private'
Bottle environment variables:
 CX_BOTTLE_CREATOR_APPID -> com.codeweavers.c4.16169
Environment:
  CX_ROOT = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver"
  CX_BOTTLE = "CnCNet Red Alert 2"
  WINEPREFIX = "/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2"
  CX_WINDOWS_VERSION = <undefined>
  PATH = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin:/usr/bin:/bin:/usr/sbin:/sbin"
  DYLD_LIBRARY_PATH = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib64:/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib32on64"
  WINEDLLPATH = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib32on64/wine"
  WINEDLLOVERRIDES = <undefined>
  LD_PRELOAD = <undefined>
  LD_ASSUME_KERNEL = <undefined>
  WINELOADER = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineloader32on64"
  WINESERVER = "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineserver"
  WINEDEBUG = <undefined>
  CX_LOG = <undefined>
  CX_DEBUGMSG = <undefined>
  DISPLAY = <undefined>
  VKD3D_DEBUG = <undefined>
  VKD3D_SHADER_DEBUG = <undefined>
39525: Releasing the '/var/folders/qg/9qcwdcwn03z229bglm2v85sh0000gn/T//.wine-501/bottle-1000011-4e1181.lock' lock
Running `"/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/cxavscan" --gui "/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega/MentalOmegaClient.exe"`

** Sun Apr 24 00:49:48 2022
Starting '/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineloader32on64' 'winewrapper.exe' '--new-console' '--workdir' '/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega' '--start' '--'
'/Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega/MentalOmegaClient.exe'

-> rc=768  (took 0.0517120361328125 seconds)
output=[]
Command:
/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineloader32on64 winewrapper.exe --new-console --workdir /Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega --start -- /Users/yangsijie/Library/Application Support/CrossOver/Bottles/CnCNet Red Alert 2/drive_c/Program Files/Mental Omega/MentalOmegaClient.exe
0070:fixme:font:opentype_enum_font_names handle name format 1
0070:fixme:font:opentype_enum_font_names handle name format 1
0070:fixme:font:opentype_enum_font_names handle name format 1
002c:fixme:font:opentype_enum_font_names handle name format 1
002c:fixme:font:opentype_enum_font_names handle name format 1
002c:fixme:font:opentype_enum_font_names handle name format 1
0024:fixme:font:opentype_enum_font_names handle name format 1
0024:fixme:font:opentype_enum_font_names handle name format 1
0024:fixme:font:opentype_enum_font_names handle name format 1
0024:fixme:exec:SHELL_execute flags ignored: 0x00000100
00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00b4:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 1002A1A0, 10082460, 10082478) stub.
00b4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 10003241, 28) stub
00b4:fixme:font:opentype_enum_font_names handle name format 1
00b4:fixme:font:opentype_enum_font_names handle name format 1
00b4:fixme:font:opentype_enum_font_names handle name format 1
00b4:fixme:ntdll:EtwRegisterTraceGuidsW (7A03261A, 0011EFB8, {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 14, 7A3BEE40, (null), (null), 7A3BDC70): stub
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {044973cd-251f-4dff-a3e9-9d6307286b05}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {3044f61a-99b0-4c21-b203-d39423c73b00}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {d00792da-07b7-40f5-97eb-5d974e054740}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {cfc4ba53-fb42-4757-8b70-5f5d51fee2f4}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {efdf1eac-1d5d-4e84-893a-19b80f692176}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {c71408de-42cc-4f81-9c93-b8912abf2a0f}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {840c8456-6457-4eb7-9cd0-d28f01c64f5e}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {c424b3e3-2ae0-416e-a039-410c5d8e5f14}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {300ce105-86d1-41f8-b9d2-83fcbff32d99}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {561410f5-a138-4ab3-945e-516483cddfbc}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {15447a14-b523-46ae-b75b-023f900b4393}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {b17304d9-5afa-4da6-9f7b-5a4fa73129b6}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {02d08a4f-fd01-4538-989b-03e437b950f4}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {861f5339-19d6-4873-b350-7b03228bda7c}
00b4:fixme:ntdll:EtwRegisterTraceGuidsW (7A030638, 0011EFB8, {cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 1, 7A3BEE38, (null), (null), 7A3BDC78): stub
00b4:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {ea40c74d-4f65-4561-bb26-656231c8967f}
00b4:fixme:path:parse_url failed to parse L"System.Windows.Forms"
00c4:fixme:font:opentype_enum_font_names handle name format 1
00c4:fixme:font:opentype_enum_font_names handle name format 1
00c4:fixme:font:opentype_enum_font_names handle name format 1
00b4:fixme:path:parse_url failed to parse L"System"
00b4:fixme:path:parse_url failed to parse L"System.Drawing"
00fc:fixme:exec:SHELL_execute flags ignored: 0x00000100
00b4:fixme:virtual:NtFlushProcessWriteBuffers stub
00b4:fixme:msvcrt:__clean_type_info_names_internal (64222018) stub
00b4:fixme:msvcrt:__clean_type_info_names_internal (60345094) stub
00b4:fixme:msvcrt:__clean_type_info_names_internal (64209A90) stub
00b4:fixme:msvcrt:__clean_type_info_names_internal (790B72A8) stub
00b4:fixme:msvcrt:__clean_type_info_names_internal (7A3C5CA4) stub
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00b4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0104:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 1002A1A0, 10082460, 10082478) stub.
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 10003241, 28) stub
0104:fixme:font:opentype_enum_font_names handle name format 1
0104:fixme:font:opentype_enum_font_names handle name format 1
0104:fixme:font:opentype_enum_font_names handle name format 1
0104:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0111B8F0, 01661058, 01661070) stub.
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00F309AD, 28) stub
0104:fixme:kernelbase:QuirkIsEnabled3 (0031F540, FFFFFFFF) stub!
0104:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0031FC74
0104:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 01254330, 01661100, 0166C108) stub.
0104:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 01254330, 01662258, 016622C8) stub.
0104:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 01254330, 0166AC30, 0166C118) stub.
0104:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 01254330, 01661220, 01661288) stub.
0104:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 00F20000) stub
010c:err:ole:CoGetContextToken apartment not initialised
0104:fixme:path:parse_url failed to parse L"System.Windows.Forms"
0104:fixme:path:parse_url failed to parse L"System.Security"
0104:fixme:path:parse_url failed to parse L"System.Xml"
0104:fixme:path:parse_url failed to parse L"System"
0104:fixme:path:parse_url failed to parse L"System.Configuration"
0104:fixme:path:parse_url failed to parse L"System.Drawing"
0104:fixme:path:parse_url failed to parse L"Accessibility"
0104:fixme:path:parse_url failed to parse L"System.Core"
0104:fixme:path:parse_url failed to parse L"System.Deployment"
0104:fixme:path:parse_url failed to parse L"System.Runtime.Serialization.Formatters.Soap"
0104:fixme:path:parse_url failed to parse L"System"
0104:fixme:path:parse_url failed to parse L"System.Drawing"
0104:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0031DCA8 00000000 0031DCAC) returning a dummy value (current locale)
0104:fixme:nls:RtlGetThreadPreferredUILanguages 00000008, 0031DCA8, 00000000 0031DCAC
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0031DCA8 00000000 0031DCAC) returning a dummy value (current locale)
0104:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 05840336, 00000000, 01B36584) stub.
0104:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0104:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000402,00000000,0x0001,0x00000000,0031D468,00000000): stub
0104:err:eventlog:ReportEventW L"Application: clientdx.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.Runtime.InteropServices.COMException\n   at System.Globalization.CultureInfo.InternalGetUserDefaultUILanguage(System.Runtime.CompilerSer"...
0104:fixme:advapi:DeregisterEventSource (CAFE4242) stub
wine: Unhandled exception 0xe0434352 in thread 104 at address 7B010C97 (thread 0104), starting debugger...
0104:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 256 316" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger

brijagstu7 avatar Apr 23 '22 16:04 brijagstu7

People have run the client on Linux and Wine before, also Macs before they dropped 32-bit support or switched to ARM. Maybe reading through the following issues might help you:

https://github.com/CnCNet/xna-cncnet-client/issues/29 https://github.com/CnCNet/xna-cncnet-client/issues/59

Rampastring avatar Apr 23 '22 18:04 Rampastring

Oh, I tried both but none worked. I got multiple error messages. Using wine and winetricks described from #29 gave me "bad cpu type" error ( I'm using m1 Mac so the old trick might not work anymore I guess ).

brijagstu7 avatar Apr 23 '22 23:04 brijagstu7

OK, I tried MO3.3 and got it running, but the game couldn't load text well; MO3.3.6 didn't run. The previous workarounds still don't make any difference. (What runs before still runs, what didn't run still didn't run, after applying them)

brijagstu7 avatar May 15 '22 12:05 brijagstu7

This issue might be obsolete now since .net 6 build is now supported

SadPencil avatar Sep 19 '22 18:09 SadPencil