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

Cities Skylines #7

Open
DoodleSchrank opened this issue May 3, 2023 · 5 comments
Open

Cities Skylines #7

DoodleSchrank opened this issue May 3, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@DoodleSchrank
Copy link

DoodleSchrank commented May 3, 2023

Heyo,
I',m back at it again, newest version obv., this time with logs:

ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
cp: cannot stat '/home/user/.local/share/Steam/steamapps/common/Cities_Skylines/libsteam_api.so': No such file or directory
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/tmp/lib64Creamlinux.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/tmp/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/lib32Creamlinux.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/lib32Creamlinux.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
rm: cannot remove '/tmp/libsteam_api.so': No such file or directory

I hope this helps

@anticitizn anticitizn added the bug Something isn't working label May 4, 2023
@anticitizn
Copy link
Owner

Hi, thanks for testing and providing the logs. I don't have Cities Skylines yet unfortunately so I'm unable to do much until it's on sale, but I'll still look into it.

@anticitizn
Copy link
Owner

Quick update, managed to get Cities Skylines on sale. Will test in depth soon.

@gospodin55
Copy link

libsteam_api.so for Cities Skylines seems to be at Cities_Data/Plugins/x86_64/libsteam_api.so, but if I change the script, the game just crashes after launch, maybe this happens because I run steam in flatpak

@anticitizn
Copy link
Owner

I got it to run with a modified launch script with the following launch parameters:

konsole --hold -e sh ./cream.sh "Cities.x64" %command%

However that still doesn't help with the DLCs. I looked a bit into what 20PercentRendered was doing to make it work and apparently some Unity games use a different mechanism to load shared libraries than Paradox games. I have some ideas on how to hook into dlsym without messing everything else up, but going through exams so don't expect anything too quick :P

@ghahramani
Copy link

Maybe look at https://cs.rin.ru/forum/viewtopic.php?f=29&t=70576 to see how it sorted out the problem, they have released it for linux as well and it works for CS 1 for linux native version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants