It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Sadly I haven't been able to play this game at all since I got it maybe a year ago. Luckily it was bought on sale.
Trying to run with WINE under Arch linux it never gets as far as a video or a menu and I just get:

System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. at (wrapper native-to-managed) System._AppDomain.Load(intptr,intptr,intptr)

Winehq has no details on this title. Hopefully somebody out there knows more than I do?
Thanks.
No posts in this topic were marked as the solution yet. If you can help, add your reply
This game is extremely touchy, but I seem to have it working, although I have so far only gone through one of the tutorials. Also, I'm not hearing any of the in-game music so far (probably a codec issue), but the intro movie works. Here are the steps that worked for me. This is a mess, and there may be an easier way. If someone has figured out a more streamlined method, I'm sure a post on the subject will be appreciated. Judging from some of the other posts in the forum, this game is causing difficulties for Windows users, so I suppose this is just one of those picky games that won't work if the slightest thing is wrong.

The problems with this game likely come down to .NET, XNA, the dreaded Windows Media Player, and DirectX. Getting around these issues isn't at all easy.

This is based on a post that I found on Reddit. We owe our thanks to the person who originally posted this solution there. Here is a link for reference.

https://www.reddit.com/r/wine_gaming/comments/eggnql/distant_worlds_universe_in_wine/

I am using Wine 5.4 on Ubuntu 18.04. I install games manually and then use Lutris to launch them and manage Wine versions. Using Playonlinux to run through these steps should also work.

First, create the wine prefix for the game. It needs to be 32-bit, and I put it in Windows XP mode just to be safe since some of the stuff that needs to be installed is rather old. Remember to replace {path} in everything below with the path where you want to install the game. I find that it works best in a windowed virtual desktop sized to equal the monitor's resolution. My monitor is 1920x1080; replace it with your monitor's resolution. If using Lutris, you'll probably have to set this up there.

WINEPREFIX="{path}" WINEARCH=win32 winetricks winxp vd=1920x1080 grabfullscreen=y

Next, there is a bunch of stuff that needs to be installed using winetricks. I got better results installing each one in a separate step, because some of these items might exit in a way that causes winetricks to stop and not finish installing items that come afterward. The order of some of these may be important.

WINEPREFIX="{path}" winetricks vcrun2010
WINEPREFIX="{path}" winetricks ie6
WINEPREFIX="{path}" winetricks dotnet35sp1
WINEPREFIX="{path}" winetricks dotnet40
WINEPREFIX="{path}" winetricks xna40
WINEPREFIX="{path}" winetricks gdiplus
WINEPREFIX="{path}" winetricks wmp9
(NOTE: This will start up Windows Media Player. You must exit out of it to continue.)
WINEPREFIX="{path}" winetricks d3dx9

Unfortunately, d3dx9 doesn't seem to install everything that is needed for this game, so it is necessary to do a manual DirectX installation on top of this. Note that both are required - only doing the manual installation seems to cause some errors, and I couldn't get it to work at all with only d3dx9. This probably requires more investigation, as installing everything listed here might be overkill.

To do this, download the following file from Microsoft (if the forum splits this into multiple lines, note that all of this needs to be pasted into the browser with no line break):

https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe

This is an executable archive. Run directx_feb2010_redist.exe using Wine to extract the files. It doesn't matter where you extract them, and you don't necessarily need to use the game's prefix - you just need the files in the archive. Another installation step is required. Once this is done, run the following to install the files:

WINEPREFIX="{path}" wine {path to wherever you extracted the DirectX archive}/DXSETUP.exe

(Once this Wine prefix is set up, it might be wise to make a backup. Installing all of this stuff is a royal pain, and a lot of it is really old, so I worry that in the future, the installation files might stop working or some things might just vanish from the internet.)

Now, it is finally time to install the game, but it tries to install .NET and XNA, and it may break the prefix, so it is necessary to set up a separate temporary wine prefix to get the game files.

First, create the prefix. Precise configuration here probably doesn't matter - all we need is for the GOG installer to run. Just to be safe, I have it match the architecture of the game's prefix.

WINEPREFIX="{path to temporary prefix}" WINEARCH=win32 winetricks winxp

Once it is finished installing, simply move the GOG Games folder from the temporary prefix into the game prefix. This way, you can get the game files into the right place without the other possibly prefix-breaking stuff that the setup file installs.

mv {path to temporary prefix}/drive_c/GOG\ Games {path}/drive_c {path}/drive_c

You can remove the temporary prefix now.

Finally, run autorun.exe in the game folder to start the game. The launcher should come up. If it is working, a loading screen will eventually come up after you launch the game. It takes a while, so be patient. If it exits prematurely, the launcher will start up again.

I recommend using Lutris or Playonlinux to deal with games since they are good at managing Wine versions. If you want to run it manually, the command is:

WINEPREFIX="{path}" wine {path}/drive_c/GOG\ Games/Distant\ Worlds\ Universe/autorun.exe

This is complicated, and hopefully I don't have any annoying errors here. Given that systems can vary, this probably won't work for everyone, and variations on this method might be required. It might also be sensitive to Wine version. Proton might be worth a try. If I figure out anything on the music issue, I'll post an update here.

If anyone has a better method or a different method, or if anyone has suggestions on the music issue, please post it here. I know there are others here who are better at hacking Wine than I am; maybe they will figure out something easier and more reliable.

Good luck, everyone. This is the most complicated Wine installation procedure I have encountered so far, but it appears to provide a way to play the game even if it is an enormous mess. I don't know when I'll get time to go into this game beyond the tutorials since I have a big backlog of other games and not enough time to play them, but hopefully it will continue to function properly and won't run into issues later. This game looks interesting, and I am glad I finally got it working.
Post edited May 06, 2021 by heather1348
Thank you very much for this guide.

I've played with it a little bit and it seems, that you can replace this part
avatar
heather1348: To do this, download the following file from Microsoft (if the forum splits this into multiple lines, note that all of this needs to be pasted into the browser with no line break):

https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe

This is an executable archive. Run directx_feb2010_redist.exe using Wine to extract the files. It doesn't matter where you extract them, and you don't necessarily need to use the game's prefix - you just need the files in the archive. Another installation step is required. Once this is done, run the following to install the files:

WINEPREFIX="{path}" wine {path to wherever you extracted the DirectX archive}/DXSETUP.exe

(Once this Wine prefix is set up, it might be wise to make a backup. Installing all of this stuff is a royal pain, and a lot of it is really old, so I worry that in the future, the installation files might stop working or some things might just vanish from the internet.)

Now, it is finally time to install the game, but it tries to install .NET and XNA, and it may break the prefix, so it is necessary to set up a separate temporary wine prefix to get the game files.

First, create the prefix. Precise configuration here probably doesn't matter - all we need is for the GOG installer to run. Just to be safe, I have it match the architecture of the game's prefix.

WINEPREFIX="{path to temporary prefix}" WINEARCH=win typos32 winetricks winxp
with command:
WINEPREFIX="{path}" winetricks mdx

However, I've encountered heavy screen flickering (both with MS directx and with d3dx9+mdx) on my machine (NVIDIA 1060, Linux mint 19, wine version lutris-5.7-11), so the game runs fine, but is unplayable for me.
I've tried other wine versions and tinkered with wine settings, but so far to no avail. (Also, I was not able to run game as winxp, only as win7)

Does anybody have an idea, what coudld be cause of such flickering?
I'll have to try it with mdx and see what difference it makes. If it makes the installation less finicky, it would be an improvement.

I was messing with it earlier to see if I could move it away from Lutris and use adamhm's wine wrapper instead. That hasn't worked so far. However, I did encounter screen flickering as I messed with the Lutris configuration. It turns out that having DXVK enabled causes screen flickering. Disabling it or not including it in the wine build would seem to solve that problem. However, I wouldn't be surprised if there were other possible causes.

This has to be one of the most difficult games to get working - everything has to be just right, or it will crash.
avatar
heather1348: This game is extremely touchy, but I seem to have it working, although I have so far only gone through one of the tutorials. Also, I'm not hearing any of the in-game music so far (probably a codec issue), but the intro movie works. Here are the steps that worked for me. This is a mess, and there may be an easier way. If someone has figured out a more streamlined method, I'm sure a post on the subject will be appreciated. Judging from some of the other posts in the forum, this game is causing difficulties for Windows users, so I suppose this is just one of those picky games that won't work if the slightest thing is wrong.

The problems with this game likely come down to .NET, XNA, the dreaded Windows Media Player, and DirectX. Getting around these issues isn't at all easy.

This is based on a post that I found on Reddit. We owe our thanks to the person who originally posted this solution there. Here is a link for reference.

