bakustarver / rpgmakermlinux-cicpoffs

Run any RPG Maker XP, VX, VX Ace, MV, MZ, TyranoBuilder, Godot game on linux natively
GNU General Public License v3.0
96 stars 2 forks source link

steam-runtime issue when starting rpgmakerlinux-cicpoffs from compatability tools #10

Open silverhikari opened 1 month ago

silverhikari commented 1 month ago

trying to launch a game from steam compatibility tools while using the steam-runtime causes an error /home/silver/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: versionCURL_OPENSSL_4' not found (required by /usr/lib/libproxy/libpxbackend-1.0.so)`

silverhikari commented 1 month ago

similar problem to @TheGhostHybrid in issue #2

TheGhostHybrid commented 1 month ago

Can confirm that I am using steam-runtime. 👍

bakustarver commented 1 month ago

Can you describe your os name, game, what issue is occurring?

silverhikari commented 1 month ago

the OS i am using is manjaro. the problem is for those who are using steam-runtime(a link to the git if you are unfamiliar with it) when trying to run the program as a compatibility tool loads to the following /home/silver/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: version CURL_OPENSSL_4 not found (required by /usr/lib/libproxy/libpxbackend-1.0.so). this means that one of the binaries included in the program is making a call to the system installed libproxy which requires a newer version of libcurl than is provided by the steam-runtime container.

bakustarver commented 1 month ago

Yes, but this program does not use libcurl or curl at all.

silverhikari commented 1 month ago

while these scripts don't relies on libcurl one of the binaries packaged with the scripts relies on a library that uses libcurl

cicpoffs

    linux-vdso.so.1 (0x0000742fe64f4000)
    libfuse3.so.3 => /usr/lib/libfuse3.so.3 (0x0000742fe6439000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000742fe6434000)
    libulockmgr.so.1 => /usr/lib/libulockmgr.so.1 (0x0000742fe642f000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000742fe6000000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000742fe6402000)
    libc.so.6 => /usr/lib/libc.so.6 (0x0000742fe5e14000)
    libm.so.6 => /usr/lib/libm.so.6 (0x0000742fe6315000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000742fe64f6000)

evbunpack

    linux-vdso.so.1 (0x00007dcf8077a000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007dcf804e7000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007dcf8077c000)

tyranodataextract

    linux-gate.so.1 (0xeba27000)
    libc.so.6 => /usr/lib32/libc.so.6 (0xeb758000)
    /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xeba29000)

yad 
    linux-vdso.so.1 (0x0000769e3307f000)
    libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x0000769e32400000)
    libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x0000769e32f23000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x0000769e32f13000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0000769e32eaa000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x0000769e322cd000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x0000769e32e66000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x0000769e32100000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x0000769e320a1000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000769e31f53000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000769e32e5f000)
    libc.so.6 => /usr/lib/libc.so.6 (0x0000769e31d67000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0000769e32e58000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x0000769e31c4d000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0000769e32e3a000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0000769e31bfd000)
    libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x0000769e32be0000)
    libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x0000769e32bd7000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x0000769e31bd6000)
    libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x0000769e31ac9000)
    libm.so.6 => /usr/lib/libm.so.6 (0x0000769e319de000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x0000769e32bc4000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x0000769e318a0000)
    libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x0000769e31864000)
    libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x0000769e3184b000)
    libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x0000769e31774000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x0000769e32bbc000)
    libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x0000769e3172c000)
    libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x0000769e3171d000)
    libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x0000769e31713000)
    libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x0000769e32bb5000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x0000769e316fe000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x0000769e316f2000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x0000769e316ed000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x0000769e316e8000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x0000769e316db000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x0000769e316d4000)
    libthai.so.0 => /usr/lib/libthai.so.0 (0x0000769e316c9000)
    libz.so.1 => /usr/lib/libz.so.1 (0x0000769e316b0000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000769e31676000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0000769e315ad000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0000769e3159f000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0000769e31574000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x0000769e31565000)
    libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x0000769e31560000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x0000769e314b6000)
    libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x0000769e3141a000)
    libtiff.so.6 => /usr/lib/libtiff.so.6 (0x0000769e3138d000)
    libmount.so.1 => /usr/lib/libmount.so.1 (0x0000769e3133e000)
    libffi.so.8 => /usr/lib/libffi.so.8 (0x0000769e31333000)
    libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x0000769e31294000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000769e33081000)
    libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x0000769e31272000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000769e31247000)
    libatspi.so.0 => /usr/lib/libatspi.so.0 (0x0000769e31211000)
    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x0000769e311c0000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000769e31193000)
    libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x0000769e31169000)
    libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0000769e3101d000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x0000769e30eb5000)
    libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x0000769e30eac000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000769e30e99000)
    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x0000769e30e8a000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x0000769e30e83000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0000769e30e7b000)
    libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000769e30d9c000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000769e30d69000)
    libjbig.so.2.1 => /usr/lib/libjbig.so.2.1 (0x0000769e30d5b000)
    libblkid.so.1 => /usr/lib/libblkid.so.1 (0x0000769e30d20000)
    libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x0000769e30c2d000)
    libicuuc.so.75 => /usr/lib/libicuuc.so.75 (0x0000769e30a33000)
    libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x0000769e30a10000)
    libcap.so.2 => /usr/lib/libcap.so.2 (0x0000769e30a04000)
    libicudata.so.75 => /usr/lib/libicudata.so.75 (0x0000769e2ec00000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000769e2e800000)
