blt4l
blt4l copied to clipboard
BLT 2 Update for BLT4Linux
May as well post it here, But I managed to port over the Base files from regular BLT to make it work on BLT4Linux. It admittedly wasn't that hard to do. I just had to delete calls relating to finding image files for mods.
Grab BLT4L 2.1 fix here Grab BLT4L 2.2.1 fix (this is more up to date!)
The only downsides are that because I've deleted the portion of the code that tells BLT to load images from mods, images don't load in the new swanky download manager. Also no controller support in the download manager...
The update isn't really necessary, but for those who want BLT 2 functionality in BLT4L, go nuts!
I was just thinking about this today.
I have some time before work tomorrow that I can take to see if any changes to the BLT native API are necessary for immediate compatibility with the BLT lua.
---- On Tue, 05 Sep 2017 00:34:48 -0700 [email protected] wrote ----
May as well post it here, But I managed to port over the Base files from regular BLT to make it work on BLT4Linux. It admittedly wasn't that hard to do. I just had to delete calls relating to finding image files for mods.
Grab it here
The only downside is that because I've deleted the portion of the code that tells BLT to load images from mods, images don't load in the new swanky download manager.
The update isn't really necessary, but for those who want BLT 2 functionality in BLT4L, go nuts!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
So far, the only thing the loader appears to be missing is the ability to load icons from mods, but i'm sure you'll be able to find other things =)
May I download and test this newer version? Many mods does not work with current version of BLT4L
Go ahead. It's made to work, though BLT 2 got an update to make the update system bit faster, so if you can hold off for a few hours, i'll update the relevant files for BLT4L compatibility.
On 6 September 2017 at 16:57, Kazenin [email protected] wrote:
May I download and test this newer version? Many mods does not work with current version of BLT4L
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blt4linux/blt4l/issues/79#issuecomment-327530304, or mute the thread https://github.com/notifications/unsubscribe-auth/AInZsUnFc7o5Qav2eTudcacDWSVG4Tb0ks5sfsEFgaJpZM4PMjMs .
Okay, new version is up HERE ,not tested it as i'm not on my Linux partition at the moment. Gotta play Paladins somehow =)
I will test here. By the way, I use Fedora 26 and I will feedback you later. Thanks, mate
Okay, got onto my linux mint partition, and i made a boo boo: Here is the fixed version
Well, I tested.. and the game does not open. Verifying with ldd:
./libblt_loader.so: /lib64/libcurl.so.4: no version information available (required by ./libblt_loader.so)
linux-vdso.so.1 (0x00007ffe49bfe000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1bf4019000)
libcrypto.so.1.0.0 => not found
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f1bf3d99000)
libz.so.1 => /lib64/libz.so.1 (0x00007f1bf3b82000)
libc++.so.1 => /lib64/libc++.so.1 (0x00007f1bf38c4000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1bf35ae000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1bf3397000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1bf2fc6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1bf443a000)
libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f1bf2da1000)
libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f1bf2b84000)
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f1bf2957000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f1bf2749000)
libssl3.so => /lib64/libssl3.so (0x00007f1bf24fc000)
libsmime3.so => /lib64/libsmime3.so (0x00007f1bf22d5000)
libnss3.so => /lib64/libnss3.so (0x00007f1bf1fac000)
libnssutil3.so => /lib64/libnssutil3.so (0x00007f1bf1d7c000)
libplds4.so => /lib64/libplds4.so (0x00007f1bf1b78000)
libplc4.so => /lib64/libplc4.so (0x00007f1bf1973000)
libnspr4.so => /lib64/libnspr4.so (0x00007f1bf1734000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1bf1515000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f1bf12c8000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f1bf0fe1000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f1bf0dae000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f1bf0baa000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f1bf099b000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f1bf0749000)
libc++abi.so.1 => /lib64/libc++abi.so.1 (0x00007f1bf0501000)
librt.so.1 => /lib64/librt.so.1 (0x00007f1bf02f9000)
libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f1beff87000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f1befd1b000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f1bef890000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f1bef681000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f1bef47d000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f1bef264000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f1bef047000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f1beee1f000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f1beebe9000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f1bee976000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f1bee773000)
libcrypto.so.1.0.0 => not found. This package is already installed. Do you have any idea?
@kazenin
This package is already installed. Do you have any idea?
Make sure you have the 64-bit version installed, and then make sure that that package actually provides that file. Run ldconfig (as root) and check that the file shows up.
You either have a newer or older version, and thus an incompatible libcrypto, or your ld and library path is mismanaged/misconfigured.
@dribbleondo Do you have the source code and compile instructions? the pre built did not work for me. Thank you so much
I should've clarified @Kazenin ,the loader is completely unchanged from BLT4L P1. the only thing that has changed is the files and folders within the "mods" folder. If you already have a working loader that you have compiled, then give that a go.
~~How does this differ from the original lua scripts?~~ Okay, it only differs by the GetModImage function. My solution should be "the better one", because it makes it possible for me to show up the BLT Mod Menu.
Also: i do occur a strange error, because you commented out the GetModImage function completly. I managed to get it working by just returning nil
base/req/BLTMod.lua
function BLTMod:GetModImage()
return nil
end
I didn't think of that. I'll update my version to 2.2.2 later. @RomanHargrave I'd make a new prebuilt download (or nick the one I've made here) as some mods, once updated to be BLT 2 compatible, don't work at all on BLT 2 p1 or below.
@dribbleondo I'll run off a new set of prebuilts
@punkkeks BLT lua should be able to detect if its running with BLT4L because we have a version API. I need to let James know that so that we can at least get some compatibility
awesome, thank you :heart:
Cheers @RomanHargrave . You da best.
@dribbleondo @punkkeks @Kazenin
Just to satisfy my curiosity, what distros do you guys use?
Arch Linux
Linux Mint 18.2.
@dribbleondo @punkkeks @Kazenin @BangL @ZNixian @Ozymandias117 @LeonardKoenig @blt4linux/website @blt4linux/developers
I created a distro (mainly) survey: https://goo.gl/forms/7lxv8PBWpbiEyQUg1
It's also linked in the repo description.
@RomanHargrave thanks for newer version. I compiled here and works great. But, some mods does not work yet. See the list:
1 - Assault survived 2 - Assault states 3 - Nepgearsy HUD
and other BLT 2.x version mods.
Do you know why they don't work?
@dribbleondo new builds @ https://github.com/blt4linux/blt4l/releases/tag/2.0-pre2
I don`t know but, all mods are detected by BLT and in game these mods does not work. the developer told me that it gave compatibility to version 2 of the BLT. So I believe this is the problem.
Are you using version 2 of the BLT base?
the base folder ?
If I use the base folder from the newer version the "mod options" not appears
using the old base folder is not an option at all, the new blt needs the new one.
for more info about the mod options, see this: https://github.com/JamesWilko/Payday-2-BLT/issues/140
Nice. I created new save files and all works correctly, except mods with xml config files. Thank you
@RomanHargrave It may be wise to tell people going to the downloads page to use the new "mods" folder if upgrading from BLT to BLT2, as not many people may know that there have been some folder changes too.
EDIT: Tried the new BLT, and the Base folder needs to be updated. It breaks HUD mods, and the new Base folder has backwards compatibility anyway.