kassent / SkyrimUncapper

a DLL(SKSE64) plugin for SkyrimSE that unlocks the skill level caps of 100 and makes some relevant leveling tweaks.
17 stars 5 forks source link

[Linux] Can't get this mod running through WINE #1

Open C0rn3j opened 6 years ago

C0rn3j commented 6 years ago

Using wine-staging-git (3.18 atm), DXVK (0.81 I believe), and Skyrim SE version of the mod, I can't get it running. (I tried by giving myself AdvSkill and max I could get is skill lvl 100 despite having the Ordinator preset installed)

I found a log from the mod:

[0] % cat "/home/c0rn3j/wine/Steam_DXVK/drive_c/users/c0rn3j/Mine dokumenter/My Games/Skyrim Special Edition/SkyrimUncapper/SkyrimUncapper.log"
imagebase = 0000000140000000 ===============
reloc mgr imagebase = 0000000140000000 ==============
couldn't allocate trampoline, no free space before image
couldn't create codegen buffer. this is fatal. skipping remainder of init process.

I wonder if this issue is on WINE's side?

RobertZenz commented 4 years ago

Did you happen to stumble upon a solution? I'm seeing the same with Proton 5.

I'm assuming that the moduleBase calculation turns up with a non-sensical value for some reason, given that allocation for the "branch trampoline" works which is just before that. Unfortunately, as far as I can see there is no good way to compile this project without having a Window with a full-blown Visual Studio available, which I don't. So I can't really test it.

C0rn3j commented 4 years ago

Unfortunately, as far as I can see there is no good way to compile this project without having a Window with a full-blown Visual Studio available

It's not too hard to grab the W10 ISO, install in trial mode on a VM with trial VS if you wanted to.

I did not find a solution, I just didn't use the mod iirc.

RobertZenz commented 3 years ago

Before I forget again, this is an oddity in how Windows handles the memory of the game/a dll which is not reproduced in WINE. Patches are being discussed.

monyarm commented 2 years ago

i've discovered a fix for the dreaded couldn't allocate trampoline, no free space before image error. To fix it you need to move SkyrimUncapper.dll from SKSE/Plugins to DLLPlugins.

RobertZenz commented 2 years ago

i've discovered a fix for the dreaded couldn't allocate trampoline, no free space before image error. To fix it you need to move SkyrimUncapper.dll from SKSE/Plugins to DLLPlugins.

Are you sure? I can't preproduce this. Moving the plugin to that other directory means it is not loaded anymore by SKSE, at least I can't see anything in the log regarding that. I tried the following:

Skyrim
  |-Data
  |   \-SKSE
  |       |-DLLPlugins
  |       |   \-SkyrimUncapper.dll
  |       \-Plugins
  |           \-other plugin DLLs
  \-skse64_loader.exe

And

Skyrim
  |-Data
  |   |-DLLPlugins
  |   |   \-SkyrimUncapper.dll
  |   \-SKSE
  |       \-Plugins
  |           \-other plugin DLLs
  \-skse64_loader.exe

But in neither case it seems that SKSE is loading Uncapper at all, at least there's not info the logs.

monyarm commented 2 years ago

Ya, skse isn't loading it, the dll loader is. (you need a dll loader, like the one that comes with SSE engine fixes).

On Tue, Nov 9, 2021, 11:11 PM RobertZenz @.***> wrote:

i've discovered a fix for the dreaded couldn't allocate trampoline, no free space before image error. To fix it you need to move SkyrimUncapper.dll from SKSE/Plugins to DLLPlugins.

Are you sure? I can't preproduce this. Moving the plugin to that other directory means it is not loaded anymore by SKSE, at least I can't see anything in the log regarding that. I tried the following:

Skyrim |-Data | -SKSE | |-DLLPlugins | | -SkyrimUncapper.dll | -Plugins | -other plugin DLLs -skse64_loader.exe

And

Skyrim |-Data | |-DLLPlugins | | -SkyrimUncapper.dll | -SKSE | -Plugins | -other plugin DLLs -skse64_loader.exe

But in neither case it seems that SKSE is loading Uncapper at all, at least there's not info the logs.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kassent/SkyrimUncapper/issues/1#issuecomment-964547329, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXHJKWSPU6M4OWYMMMMLSTULGFA7ANCNFSM4F3LM7YQ .

monyarm commented 2 years ago

I've also discovered a few more things: Use the fixed version from nexus, it loads more often than the regular version does. Make sure to have a copy of your ini in both DLLPlugins and skse/Plugins, cause it seems to read from one and write to the other.

On Tue, Nov 9, 2021, 11:30 PM Mony Armenchev @.***> wrote:

Ya, skse isn't loading it, the dll loader is. (you need a dll loader, like the one that comes with SSE engine fixes).

On Tue, Nov 9, 2021, 11:11 PM RobertZenz @.***> wrote:

i've discovered a fix for the dreaded couldn't allocate trampoline, no free space before image error. To fix it you need to move SkyrimUncapper.dll from SKSE/Plugins to DLLPlugins.

Are you sure? I can't preproduce this. Moving the plugin to that other directory means it is not loaded anymore by SKSE, at least I can't see anything in the log regarding that. I tried the following:

Skyrim |-Data | -SKSE | |-DLLPlugins | | -SkyrimUncapper.dll | -Plugins | -other plugin DLLs -skse64_loader.exe

And

Skyrim |-Data | |-DLLPlugins | | -SkyrimUncapper.dll | -SKSE | -Plugins | -other plugin DLLs -skse64_loader.exe

But in neither case it seems that SKSE is loading Uncapper at all, at least there's not info the logs.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kassent/SkyrimUncapper/issues/1#issuecomment-964547329, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXHJKWSPU6M4OWYMMMMLSTULGFA7ANCNFSM4F3LM7YQ .