GenesisFR / DS2TroubleshootingGuide

A document listing all technical issues for Dungeon Siege 2 along with solutions.
MIT License
27 stars 4 forks source link

Troubleshooting guide for Linux/Steam Play #1

Open PL4typus opened 4 years ago

PL4typus commented 4 years ago

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.

GenesisFR commented 4 years ago

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 commented 4 years ago

Adding this for reference: https://www.gog.com/forum/dungeon_siege_series/winelinux_dungeon_siege_series_and_ultima_remakes

PL4typus commented 4 years ago

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 commented 3 years ago

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

GenesisFR commented 3 years ago

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

GenesisFR commented 3 years ago

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 commented 3 years ago

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

Nightwalker83 commented 1 year ago

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 commented 1 year ago

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.