Skip to content

Conversation

@kacejot
Copy link
Contributor

@kacejot kacejot commented Dec 3, 2025

Mostly used function definitions from https://github.com/Erik-JS/proxy-dll-64/
It has MIT, so it should be fine. I've mentioned this repo in winmm.cpp file.

I also would like to share winmm.dll as mod loader for Stalker 2 on nexusmods, if you don't mind

@apple1417 apple1417 merged commit c53d3cd into bl-sdk:master Dec 4, 2025
15 checks passed
@apple1417
Copy link
Contributor

I have to say, generally I don't like pretending these are all void(void) functions. You're relying on the compiler to optimize it into a single jump, which it's under no obligation to do, it's not safely portable.

That being said, I can't ask you, or anyone, to correctly write out and forward all the args for 180 functions - there's a reason all the other proxies are far smaller lol. Realistically it should be immediately obvious when it goes wrong.


Yeah you can ship this alongside whatever tools you have using it, that's fine, cool to see this getting some use outside of borderlands. Out of curiosity I have to ask how you found this project/what made you pick it?

@kacejot
Copy link
Contributor Author

kacejot commented Dec 4, 2025

Regarding void(void), yeah I didn't even see original API. Maybe some day I will change this API so it corresponds to the original.

Actually I found this repo by its name (I searched for "dll plugin loader" and it was second or third result), I took a look and I liked what I saw. Very clean & modular dllmain. It is that simple :)
I used UE4SS for injection purposes, but it was heavy and console was always in background, so I decided to find simple solution and use it instead. Well, I still use it. I need to port GUI dependency from UE4SS to imgui, so it will take some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants