Add official support for Baldur's Gate 3 #188
Conversation
|
Thanks for the contribution. Could you split the code into multiple files in their own subpackage (similar to |
|
@Holt59 okay, I split it up a bit. Need to test in game when I get home to my desktop this weekend (did the latest commits via a linux laptop), but I think you can still review the split to see if its what you meant. By the way, I was looking at the oblivion code, and saw the usage of 3 classes ModDataContent, GamePlugin, and ScriptExtender. All these seem like they might be applicable to bg3 but I am not sure. For scriptextender, bg3 uses a simple DLL only, no binary file for it. Would the ScriptExtender class still apply?
|
Yes you can use the ScriptExtender for DLL only, not sure if it will be of any use for non-Bethesda games though. Is this PR still a draft or can this be merged? |
|
I think I'll remove the scriptextender stuff then, it doesnt seem to have any effect anyways. One thing I was interested in but havent figured out yet was to see if I could turn the 'settings' which are not really settings, but hacks for providing a triggerable action (specifically the finally, other two items:
|
If by "subplugins" you mean having a submenu, I think you just need to add a
You should probably check the Oblivion Remaster plugin with the custom tabs, but other than that I cannot really help, you should ask Silarn on Discord, he did the work on OBVREM.
Honestly, most game features aside from checker and content are very specific to BGS game, so I'm not sure there are anything doable with them... |
95d46dd to
76ab51a
Compare
|
@Holt59 okay, I did the tool plugins, but I think I lost interest in the other features I mentioned for now, since they seem very BGS oriented like you said. Ready for merging I think. |
|
I ran into two issues when setting this up:
|
|
@spectrbro thanks for the report! Ill fix those in a new pr. |
@pingwinekZ this is an issue with your python installation. You lack ssl libs, somehow. I experienced this myself a little while ago. Please reinstall your python. I unfortunately forgot the exact steps I took to resolve this, I don't think it was quite as simple as reinstalling. I do know I deleted everything I could find with my old python installation, then reinstalled Python 3.12 (don't know if python 3.13 is supported for MO2) using the pymanager tool. alternatively, the easier method, to solve only this particular issue, would be to simply download those files yourself and place them in the proper folders. e.g., download the zip here, then place it into the folder |
|
@daescha I didnt even had python installed because i thought its plug and play. I placed the files in the folder in every way possible and it still was "missing" so I guess python is needed anyways. ok I managed to get it working, first I had to install mo2 2.5.2 (my bad for using dev build and not mentioning it) and then delete one line in lslib_retriever.py about the file in the screenshot getting this error after closing the game though on 2.5.2 but I also installed mo2 fork from Senjay and its not there so its finally over and working, thanks |
It looks like in LSLib 1.20.4 they removed LZ4.dll from the download. |
|
@chazwarp923 @pingwinekZ made a pr to address the LZ4 issue: #211. If anybody wants to validate it locally and give back feedback on that PR I would appreciate that. I validated it myself of course but always nice to have someone double check. Ill wait a few days for someone to give feedback before asking for Holt59s review. |








This PR adds support for Baldur's Gate 3.
some inspiration from https://github.com/Alvadus/BG3-MO2-Unofficial-Plugin and https://github.com/chazwarp923/MO2-BG3-Plugin
Features:
meta.ini. Any relevant files not in meta.ini when an executable runs will be parsed before running the executable.Potential additional features that may be added: