Skip to content

Conversation

@PL4typus
Copy link

@PL4typus PL4typus commented Apr 3, 2020

This file contains instructions to play Dungeon Siege II on Linux using Steam Play.

It also contains instructions to enable Broken World on Linux, which differ slightly from Killah's guide at one point.

I thought it would be clearer to have a separate file, so it doesn't bloat README.md with instructions that 90% of people probably won't need. Most people probably play on WIndows.

TO DO: Add more detailed instructions for using regedit on linux
TO DO: Better credits.

This file contains instructions to play Dungeon Siege II on Linux using Steam Play.
It also contains instructions to enable Broken World on Linux, which differ slightly From Killah's.
@GenesisFR
Copy link
Owner

GenesisFR commented Apr 4, 2020

Thanks for your contribution, I think I'm not gonna merge it but add an option in the BAT to generate a REG file instead. I'll add the command-line options for the game and the instructions to merge the REG on Linux.

Was the current BAT working fine besides the fact that the entries were added to the 64-bit key?

@GenesisFR
Copy link
Owner

@PL4typus
Copy link
Author

PL4typus commented May 7, 2020

Thanks for your contribution, I think I'm not gonna merge it but add an option in the BAT to generate a REG file instead. I'll add the command-line options for the game and the instructions to merge the REG on Linux.

Up to you! I will probably continue updating the guide on my side. I need to find the time to do it though.

Was the current BAT working fine besides the fact that the entries were added to the 64-bit key?

Current BAT was running; but I couldn't verify any of the key changes in registry. I can try again to see if something actually happens in the wrong key or not. Using regedit+ import is much easier to do on linux.

@GenesisFR
Copy link
Owner

Just pushed a change in master to export entries to a REG file, could you check it out?

@GenesisFR
Copy link
Owner

@PL4typus Did you have time to test the above changes?

@GenesisFR
Copy link
Owner

Started doing some testing in a VM, the reg patch is completely broken lol. Found what was wrong and fixed it locally.

I managed to make BW run but I'm gonna have to find a cleaner way to do what I did. I'm also not gonna bother making MP work.

image

@GenesisFR
Copy link
Owner

GenesisFR commented Feb 27, 2021

Download the latest DS2 reg patch at https://github.com/GenesisFR/RegPatches and follow these instructions:

  1. Go to Steam settings -> Steam Play -> Enable Steam Play for all other titles (Proton 5.13-6).
  2. Run DS2 from Steam, it will download proton and create a compatdatapath in $HOME/.steam/steam/steamapps/39200.
  3. Open a terminal and sudo apt-get install wine.
  4. Go to $HOME/.steam/steam/steamapps/common/Dungeon Siege 2.
  5. Run WINEPREFIX="$HOME/.steam/steam/steamapps/compatdata/39200/pfx" wineconsole.
  6. Run the reg patch, select option 1.
  7. Close wineconsole.
  8. Run DS2 from Steam with the following command-line arguments: `PROTON_NO_ESYNC=1 PROTON_USE_WINED3D=1 %command% width=1280 height=720 fullscreen=false nointro=true`

If you wish to play MP:

  1. Open a terminal and sudo apt-get install winetricks.
  2. Run WINEPREFIX="$HOME/.steam/steam/steamapps/compatdata/39200/pfx" winetricks mfc42 directplay.
  3. Same as step 8 above.

Note: the compatdatapath may change from a system to another, this is how mine was on the Kubuntu VM that I used.

For instructions about Steam Deck, please follow Princesa Zanahoria's guide here: https://steamcommunity.com/sharedfiles/filedetails/?id=2833687253

Repository owner deleted a comment from UnbrokenLuz Nov 15, 2022
@Nightwalker83
Copy link

Hi,

I receive the following error I try to do step number 5:

WINEPREFIX="/media/aaron/Games/SteamLibrary/steamapps/compatdata/39200/pfx" wineconsole
0024:err:file:init_redirects /media/aaron/Games/SteamLibrary/steamapps/compatdata/39200/pfx/dosdevices/c:/windows: No such file or directory
002c:err:wineboot:main Cannot set the dir to L"C:\windows" (2)
wine: could not open working directory L"unix\home\aaron\", starting in the Windows directory.
wine: could not open working directory L"unix\home\aaron\", starting in the Windows directory.
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0024:err:environ:run_wineboot boot event wait timed out
wine: could not open working directory L"unix\home\aaron\", starting in the Windows directory.
wine: could not open working directory L"unix\home\aaron\", starting in the Windows directory.
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow The explorer process failed to start.

@GenesisFR
Copy link
Owner

I can't help you much, maybe your compatdatapath wasn't created, you have permission issues, or it might even be an NTFS partition, I have no clue really.

@GnomeBeans
Copy link

Is it possible to run elys succubus mod manager? I tried everything and it always says it couldn't launch because the the game couldn't be found. Game runs fine without it.

@GenesisFR
Copy link
Owner

You have to select option 2 in the reg patch for Elys to find the game.

@GnomeBeans
Copy link

You have to select option 2 in the reg patch for Elys to find the game.

I did that and it wouldn't work. If I use "path to exe" %command% to launch elys its using the wrong wine prefix. I added WINEPREFIX="path" into my steam launch options and its working now.

One minor issue though. The UI looks pretty bad. If I change the game .exe for elys .exe the UI looks as it does on windows. Even if I use STEAM_COMPAT_TOOL_PATH to point to the same proton version as the game uses the UI is still wonky. Proton seems to be applying some kind of fix to the game which fixes elys UI except when I call it directly from the steam launch options.

@GenesisFR
Copy link
Owner

GenesisFR commented Aug 26, 2024

I couldn't help you more, I only tested the game without third party tools for the sake of troubleshooting the reg patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants