Comments (7)
My trampoline doesn't overflow when calculating the range
CommonLibSSE/include/SKSE/Trampoline.cpp
Lines 77 to 78 in a0b569d
from commonlibsse.
Interesting. I am getting an allocation failure with EngineFixes64 under wine, and was hoping it was a similar issue with calculating the lower bound
https://bugs.winehq.org/show_bug.cgi?id=44893
from commonlibsse.
It's much more likely it simply failed to preload and never allocated a trampoline in the first place
from commonlibsse.
skse64 plugin preloader - d3dx9_42 exe path: C:\steam\steamapps\common\skyrim special edition\SkyrimSE.exe loaded into SkyrimSE.exe or SkyrimVR.exe, proxying SkyrimSE d3dx9_42 funcs and registering preload hook success
[2021-01-31 20:09:05.232] [info] [main.cpp:137] beginning pre-load patches [2021-01-31 20:09:05.233] [critical] [SKSE/Trampoline.h:187] Failed to handle allocation request
CommonLibSSE/include/SKSE/Trampoline.h
Line 187 in a0b569d
I think that this means we are failing to allocate the trampoline, called from
but it's not clear to me how Initialize() gets called, since the error references a line in SKSE_PluginQuery
The reason I suspected the min limit was that wine seems to allocate from the bottom, but any info on how I can debug this further and figure out why it won't load on wine is much appreciated
from commonlibsse.
That fact that it doesn't print the version should tell you it never preloaded
https://github.com/aers/EngineFixesSkyrim64/blob/ccde2fdd1a33a356fb43dbb491b868fbddf00508/src/main.cpp#L86
That trampoline was never allocated, and you can't allocate from nothing, so it fails.
from commonlibsse.
I assume d3dx9_ dll is supposed to call Initialize() on the DLL? I am definitely seeing the preloader dll get loaded
00c4:trace:loaddll:build_module Loaded L"C:\\steam\\steamapps\\common\\skyrim special edition\\d3dx9_42.dll" at 0000000000420000: native
And I see here: https://github.com/aers/skse64_plugin_preloader/blob/master/d3dx9_42.cpp that it is supposed to trigger the Initialize function in the DLL. The last thing the DLL logs is success.
I'm not sure I understand the detour code, but I see it is doing something with "api-ms-win-crt-runtime-l1-1-0.dll", which is provided by wine runtime and not the windows DLL, which could be the issue?
from commonlibsse.
That is the problem for wine, since that dll is already intercepted by wine, it never hooks. I compiled skse_plugin_preloader without the initterm dance, and it works fine. Thanks!
from commonlibsse.
Related Issues (20)
- Compiler errors while following the CommonLibSSE section of the Getting Start guide HOT 2
- RE::TESObjectCELL::ForEachReferenceInRange HOT 1
- Problems getting started HOT 1
- q re Skyrim AE support HOT 4
- linux guide HOT 7
- cmake support
- Building error with Logger (or maybe fmt) HOT 4
- Incorrect Type for Stagger
- Backwardscomparibility with Older SkyrimSE Versions HOT 1
- Unable to Compile Example Project HOT 1
- How to call papyrus methods/functions inside c++ plugin? HOT 3
- Binary-io HOT 1
- MapMarkerData(ExtraMapMarker.h) The "type" field is at incorrect offset.
- incompatible with 1.6.640 ?
- How to remove SetPosition fade effect? When you try move object, it gets a fading effect.
- How to Enable object? HOT 1
- "SprintStart" Event doesn't work on the spawned object
- Setup Problem HOT 2
- vcpkg port HOT 6
- Is there a way to mimic Game.IsObjectFavorited? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commonlibsse.