blt4linux / blt4l

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

Missing menu elements (mainly Lua mods), only one mod show up in "Mod Options" #98

Closed cosmosgirlandcrows closed 6 years ago

cosmosgirlandcrows commented 6 years ago

I'll let the images speak for themselves. I've tried installing every single way, but this is borderline hopeless.

image screenshot_2017-11-12_21-52-13 screenshot_2017-11-12_21-52-55

As you can see I have plenty of mods installed, but restoration simply doesn't work and I can only customize one. What's going on here? I'm using Xubuntu 16.04.

ZNixian commented 6 years ago

Could you go into your mods/logs folder, and upload the latest log file.

cosmosgirlandcrows commented 6 years ago

2017_11_12_log.txt

Here you go, @ZNixian

ZNixian commented 6 years ago

There's quite a lot of errors in that log.

Three big issues I see:

The BeardLib issue is from #96, the others are due to the mods themselves and aren't really BLT's fault. I'll close the issue, however I'll still help if the above steps don't fix it.

PS: Delete your log before launching if you're going to upload it, so there's only the most recent launch in it.

cosmosgirlandcrows commented 6 years ago

Seems like the issue was Restoration Mod, but one thing still bothers me. Take a look at this image from a tutorial regarding BLT4Linux.

image

Where did the "Lua Mods" tab go?

ZNixian commented 6 years ago

A while back, PAYDAY 2 changed from using the 'Lua 5.1' interpreter to the 'LuaJIT' just-in-time compiler. They both run the same Lua code the same way, but LuaJIT is upto a few hundred times faster.

However, this change broke the windows version of BLT - every time you opened the game, it would crash IIRC. So they had to rewrite the BLT .dll hook - and while they were at it, they also rewrote the Lua part of BLT, which is responsible for the BLT-related menus.

None of this affected BLT4L too much, as our hook kept working despite the change to LuaJIT. After awhile, BLT4L changed to being bundled with the new version of the Lua part of BLT, as new mods were starting to require it.