BaldursModManager icon indicating copy to clipboard operation
BaldursModManager copied to clipboard

Add support for NativeModLoader (+ NativeCameraTweaks)

Open Foul-Tarnished opened this issue 1 year ago • 3 comments

https://www.nexusmods.com/baldursgate3/mods/945

This mod is the best ever, let you see the actual world of BG3.

I'm willing to pay 200$ if anyone can port it to BG3 Mac 🙏

Foul-Tarnished avatar Jan 20 '24 23:01 Foul-Tarnished

Hey @Foul-Tarnished, cool feature request. Emboldened by the flame of ambition, are we?

I will certainly look into it! Just briefly skimming over the project code, they do make mention of some scary Windows-exclusive terms ('Native dll plugin,' 'Visual Studio' and 'x64 Native Tools' just to name a few). It looks like the project itself is mostly built using C++, which is certainly promising, but it may just be that the code relies too heavily on Windows-native libraries. I'll see if I can't track them down on the Larian Discord and pick their brain on some of the methods they used for implementation.

Justin

revblaze avatar Jan 21 '24 16:01 revblaze

@revblaze yeah it looks like it uses a lot of Windows features

But in theory it should be possible to edit a binary on mac ? I guess ghidra can open mac binary?

but the hard part is finding where the camera stuff is happening in the binary, and what to change to unrestrict its movements

this mod seems to have some logic so it read a config file that we can tweak, but it's not really needed.

Even if you we're able to make it, I guess there's nothing like DLL on mac, so you'd need to make a tool that patch the binary itself ? so you don't have to share the copyrighted (edited) binary online

Foul-Tarnished avatar Jan 21 '24 18:01 Foul-Tarnished

@revblaze Maybe this can help inject code on MacOS ? https://github.com/LIJI32/MIP

also I heard on SpecialK discord that : "MacOS uses dylib, not dll"

Foul-Tarnished avatar Feb 20 '24 22:02 Foul-Tarnished