Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux vs Windows mod mismatch #386

Open
PasixTheValkyrie opened this issue Apr 20, 2023 · 10 comments
Open

Linux vs Windows mod mismatch #386

PasixTheValkyrie opened this issue Apr 20, 2023 · 10 comments

Comments

@PasixTheValkyrie
Copy link
Contributor

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.

@notfood
Copy link
Member

notfood commented Apr 20, 2023

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.

@notfood notfood closed this as completed Apr 20, 2023
@notfood notfood added the invalid This doesn't seem right. label Apr 20, 2023
@PasixTheValkyrie
Copy link
Contributor Author

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.

@notfood
Copy link
Member

notfood commented Apr 20, 2023

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.

@PasixTheValkyrie
Copy link
Contributor Author

PasixTheValkyrie commented Apr 20, 2023 via email

@notfood
Copy link
Member

notfood commented Apr 21, 2023

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.

@Zetrith Zetrith removed the invalid This doesn't seem right. label Apr 21, 2023
@Zetrith
Copy link
Member

Zetrith commented Apr 21, 2023

Line endings being significant is a valid issue. As for not being able to join, can you send a screenshot of the mismatch screen?

@Zetrith Zetrith reopened this Apr 21, 2023
@PasixTheValkyrie
Copy link
Contributor Author

These are the best I can offer you right now, as i'm not able to play with my pal right now.

image
image
image
image

Interesting to note is that all the files were exactly identical as I copied them directly from his files.

We were using Charlotte's Multiplayer-able modpack.

@Zetrith
Copy link
Member

Zetrith commented Apr 25, 2023

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?

@PasixTheValkyrie
Copy link
Contributor Author

PasixTheValkyrie commented Apr 25, 2023 via email

@Zetrith
Copy link
Member

Zetrith commented Apr 26, 2023

If it isn't too much trouble, can you do a binary diff on the files in the mismatch screen?

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

No branches or pull requests

3 participants