Linux vs Windows mod mismatch
PasixTheValkyrie opened this issue · comments
Hello.
I've been trying to get a modded game working with my friend, who is playing on a Windows device, whilst I am playing on a Steam Deck.
I've tried several hours of getting to connect to his game, eventually sharing the entirety of his mod folder, config, etc needed to get it working.
I've noticed that the file sizes of the files he sends me change after I apply them and even though the files are exactly the same, I have a strong hunch that the file sizes are different because of newline encoding being different in Windows than it is in Linux.
The same config file for example was 8.7kb for him, whilst it was 8.4kb for me. I believe the \r\n vs \n difference might cause the Multiplayer mod to throw off a 'modified' file warning causing a myriad of issues.
I play Linux with my windows friends all the time. The config files are unmodified unless you enter the config panel, your friend is probably tinkering with the config making them different. Anyhow, MP will still let you connect if your files differ, as long as the defs are the same you are good.
Unless you are reporting a bug, check with the Discord people for support to avoid cluttering issues here.
No, I can confirm this is happening consistently and you can very simply test it by having your Windows friends send over their config files.
It will block the Linux player from connecting to the Windows user, but not the other way around.
Whether this is specifically a Proton thing or just Linux I can't tell for sure, however.
The files are untouched unless you open the settings. Rimworld can't edit them at all. Your files differ because they were touched. I basically never host as Linux. It's always the windows side.
Even if you get the diff warning, you should be able to connect, the fact that isn't connecting means your configs differ on more than new lines. Approach support, this is not the right channel.
Line endings being significant is a valid issue. As for not being able to join, can you send a screenshot of the mismatch screen?
Regarding the mod files, is there a chance one side received a workshop update after you synchronized the files? Can you verify the game's file integrity in Steam?
If it isn't too much trouble, can you do a binary diff on the files in the mismatch screen?