ardba / proton_aoe2de_mpfix

Small script containing Multiplayer fix for AOE2
GNU General Public License v3.0
107 stars 17 forks source link

sometines steam is installed via snap, could be nice to autodetect the directory where game is. #1

Closed felisucoibi closed 2 years ago

felisucoibi commented 2 years ago

sometines steam is installed via snap, could be nice to autodetect the directory where game is.

example cp ucrtbase.dll /home/felisuco/.steam/debian-installation/steamapps/compatdata/1493710/pfx/drive_c/windows/system32/ # This changes sometimes, depending on proton version?

ardba commented 2 years ago

Would it work if we make the steam install directory into an argument you could give the script? if not set it would default to what it is today

agners commented 2 years ago

Similarly, using Steam from Flatpak stores data at a different location. I was able to use the script using:

STEAM_LOCATION=/home/$USER/.var/app/com.valvesoftware.Steam/data

There was already a ucrtbase.dll with different md5sum. Replacing it worked.

However, I am still unable to join Multiplayer games. The game is claiming I am "Offline", "Reconnect to Multiplayer Services" only shows an error "Cannot connect to Steam. Please check your internet connection." The same setup worked some weeks ago, I am a bit lost what the problem is.

RochaLAJ commented 2 years ago

If you have the game installed on a different partition, the script will fail too and you need to replace manually.

For example

ls $SYSTEM32_LOCATION
/home/rochalaj/.local/share/Steam/steamapps/compatdata/813780/pfx/drive_c/windows/system32: No such file or directory (os error 2).

Because my game is under /mnt/HD/SteamLibrary/steamapps/compatdata/813780/pfx/drive_c/windows/system32

ardba commented 2 years ago

Done in here