https://www.reddit.com/r/wine_gaming/comments/eggnql/distant_worlds_universe_in_wine/

I am using Wine 5.4 on Ubuntu 18.04. I install games manually and then use Lutris to launch them and manage Wine versions. Using Playonlinux to run through these steps should also work.

First, create the wine prefix for the game. It needs to be 32-bit, and I put it in Windows XP mode just to be safe since some of the stuff that needs to be installed is rather old. Remember to replace {path} in everything below with the path where you want to install the game. I find that it works best in a windowed virtual desktop sized to equal the monitor's resolution. My monitor is 1920x1080; replace it with your monitor's resolution. If using Lutris, you'll probably have to set this up there.

WINEPREFIX="{path}" WINEARCH=win32 winetricks winxp vd=1920x1080 grabfullscreen=y

Next, there is a bunch of stuff that needs to be installed using winetricks. I got better results installing each one in a separate step, because some of these items might exit in a way that causes winetricks to stop and not finish installing items that come afterward. The order of some of these may be important.

WINEPREFIX="{path}" winetricks vcrun2010
WINEPREFIX="{path}" winetricks ie6
WINEPREFIX="{path}" winetricks dotnet35sp1
WINEPREFIX="{path}" winetricks dotnet40
WINEPREFIX="{path}" winetricks xna40
WINEPREFIX="{path}" winetricks gdiplus
WINEPREFIX="{path}" winetricks wmp9
(NOTE: This will start up Windows Media Player. You must exit out of it to continue.)
WINEPREFIX="{path}" winetricks d3dx9

Unfortunately, d3dx9 doesn't seem to install everything that is needed for this game, so it is necessary to do a manual DirectX installation on top of this. Note that both are required - only doing the manual installation seems to cause some errors, and I couldn't get it to work at all with only d3dx9. This probably requires more investigation, as installing everything listed here might be overkill.

To do this, download the following file from Microsoft (if the forum splits this into multiple lines, note that all of this needs to be pasted into the browser with no line break):

https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe

This is an executable archive. Run directx_feb2010_redist.exe using Wine to extract the files. It doesn't matter where you extract them, and you don't necessarily need to use the game's prefix - you just need the files in the archive. Another installation step is required. Once this is done, run the following to install the files:

WINEPREFIX="{path}" wine {path to wherever you extracted the DirectX archive}/DXSETUP.exe

(Once this Wine prefix is set up, it might be wise to make a backup. Installing all of this stuff is a royal pain, and a lot of it is really old, so I worry that in the future, the installation files might stop working or some things might just vanish from the internet.)

Now, it is finally time to install the game, but it tries to install .NET and XNA, and it may break the prefix, so it is necessary to set up a separate temporary wine prefix to get the game files.

First, create the prefix. Precise configuration here probably doesn't matter - all we need is for the GOG installer to run. Just to be safe, I have it match the architecture of the game's prefix.

WINEPREFIX="{path to temporary prefix}" WINEARCH=win32 winetricks winxp

Once it is finished installing, simply move the GOG Games folder from the temporary prefix into the game prefix. This way, you can get the game files into the right place without the other possibly prefix-breaking stuff that the setup file installs.

mv {path to temporary prefix}/drive_c/GOG\ Games {path}/drive_c {path}/drive_c

You can remove the temporary prefix now.

Finally, run autorun.exe in the game folder to start the game. The launcher should come up. If it is working, a loading screen will eventually come up after you launch the game. It takes a while, so be patient. If it exits prematurely, the launcher will start up again.

I recommend using Lutris or Playonlinux to deal with games since they are good at managing Wine versions. If you want to run it manually, the command is:

WINEPREFIX="{path}" wine {path}/drive_c/GOG\ Games/Distant\ Worlds\ Universe/autorun.exe

This is complicated, and hopefully I don't have any annoying errors here. Given that systems can vary, this probably won't work for everyone, and variations on this method might be required. It might also be sensitive to Wine version. Proton might be worth a try. If I figure out anything on the music issue, I'll post an update here.

If anyone has a better method or a different method, or if anyone has suggestions on the music issue, please post it here. I know there are others here who are better at hacking Wine than I am; maybe they will figure out something easier and more reliable.

Good luck, everyone. This is the most complicated Wine installation procedure I have encountered so far, but it appears to provide a way to play the game even if it is an enormous mess. I don't know when I'll get time to go into this game beyond the tutorials since I have a big backlog of other games and not enough time to play them, but hopefully it will continue to function properly and won't run into issues later. This game looks interesting, and I am glad I finally got it working.
The link to the DirectX version you gave is dead
I'm not surprised that the DirectX link is dead. Things like this tend to go away after a while. It is the DirectX February 2010 redist. My suggestion would be to search for it using a search engine; usually these things remain available somewhere. I don't have time to look for it right now. Maybe someone else can find it and post an updated link in this forum. It's also possible that other versions might work.

For those who have glitchy graphics, try disabling DXVK. DXVK appears not to play well with this game. Note that recent versions of Lutris turn on DXVK by default.

There might be an alternative method. Looking at my latest installation file, I don't see this DirectX file referenced, so maybe I got it working without it. Here are the details. I just started up the game, and it appears to be working.

Wine version: 6.5 (from PlayOnLinux), 32-bit. I suspect that a recent Lutris version of Wine would work too.

Note that Wine mono should not be enabled. Winetricks should remove it automatically upon attempting to install .NET. If it runs into trouble while installing .NET and XNA, it might be necessary to manually remove mono first.

winetricks vcrun2010 ie6 d3dx9 dotnet35sp1 dotnet40 xna40 gdiplus wmp9

I wonder if upgrading Wine to a more recent version made it a bit easier. Unfortunately, I don't quite remember what I did when I last installed it, so an important detail or two could be missing here. If installing using a more recent Wine version and installing all of the above packages using Winetricks doesn't work, it might still be necessary to find that DirectX file.

Good luck. This game is a nightmare to get working with Wine. Hopefully it will get better as newer versions of Wine come out.
I just bought version 1.9.5.12 and followed the steps described by heather1348 (many thanks!), but the game wouldn't start up, I was stuck at the loading screen indefinitely. Found out I needed to add an dll override (native, built-in) for msvcr100 in winecfg. Hopefully that will also help someone else. Good luck in getting this one running!
avatar
heather1348: This game is extremely touchy, but I seem to have it working, although I have so far only gone through one of the tutorials. Also, I'm not hearing any of the in-game music so far (probably a codec issue), but the intro movie works. Here are the steps that worked for me. This is a mess, and there may be an easier way. If someone has figured out a more streamlined method, I'm sure a post on the subject will be appreciated. Judging from some of the other posts in the forum, this game is causing difficulties for Windows users, so I suppose this is just one of those picky games that won't work if the slightest thing is wrong.

The problems with this game likely come down to .NET, XNA, the dreaded Windows Media Player, and DirectX. Getting around these issues isn't at all easy.

This is based on a post that I found on Reddit. We owe our thanks to the person who originally posted this solution there. Here is a link for reference.

https://www.reddit.com/r/wine_gaming/comments/eggnql/distant_worlds_universe_in_wine/

I am using Wine 5.4 on Ubuntu 18.04. I install games manually and then use Lutris to launch them and manage Wine versions. Using Playonlinux to run through these steps should also work.

First, create the wine prefix for the game. It needs to be 32-bit, and I put it in Windows XP mode just to be safe since some of the stuff that needs to be installed is rather old. Remember to replace {path} in everything below with the path where you want to install the game. I find that it works best in a windowed virtual desktop sized to equal the monitor's resolution. My monitor is 1920x1080; replace it with your monitor's resolution. If using Lutris, you'll probably have to set this up there.

WINEPREFIX="{path}" WINEARCH=win32 winetricks winxp vd=1920x1080 grabfullscreen=y

Next, there is a bunch of stuff that needs to be installed using winetricks. I got better results installing each one in a separate step, because some of these items might exit in a way that causes winetricks to stop and not finish installing items that come afterward. The order of some of these may be important.

WINEPREFIX="{path}" winetricks vcrun2010
WINEPREFIX="{path}" winetricks ie6
WINEPREFIX="{path}" winetricks dotnet35sp1
WINEPREFIX="{path}" winetricks dotnet40
WINEPREFIX="{path}" winetricks xna40
WINEPREFIX="{path}" winetricks gdiplus
WINEPREFIX="{path}" winetricks wmp9
(NOTE: This will start up Windows Media Player. You must exit out of it to continue.)
WINEPREFIX="{path}" winetricks d3dx9

Unfortunately, d3dx9 doesn't seem to install everything that is needed for this game, so it is necessary to do a manual DirectX installation on top of this. Note that both are required - only doing the manual installation seems to cause some errors, and I couldn't get it to work at all with only d3dx9. This probably requires more investigation, as installing everything listed here might be overkill.

