blt4linux / blt4l

PAYDAY 2 SteamOS/Linux LUA loader.
Other
57 stars 14 forks source link

BLT4L keeps the game from starting #110

Closed Shijikori closed 6 years ago

Shijikori commented 6 years ago

I wanted to get some mods(obviously) for my game on Ubuntu 18.04 but BLT4L doesn't work. I tried using Ubuntu precise SteamRT version, Debian and few older versions, each of them doesn't work. My game would simply shutdown as fast as it started. Besides, the install.sh script never worked and I had to apply some fixes to the framework.sh script to make it work since the Steam Library wasn't pointed out correctly in my case. Even with the fixed scripts, the loader doesn't work, my Payday 2 only starts without the arguments.

dribbleondo commented 6 years ago

You need to manually compile BLT4L, as pre-builts were not designed with Bionic in mind. This is due to OpenSSL changing between version 3 to 4, and which both SuperBLT and regular BLT4Linux cannot find it.

Shijikori commented 6 years ago

I tried to compile it but OpenSSL seems to be, indeed, the problem. I'll compile it just to get the log so you can give me more help on how to do that.

dribbleondo commented 6 years ago

I would advise @RomanHargrave to make another prebuilt for Bionic as Bionic's OpenSSL is screwing up newer builds. When I get back onto Linux, i'll look through my Bash history to work out how I myself fixed the Openssl issue

Shijikori commented 6 years ago

Thank you and here is the build log https://pastebin.com/1rAeTX2J Also, here are the lines I changed in framework.sh ${STEAM_BASE:=${STEAM_BASE:~$HOME/.steam/steam} } 2>/dev/null ${STEAM_LIBRARY:=$STEAM_BASE/steamapps/} 2>/dev/null between line 50 and line 54.

RomanHargrave commented 6 years ago

@Dribbleondo I'll look in to setting up a chroot

Shijikori commented 6 years ago

by the way, my edits on the framework.sh are the fix for the issue #80, since it was also a problem for me though I got around it by fixing the STEAM_LIBRARY variable that wasn't pointing at the good directory. Though, it will only work if the library is in it's default folder, so I guess it's up to you to apply this suggestion or not. You're the devs of that project and I admire what you've done so far even though I can't try that just now

Shijikori commented 6 years ago

I progressed into the compiling issue, I can now do cmake but now I'm searching for the next step's issue. By the way, for compiling under Ubuntu, we need libssl-dev package installed to have the OpenSSL library and the SSL Crypto library

Shijikori commented 6 years ago

Got a successful build after deleting what was in the build directory and restarting the compiling process. Now I'll test to see if that build works or not

Shijikori commented 6 years ago

Successful, completely working BLT4L. I would suggest to add the libssl-dev package to the readme for Ubuntu users. Thanks a lot for the loader guys :D