Fixes for Linux version (including fix for mods)

bmaupin

Chieftain
Joined
Aug 12, 2017
Messages
45
I know Linux users are few and far between, but I developed a small patch to workaround the crash that happens whenever you try to play with mods in the native Linux version (not Proton). I'd love to share it more widely (like on Steam) but I'm hoping to test it with a smaller group of people first. I've tested it a bit myself but not as much as I'd like.

If anyone's interested, here it is: https://github.com/bmaupin/civ-be-linux-fixes
 
Last edited:
I finished a game with a mod and it worked without any problems. I also identified a couple other bugs and I added fixes for them, such as the bug where the terrain doesn't show up correctly. I'll update the post title to reflect this in case it's helpful to anyone else.
 
Thank you for this; I didn't run the patch, but I was able to find and copy over the file to prevent the random crashes (even without mods). I've been looking for something like this for years.
 
These are great. Apparently with Linux there's also a thingie where case-sensitiveness of filenames causes mods that don't take that into account don't work?
 
These are great. Apparently with Linux there's also a thingie where case-sensitiveness of filenames causes mods that don't take that into account don't work?
It depends.

If you install a mod through Steam, the mod files will all be made lower-case automatically and you don't need to do anything else.

If you manually install a mod you'll need to lower-case all of the filenames yourself. If you're comfortable with the shell you can use a command like this to rename all files at once: https://stackoverflow.com/a/152741

As best as I can tell, the filenames inside the XML files don't need to be changed.
 
As best as I can tell, the filenames inside the XML files don't need to be changed.
Ah. So the mods I tried crashed for some other reason then. One crashed the instant I clicked to generate the world, the other got stuck at the end of world generation with some errors in the Lua log. Kinda discouraged me from trying others. I guess your fix could help, didn't try yet.
 
I guess your fix could help, didn't try yet.
I'm not sure what you mean by "fix" here since there are several issues discussed in this thread.

Just to be completely clear, mods will not work at all in a fresh install of the Linux version of Beyond Earth, period.

The only known fix for this is the patch I created and linked above. If you go to the link you will see you can install the patch on its own or as part of an all-in-one patch script that also includes some other fixes and quality-of-life improvements.
 
Back
Top Bottom