To do this, download the following file from Microsoft (if the forum splits this into multiple lines, note that all of this needs to be pasted into the browser with no line break):

https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe

This is an executable archive. Run directx_feb2010_redist.exe using Wine to extract the files. It doesn't matter where you extract them, and you don't necessarily need to use the game's prefix - you just need the files in the archive. Another installation step is required. Once this is done, run the following to install the files:

WINEPREFIX="{path}" wine {path to wherever you extracted the DirectX archive}/DXSETUP.exe

(Once this Wine prefix is set up, it might be wise to make a backup. Installing all of this stuff is a royal pain, and a lot of it is really old, so I worry that in the future, the installation files might stop working or some things might just vanish from the internet.)

Now, it is finally time to install the game, but it tries to install .NET and XNA, and it may break the prefix, so it is necessary to set up a separate temporary wine prefix to get the game files.

First, create the prefix. Precise configuration here probably doesn't matter - all we need is for the GOG installer to run. Just to be safe, I have it match the architecture of the game's prefix.

WINEPREFIX="{path to temporary prefix}" WINEARCH=win32 winetricks winxp

Once it is finished installing, simply move the GOG Games folder from the temporary prefix into the game prefix. This way, you can get the game files into the right place without the other possibly prefix-breaking stuff that the setup file installs.

mv {path to temporary prefix}/drive_c/GOG\ Games {path}/drive_c {path}/drive_c

You can remove the temporary prefix now.

Finally, run autorun.exe in the game folder to start the game. The launcher should come up. If it is working, a loading screen will eventually come up after you launch the game. It takes a while, so be patient. If it exits prematurely, the launcher will start up again.

I recommend using Lutris or Playonlinux to deal with games since they are good at managing Wine versions. If you want to run it manually, the command is:

WINEPREFIX="{path}" wine {path}/drive_c/GOG\ Games/Distant\ Worlds\ Universe/autorun.exe

This is complicated, and hopefully I don't have any annoying errors here. Given that systems can vary, this probably won't work for everyone, and variations on this method might be required. It might also be sensitive to Wine version. Proton might be worth a try. If I figure out anything on the music issue, I'll post an update here.

If anyone has a better method or a different method, or if anyone has suggestions on the music issue, please post it here. I know there are others here who are better at hacking Wine than I am; maybe they will figure out something easier and more reliable.

Good luck, everyone. This is the most complicated Wine installation procedure I have encountered so far, but it appears to provide a way to play the game even if it is an enormous mess. I don't know when I'll get time to go into this game beyond the tutorials since I have a big backlog of other games and not enough time to play them, but hopefully it will continue to function properly and won't run into issues later. This game looks interesting, and I am glad I finally got it working.
This worked perfectly! Thank you!

If you want the music, make sure to winetricks wmp10 ... not wmp9

Edit - Well, only the intro music works. Evidently there are some additional packages to install. I'm still hunting the reference.
Post edited March 25, 2024 by Clatch
I was able to get both the game intro to play video and sound, and also the in game music to play by using a solution provided by user "binaryfail" in a reddit thread. I cannot post links but you should be able to find it by googling "getting movies to work in visual novels reddit".

The solution involves using two different quartz.dll files. As stated in the thread, microsoft's version of quartz.dll has working decoding but its Video Mixing Renderer only shows a black screen on wine. And wine's version of quartz.dll has no decoding but a working Video Mixing Renderer implementation. So, we'll use both.

Note that this was only tested using wine-staging 8.21.

First we'll follow heather1348's instructions in her reply here to setup our 32bit wine prefix, and install all the necessary dlls using winetricks, except we'll skip wmp9 and use wmp11 instead. wmp11 will install the needed codecs for both the in game music and the intro video.

So we need to winetricks vcrun2010, ie6, dotnet35sp1, dotnet40, xna40, gdiplus, wmp11 and d3dx9 in our prefix. Once we do that we'll also install mdx using winetrticks in our prefix, instead of using directx_feb2010_redist.exe, as suggested by gavin.cz.

Now we'll deal with quartz.dll. First, we'll go into our prefix's drive_c/windows/system32 folder and create a copy of quartz.dll (which should be 765.4 KiB in size) inside this folder, and rename the copy to quartz-backup.dll.

