Sins of a Solar Empire II

Sins of a Solar Empire II

Can Linux users not play with Windows users?
When trying to connect to my friend on Windows I get an error "Simulation framework does not match. This is most likely due to running an older version of the Game from the Storefront." followed by client information which is identical except for my architecture showing up as AMD64-WINE rather than AMD64.

I am using Pop_OS! with GE-Proton9-11 (Also tried Valve's Proton as well). Any other Linux users having the same issue?

I can launch the launcher and game just fine and was able to complete the tutorials.
< >
Showing 1-15 of 27 comments
Prime Mineral Rogus Aug 15, 2024 @ 10:13am 
Yep, im havin exactly the samme Issue.
TParis Aug 15, 2024 @ 11:42am 
Eh, that would be a show stopper for me. Playing exclusively on Linux these days and haven't picked up the game yet.
Single player is still fun but multiplayer I'm sure is even better. I'm sure it will get fixed but I can see why it would be a deal breaker.

Here's to hoping its fixed sooner than later.
LinLo Aug 15, 2024 @ 1:59pm 
Hello,
Same issue here, can't play with steamplay with windows users. (Was working great previously with Rebellion). Also, it seems there is no DNS resolution in the join/connect action box, only IP seems to be effective.

Could you remove the processor_architecture check ? As soon as all other checksums and exe versions are the same, I'm wondering if this processor_architecture name check is relevant.
LinLo Aug 15, 2024 @ 2:20pm 
I Found a workaround !
With GE-Proton9-11, launch in a terminal `protontricks 1575940 winecfg` then, in staging tab select "Hide wine version from applications" and apply/ok.
LinLo Aug 15, 2024 @ 2:30pm 
But got a sync error:

Sync error detected @ tick 28000

player_a:0 (XXX)
player_b:1 (YYY)

checksum_a: { quality:minimal , tick:28000 , options:897922473 , random_stream:1641647142 , units:168297744 , players:2827142756 , weapons:251398014 , formations:0, planet_modules:0 , buffs:31457575 , abilities:29884644 , research_subjects:141820986 , unit_items:6553650 , physics:1835015 , collisions:0 , pending:524289 , other:26129358 }
checksum_b: { quality:minimal , tick:28000 , options:897922473 , random_stream:1641647142 , units:168297744 , players:2827142756 , weapons:251398014 , formations:0, planet_modules:0 , buffs:31457575 , abilities:29884644 , research_subjects:141820986 , unit_items:6553650 , physics:1835015 , collisions:0 , pending:4294967294 , other:26129358 }

sync_error_trace : C:\users\steamuser\AppData\Local\sins2\checksum_traces\f6e2f45cff424965aada1ca59fc60204.sync_error_detected.28000.checksum_trace
client_tick_trace : NONE - `game_client.simulation_checksums.enable_periodic_checksum_tracer` must be enabled.



version=28.2.0 (179)
log=C:\users\steamuser\AppData\Local\sins2\logs\sins2_log_328.txt

Game has been set to pause, then I selected SKIP in the window and game continue...
Hope they just whitelist wine under the architecture check. If they want to get this working with the deck they need to apply this easy tweak.

Or we will see if Valve steps in and does the lifting for them... to mask proton/wine.

Seems like things were not well thought out with compatibility in mind.
ArcaneGamer Aug 15, 2024 @ 6:17pm 
Originally posted by TParis:
Eh, that would be a show stopper for me. Playing exclusively on Linux these days and haven't picked up the game yet.
Same. Windows users laugh at us, but if Stardock doesn't want our money, we'll just stick with Sins 1 I guess.
LinLo Aug 15, 2024 @ 8:47pm 
I think I found also a workaround about Desync issues.

I used a modified version of a script to fix AgeOfEmpires4 desync issues i've found here: https://gist.github.com/reneklacan/7825b82723bf0534cbd2eae014e121ca

I copy/paste the script I modified here: https://pastebin.com/k1P9NKKx

All you have to do is verifying that STEAM_DIR variable path in the script is corresponding to the right steamapps folder where the game has been downloaded and installed on your steam directory and make sure you have installed curl and cabextract before execution.

I just played a complete game with a friend (proton experimental) without any sync issue.

I'm not available until end of this week to test more. I will start testing again on sunday.
Last edited by LinLo; Aug 15, 2024 @ 8:54pm
Kilroy Aug 16, 2024 @ 5:24am 
Originally posted by LinLo:
I think I found also a workaround about Desync issues.

I used a modified version of a script to fix AgeOfEmpires4 desync issues i've found here: https://gist.github.com/reneklacan/7825b82723bf0534cbd2eae014e121ca

I copy/paste the script I modified here: https://pastebin.com/k1P9NKKx

All you have to do is verifying that STEAM_DIR variable path in the script is corresponding to the right steamapps folder where the game has been downloaded and installed on your steam directory and make sure you have installed curl and cabextract before execution.

I just played a complete game with a friend (proton experimental) without any sync issue.

I'm not available until end of this week to test more. I will start testing again on sunday.

Can confirm this worked for me, and was stable during at least one multiplayer game on my steamdeck.

As this was the only post on the issue I could find (game has been out on steam for less than 24 hours at this point), I decided to kinda hijack this post and make a how-to for steamdeck users who may not be as familiar with Linux (like I was before running into this issue).

******************************************************************************
Disclaimers
1.
I do not fully know what I am doing, I got a 3 hour crash course in Linux from a friend while trying to get this fix up and running (but hey, it worked). If something here is incorrect, please point it out!
2.
Keep in mind, the steamdeck is not a normal linux computer, it has some unique... oddities that I will not be going over in this guide because I do not fully understand them myself.
3.
This fix may break if you update your steamdeck, if so perform the fix again, starting from Step 6. Hopefully Stardock fixes the issue in a more permanent manner soon.
4.
This is not intended for other linux devices, though it may help you troubleshoot a few things. I am not qualified to be tech support for such things. I am merely recounting how a freind and I managed to fix the issue.
******************************************************************************

The Fix
0.
To simplify things, make sure Sins 2 is installed on your internal SSD, not your SD card or other external devices. (Otherwise, you are on your own when it comes to locating the Sins 2 directory)

1. Follow this Guide and install GE-Proton9-11:
https://www.rockpapershotgun.com/how-to-install-proton-ge-on-the-steam-deck

2. In desktop mode, search the applications for "Konsole" (This is a Terminal, and will be refered to as such from here on out).

3. Enter the following into the Terminal:
`alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc`

(Do not copy the ` at the beginging or end of these lines. This indicates text to be copied into the Terminal.)

4.
Right click on the Terminal icon in the task bar, open a new window, and enter the following:
`flatpak install com.github.Matoking.protontricks`
This step will not work if you continue to use the same window as step #3, you need a new Terminal window. (Not a new Terminal tab, a completely new window).

5.
"With GE-Proton9-11, launch in a terminal `protontricks 1575940 winecfg` then, in staging tab select "Hide wine version from applications" and apply/ok."-LinLo

6.
******************************************************************************
This is where I was told steamdeck updates may break this fix, and all subsequent steps may need to be repeated if you update your steamdeck.
******************************************************************************
In your Terminal, enter the following:
`sudo steamos-readonly disable`
You may need to set up a Root Password for this step.
It will not recognize any other passwords if you have not set this one up yet.
It may act like you set up a password, even if you have not done so yet.
See steps 6.1-6.3 for password methods.
You can Ignore them if you have your password setup already and know what it is.

6.1
The non terminal method:
System Settings > Personalization > Users > User (Default is "Steam Deck User") > Change Password.

6.2
To setup a password in the Terminal, enter the following:
`passwd`
Type your password and hit enter. (The characters will be invisible, so be careful!)
You will be asked to re-enter your password to confirm (The characters will still be invisible).

6.3
If you have set up a password in the past and want to change it, perform the same steps as Step 6.1, but you will be asked to enter your current password as confirmation. I had forgotten mine and had to try a few passwords out before it would let me reset. If you are unable to guess your password, you may have to factory reset your steamdeck (or wait for Stardock to fix things).

7.
Once you have entered your password for Step 6, enter the following, in order:
`sudo pacman-key --init`
`sudo pacman-key --populate archlinux`
`sudo pacman -Syu`
`sudo pacman -Syyu`
`sudo pacman-key --populate holo`
`sudo pacman -S curl`
`sudo pacman -S cabextract`

7.1
If Curl or Cabextract error out or say files are corrupted, you will want to re-run the following and try again:
`which curl`
`which cabextract`

The file path after each of those commands should look like this:
"/usr/bin/curl"

If it looks like this, you will want to re-run the commands from the start of Step 7.:
"error: cabextract: signature from "GitLab CI Package Builder <ci-package-builder-1@steamos.cloud>" is unknown trust
:: File /var/cache/pacman/pkg/cabextract-1.11-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]"

8.
Download the Script provided by LinLo:
https://pastebin.com/k1P9NKKx
Make sure ".su" is at the end of the file name and not ".su.su".
You can fix it by rightclicking and renaming the file, removing the second ".su"
For the purpose of this guide, this is the only change to the name you should make.

9.
Right click on the Script > Open With > KWrite
This will allow you to edit the file and save the changes made.

10.
Change the "${USER}" in line #5 of the Script to the Username linked to your steamdeck account. Follow Step 6.2 to navigate to your account information. Make sure to use the "Username". Do not use the "Name".

When in doubt, the default Username appears to be "deck".

Save the changes to the Script.

11.
Search the applications for "Dolphin".
This will be your file explorer.
Enter the following into the adress bar:
"/home/deck/.steam/steam/steamapps/"
(You will be unable to navigate here manually, as the ".steam" directory is hidden)
Ensure that you can find the "compatdata" folder, and that there is a subfolder called "1575940".

12.
Replace the "${STEAM_DIR}" in line #7 of the Script with the path to your steamapps folder.
Eaxample:
"/home/deck/.steam/steam/steamapps/".

The end result should look like:
"/home/deck/.steam/steam/steamapps/compatdata/1575940"

Save the file

13.
In the terminal try running the following command:
`dos2unix ./fix_desync_sins2.sh`

If it doesnt work, run this command in the Terminal:
`sudo pacman -S dos2unix`

Then, try running the command again:
`dos2unix ./fix_desync_sins2.sh`

14.
In the Terminal, enter "cd" followed by the directory where you saved the script.
Example:
`cd /home/deck/Downloads/Fix_Sins_2/`

15.
In the Terminal, enter:
'sh ./fix_desync_sins2.sh'
This should run the script.
If it runs correctly, you should now be able to join your friends on windows.



Here is a list of resources that proved useful, in no particular order:
https://steamdecktips.com/blog/install-archlinux-packages-on-the-steam-deck
https://wiki.archlinux.org/title/Pacman#Installing_specific_packages
https://www.technipages.com/how-to-reset-root-password-on-steam-deck/
https://www.reddit.com/r/SteamDeck/comments/t5ozzk/does_anyone_know_the_root_password_of_the_linux/
https://steamcommunity.com/app/1675200/discussions/0/7529517132619672170/
Legacy Aug 16, 2024 @ 1:50pm 
Originally posted by LinLo:
I think I found also a workaround about Desync issues.

I used a modified version of a script to fix AgeOfEmpires4 desync issues i've found here: https://gist.github.com/reneklacan/7825b82723bf0534cbd2eae014e121ca

I copy/paste the script I modified here: https://pastebin.com/k1P9NKKx

All you have to do is verifying that STEAM_DIR variable path in the script is corresponding to the right steamapps folder where the game has been downloaded and installed on your steam directory and make sure you have installed curl and cabextract before execution.

I just played a complete game with a friend (proton experimental) without any sync issue.

I'm not available until end of this week to test more. I will start testing again on sunday.

I am not the sharpest tool in the shed when it comes to code. I have no idea where to paste that code.
SirCracken Aug 16, 2024 @ 1:53pm 
nice one
ZCD-Gerila Aug 16, 2024 @ 2:12pm 
Originally posted by LinLo:

All you have to do is verifying that STEAM_DIR variable path in the script is corresponding to the right steamapps folder where the game has been downloaded and installed on your steam directory and make sure you have installed curl and cabextract before execution.

Hello, How would this work for the flatpak version of steam? My path for the game is
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/Sins2.

I have curl and cabextract installed and I am getting the following error

fix_desync_sins2.sh.sh: line 2: $'\r': command not found : invalid option.sh.sh: line 3: set: - set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] fix_desync_sins2.sh.sh: line 4: $'\r': command not found fix_desync_sins2.sh.sh: line 11: $'\r': command not found fix_desync_sins2.sh.sh: line 12: syntax error near unexpected token `$'{\r'' 'ix_desync_sins2.sh.sh: line 12: `function check_deps() {
Kilroy Aug 16, 2024 @ 7:09pm 
Originally posted by ZCD-Gerila:
Originally posted by LinLo:

All you have to do is verifying that STEAM_DIR variable path in the script is corresponding to the right steamapps folder where the game has been downloaded and installed on your steam directory and make sure you have installed curl and cabextract before execution.

Hello, How would this work for the flatpak version of steam? My path for the game is
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/Sins2.

I have curl and cabextract installed and I am getting the following error

fix_desync_sins2.sh.sh: line 2: $'\r': command not found : invalid option.sh.sh: line 3: set: - set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] fix_desync_sins2.sh.sh: line 4: $'\r': command not found fix_desync_sins2.sh.sh: line 11: $'\r': command not found fix_desync_sins2.sh.sh: line 12: syntax error near unexpected token `$'{\r'' 'ix_desync_sins2.sh.sh: line 12: `function check_deps() {

Had the exact same issue, per my steamdeck guide:
13.
In the terminal try running the following command:
`dos2unix ./fix_desync_sins2.sh`

If it doesnt work, run this command in the Terminal:
`sudo pacman -S dos2unix`

Then, try running the command again:
`dos2unix ./fix_desync_sins2.sh`

Then re-run the script.

FYI:
Recent patch on 08/16 seems to be causing the game to crash during loading screens on my steamdeck.
Last edited by Kilroy; Aug 16, 2024 @ 7:11pm
SuperBio Aug 17, 2024 @ 6:36am 
Could there be a version of this script adapted for MacOS, I have a friend running Sins2 on Crossover, and the desyncs are pretty annoying, though by dropping out and rejoining they can be some what ignored.

Thanks!
< >
Showing 1-15 of 27 comments
Per page: 1530 50