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

Broken textures in barony 3.3.7 on Arch linux #568

Closed
jacekjarosz55 opened this issue Jan 26, 2021 · 4 comments
Closed

Broken textures in barony 3.3.7 on Arch linux #568

jacekjarosz55 opened this issue Jan 26, 2021 · 4 comments

Comments

@jacekjarosz55
Copy link

Recently textures in my game all started appearing mismatched everywhere. I don't know what the reason might be. I got the game data from the Epic Games Store version of the game.

I dont know what might have caused it, but I first noticed that when I ran the editor for the first time.
Maybe something related to a system upgrade?
the problem persisted when the game was copied to a different machine, also with arch linux.

Screenshot_20210126_144909
Screenshot_20210126_145053

@WALLOFJUSTICE
Copy link
Collaborator

WALLOFJUSTICE commented Jan 26, 2021

Hi - on Arch we think there's a newer set of SDL libraries that get distributed with Steam or the like. It's not picking up the .so files from the game's directory.

When running from Steam, our fix was to add something like this to the launch options for the Barony Steam properties:
LD_PRELOAD="$LD_PRELOAD ./libSDL2-2.0.so.0 ./libSDL2_ttf-2.0.so.0 ./libSDL2_image-2.0.so.0" %command%

So try append that before running the binary from the command line?

@jacekjarosz55
Copy link
Author

That probably would solve the issue, but game isn't from steam. It originally was a windows epic games store version, so all of the libraries are in form of .dll files. Is there any way I could get the needed libraries?

@jacekjarosz55
Copy link
Author

Ok I fixed the issue by getting the libraries from Ubuntu 20.04 and preloading them with the command, but i also had to preload
libwebp.so.6 for it to work.

@WALLOFJUSTICE
Copy link
Collaborator

Glad you got it sorted.

I checked the package directories, Arch seems to be on SDL 2.0.14 (latest). Ubuntu 16.04 is SDL 2.0.4 / 18.04 is SDL 2.0.8 / 20.4 is SDL 2.0.10. So there's a breaking change for us somewhere, I believe our builds use something between SDL 2.0.4/2.0.8

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

2 participants