Then we'll run winetricks quartz_feb2010 inside our prefix:

WINEPREFIX=path/to/our/prefix winetricks quartz_feb2010

Now we'll go back to our prefix's system32 folder and rename the quartz.dll file we just installed with winetricks (which should have replaced wine's default quartz.dll and should now be 1,9MiB in size) to quartz2.dll. And we'll also rename quartz-backup.dll back to quartz.dll.

So, now we should have a quartz.dll file sized 765.4 KiB, and a quartz2.dll file sized 1,9 MiB, both inside our prefix's system32 folder.

Next we'll register the quartz2.dll file inside our prefix by running:

WINEPREFIX=path/to/our/prefix wine regsvr32 c:/windows/system32/quartz2.dll

And finally, we'll edit the registry entries for the VMR filters so they'll point back to wine's quartz.dll. Note that the following three commands are a single line each:

WINEPREFIX=path/to/our/prefix wine reg add "HKEY_CLASSES_ROOT\\CLSID\\{6BC1CFFA-8FC1-4261-AC22-CFB4CC38DB50}\\InprocServer32" /f /t REG_SZ /d c:\\windows\\system32\\quartz.dll

WINEPREFIX=path/to/our/prefix wine reg add "HKEY_CLASSES_ROOT\\CLSID\\{B87BEB7B-8D29-423F-AE4D-6582C10175AC}\\InprocServer32" /f /t REG_SZ /d c:\\windows\\system32\\quartz.dll

WINEPREFIX=path/to/our/prefix wine reg add "HKEY_CLASSES_ROOT\\CLSID\\{51B4ABF3-748F-4E3B-A276-C828330E926A}\\InprocServer32" /f /t REG_SZ /d c:\\windows\\system32\\quartz.dll

All that is left to do now is follow heather1348's instructions to install the game in a temporary prefix, and then copy over the "GOG Games" game folder from the temporary prefix to the prefix where we set up all the dlls, then we can run the game.

It is also worth mentioning that we can install DXSETUP.exe from directx_feb2010_redist.exe instead of mdx, both will work. And we can even use the quartz.dll file that can be extracted from dxnt.cab, which is inside directx_feb2010_redist.exe. We'll need to use cabextract as instructed in the reddit thread to extract the file. Both this quartz.dll, and quartz.dll from quartz_feb_2010 are the same file, so they can be used interchangeably. I preferred to go the mdx and quartz_feb2010 way for simplicity.
Post edited March 29, 2024 by jec15
Hi,
first of all thanks to heather1348 and jec15 for this solution.
I was able to install Distant Worlds Universe in a clean win32 prefix that was modified according to your specifications.

Sadly when I start a new game it runs for a few minutes and stops because of memory problems. I can see that it reaches 4GB of Virtual Memory for the Distantworlds.exe which shoud be the limit for an 32bit Exe even with something like PAE(Physoical address extension) enabled. I did set my environment to Windows XP.

I have the game installed on my old computer which runs Win 7. There it only uses 800+MB of memory (in the beginning) even for a full scale galaxy. The question is: what is it on Wine that alllocates all this extra memory for the game process?
Did you guys experience this?
https://www.gog.com/upload/forum/2024/05/575e2c9ffdd5db105108c6a7a69c3e596439fc84.png
Thx in advance,

TwinS4ever

Edit:
So I have made progress: The problem isn't the 4Gb of Virtual RAM its the RES, so the 2,1GB. Normal win32 Applications can't use more than 2GB of RAM unless there ist a certain FLAG set in the EXE File. The /LARGEADDRESSAWARE Flag (LAA) has to be set so that the DistantWorlds.exe can use more than 2GB of RAM. At least, so I thought :D . I tried different ways to patch the EXE File. But no matter what I tried, it didn't use more than 2,1GB and crashed shortly after. Finally I read that the vanilla version of wine doesn't have LAA Support. But proton, and wine-ge does. :D So I opened up my "Bottles" downloaded wine-ge-proton8-26 from the Runners Menue and did all the steps descriped by heather1348 and jec15 using wine-ge-proton8-26(which I copied to a convenient location eg. /opt) Now the video in the beginning works, and I can use more than 2.1 GB. No patching of the EXE file needed. :D
https://www.gog.com/upload/forum/2024/05/d27c6c41aa74f4adbe57c5645dd2852a554b9533.png
Attachments:
Post edited 3 days ago by TwinS4ever