You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that mods patching libtp1801_gui.so need to dlopen() the library, because so does dji_gls_wm150 and their lookups are scoped (with the naive method) to only the original library, therefor only the first .so overriding a specific method ever gets called.
In order to solve this we can do the following every time we search for the original function:
This is a pain in the ass though, we should provide a convienence method via modloader somehow so that every mod doesn't need to do this manually or re-implement their own loader function. Ideally a mod wouldn't have to deal with dlopening target libraries manually either.
We could inject another .so as the very first one that provides this function, but how do we manage that dependency at build time?
The text was updated successfully, but these errors were encountered:
The issue is that mods patching libtp1801_gui.so need to dlopen() the library, because so does dji_gls_wm150 and their lookups are scoped (with the naive method) to only the original library, therefor only the first .so overriding a specific method ever gets called.
In order to solve this we can do the following every time we search for the original function:
This is a pain in the ass though, we should provide a convienence method via modloader somehow so that every mod doesn't need to do this manually or re-implement their own loader function. Ideally a mod wouldn't have to deal with dlopening target libraries manually either.
We could inject another .so as the very first one that provides this function, but how do we manage that dependency at build time?
The text was updated successfully, but these errors were encountered: