Trying to run Space Engineers in Wine-staging

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Magic_RB
Newbie
Newbie
Posts: 4
Joined: Sat Dec 09, 2017 5:59 am

Trying to run Space Engineers in Wine-staging

Post by Magic_RB »

I'm trying to run Space Engineers in wine i have dotnet46 installed but no matter what i do i can't get it to not crash, i know it has worked in the past i remember trying to run this game on my laptop (it was horribly slow, but the laptop it self was old af), now it gives me these errors:

Code: Select all

fixme:mscoree:ConfigFileHandler_startElement Unknown element L"enforceFIPSPolicy" in state 4
fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.1" not implemented
fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown)
fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown)
fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000019-0000-0000-c000-000000000046} (unknown)
fixme:shell:CustomDestinationList_BeginList 0x1090a068 (0xdb3e53c {92ca9dcd-5622-4bba-a805-5e9f541bd8c9} 0xdb3e548): stub

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'VRage.FileSystem.MyFileSystem' threw an exception. ---> System.MissingMethodException: Method 'System.Collections.HashHelpers.IsWellKnownEqualityComparer' not found.
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <432c438a5c354a95ae26a9890e906c4b>:0 
  at VRage.FileSystem.MyFileProviderAggregator.AddProvider (VRage.FileSystem.IFileProvider provider) [0x00000] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileProviderAggregator..ctor (VRage.FileSystem.IFileProvider[] providers) [0x0001b] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileSystem..cctor () [0x00061] in <3e30fb9fff804e619f634d140fd55a39>:0 
   --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'VRage.FileSystem.MyFileSystem' threw an exception. ---> System.MissingMethodException: Method 'System.Collections.HashHelpers.IsWellKnownEqualityComparer' not found.
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <432c438a5c354a95ae26a9890e906c4b>:0 
  at VRage.FileSystem.MyFileProviderAggregator.AddProvider (VRage.FileSystem.IFileProvider provider) [0x00000] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileProviderAggregator..ctor (VRage.FileSystem.IFileProvider[] providers) [0x0001b] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileSystem..cctor () [0x00061] in <3e30fb9fff804e619f634d140fd55a39>:0 
   --- End of inner exception stack trace ---
also i have mscoree set to buildin.

i have no clue how to fix this, thx for any help
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trying to run Space Engineers in Wine-staging

Post by Bob Wya »

@Magic_RB

Make sure you're using an up-to-date version of the winetricks script - see WineHQ Wiki: Winetricks ...

You would need to use:

Code: Select all

winetricks -q dotnet461
in a clean 32-bit WINEPREFIX.
Then try to install your applications.
See the WineHQ FAQ: 6.5.3 How do I create a 32 bit wineprefix on a 64 bit system?

Disclaimer: I find the installers for dotnet4.x can be really flaky - even when installed with winetricks. :cry:

Bob
Magic_RB
Newbie
Newbie
Posts: 4
Joined: Sat Dec 09, 2017 5:59 am

Re: Trying to run Space Engineers in Wine-staging

Post by Magic_RB »

Only problem is space engineers run only on 64bit and i tried to install dotnet 4.6.2 in wine 64 and i get the same error

Code: Select all

fixme:mscoree:ConfigFileHandler_startElement Unknown element L"enforceFIPSPolicy" in state 4
fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.1" not implemented

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'VRage.FileSystem.MyFileSystem' threw an exception. ---> System.MissingMethodException: Method 'System.Collections.HashHelpers.IsWellKnownEqualityComparer' not found.
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <31a9ee19f7d24051a5b4b803e6e691ce>:0 
  at VRage.FileSystem.MyFileProviderAggregator.AddProvider (VRage.FileSystem.IFileProvider provider) [0x00000] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileProviderAggregator..ctor (VRage.FileSystem.IFileProvider[] providers) [0x0001b] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileSystem..cctor () [0x00061] in <3e30fb9fff804e619f634d140fd55a39>:0 
   --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'VRage.FileSystem.MyFileSystem' threw an exception. ---> System.MissingMethodException: Method 'System.Collections.HashHelpers.IsWellKnownEqualityComparer' not found.
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <31a9ee19f7d24051a5b4b803e6e691ce>:0 
  at VRage.FileSystem.MyFileProviderAggregator.AddProvider (VRage.FileSystem.IFileProvider provider) [0x00000] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileProviderAggregator..ctor (VRage.FileSystem.IFileProvider[] providers) [0x0001b] in <3e30fb9fff804e619f634d140fd55a39>:0 
  at VRage.FileSystem.MyFileSystem..cctor () [0x00061] in <3e30fb9fff804e619f634d140fd55a39>:0 
   --- End of inner exception stack trace ---
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to run Space Engineers in Wine-staging

Post by dimesio »

also i have mscoree set to buildin.
You shouldn't if you're using native .NET; wine-mono should be uninstalled completely from that wineprefix. Winetricks does that for you. If you're doing it yourself, follow the instructions on https://wiki.winehq.org/Mono.
Only problem is space engineers run only on 64bit and i tried to install dotnet 4.6.2 in wine 64 and i get the same error
Winetricks doesn't install 64 bit .NET at all. If you're going to try to do it yourself, you need to manually apply the same workarounds as winetricks, and it still might not work.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trying to run Space Engineers in Wine-staging

Post by Bob Wya »

Yeah, things don't look too brilliant for this game and Wine compatibility at present...
See: WineHQ AppDB: Games / Simulation Games / Space Engineers ...
100% garbage reports todate... :cry:

.Net 4.6.x probably isn't going to work well in a 64-bit WINEPREFIX.
But see: WineHQ AppDB: .NET Framework / 4.6.1 for some installation advice...

Code: Select all

fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.1" not implemented
That clearly says .NETFramework 4.6.1 - not 4.6.2 ...
Details like that are important!

Bob
pipnina
Newbie
Newbie
Posts: 1
Joined: Thu Dec 14, 2017 11:12 am

Re: Trying to run Space Engineers in Wine-staging

Post by pipnina »

I am the person who has posted the most recent test data for the most up-to-date version of Space Engineers, and the most recent test data for the "dx9/32-bit" version of space engineers. The closest I have ever been able to get the came to running is the launcher window appearing (i.e. "Now with planets" / "Now in beta") and the game then opening a dialog box saying your graphics card/driver is insufficient. The log files Space Engineers generates always result in

Code: Select all

CreateDevice failed: System.NullReferenceException: Object reference not set to an instance of an object.
I use a GTX 1070 and the nvidia proprietary driver, if you have an AMD card I would love for you to post some test data so we can work to narrow down the cause and help devs find a solution.

My steps to get Space Engineers running are:
1: Create a new wineprefix, install steam.
2: Install wine-mono (I got an .msi which i ran and installed, I used version 4.7.1)
3: Install winetricks, then install dotnet40 and vbrun6.
4: Try to install and run Space Engineers.

I think I have remembered my steps correctly, if you find a better method, please share it on appdb.
Space Engineers appdb entries: https://appdb.winehq.org/objectManager. ... &iId=16019
Locked