silverhikari commented 1 month ago

i was wrong it seems that it was a bad symlink on steams part that was causing it to fail and i thought it was part of rpgmaker-linux as the error did not happen when running any other compatibility tools likes protons.

the fix was rm the symlink in $HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4 and making a new libcurl.so.4 symlink via "ln -s $HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0 libcurl.so.4"

WARNING: you should be in the "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/" when making the symlink

TheGhostHybrid commented 4 weeks ago

i was wrong it seems that it was a bad symlink on steams part that was causing it to fail and i thought it was part of rpgmaker-linux as the error did not happen when running any other compatibility tools likes protons.

the fix was rm the symlink in $HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4 and making a new libcurl.so.4 symlink via "ln -s $HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libcurl.so.420 libcurl.so.4"

WARNING: you should be in the "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/" when making the symlink

Not sure that’s going to fix my issue, unfortunately. The symlink in my directory already points to libcurl.so.4.2.0 (and there is no libcurl.so.420 to be found).

For what it’s worth, I’m running steam-runtime on EndeavourOS. My test uses Ib.

bakustarver commented 3 weeks ago

nwjs uses the libcurl, among the list of dependencies, there is curl. It is possible, of course, to disable steamruntime, I did not disable it as there were no visible problems. version CURL_OPENSSL_4 not found error should not affect the launch and functionality of the game. Since you are having trouble with this I will disable the steamruntime libraries in the next update.

bakustarver commented 3 weeks ago

@TheGhostHybrid Is the problem only with this game, or do others also launch badly in steam?

TheGhostHybrid commented 2 weeks ago

@bakustarver Others as well. To be clear, it works perfectly if I run the game executable directly via rpgmakerlinux-cicpoffs (either via Dolphin or the terminal), but not if I select rpgmakerlinux-cicpoffs in Steam.

bakustarver commented 2 weeks ago

@TheGhostHybrid can you test your game with rpgmakerlinux-cicpoffs in Steam after using this command

wget -qO- "https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/main/nwjs/packagefiles/rpgmaker-linux-steam-wrapper/rpgmaker-linux-cicpoffs-wrapper.sh" > "$HOME/.steam/steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/rpgmaker-linux-cicpoffs-wrapper.sh";chmod +x "$HOME/.steam/steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/rpgmaker-linux-cicpoffs-wrapper.sh" 
TheGhostHybrid commented 2 weeks ago

Good news: the Steam shortcut actually launches something now!

Bad news: after the Options box comes up, the standalone terminal that also launches gives me this:

grep: warning: stray \ before !
grep: warning: stray \ before &

(yad:140062): Gdk-CRITICAL **: 22:37:38.713: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed

After I click OK on the options, the terminal adds Finished to the end and everything closes.

Worse news: opening the game directly through Dolphin no longer works. image