I have no idea how to fix nexus antivirus check so please use git release https://github.com/MiningOrca/bg3-macos-achievement-enabler
No Script Extender or NativeModLoader required.
Tested on:
- Steam Build ID:
24532579
- GOG macOS build with SHA256:
6c6cf9a14392092d35cf116e61fd8c35b1e1f14ffff98a4d77dc3517eb399846
- macOS Apple Silicon (ARM64)
The script patches only the achievement-related mod checks in the ARM64 game executable. It does not disable mod detection globally.
Before modifying the game, the script verifies the expected instruction bytes at all patch locations. If they do not match, the script refuses to continue.
A backup of the original executable is created next to the patch script before the first modification.
Installation
-
Download and extract the archive.
-
Quit Baldur's Gate 3 completely.
-
Open Finder and locate the extracted folder containing:
bg3-achievements-patch.sh
- Open Terminal at that folder.
The easiest way:
- In Finder, right-click the extracted folder itself.
- Choose Services → New Terminal at Folder.
- Make the script executable:
chmod +x bg3-achievements-patch.sh
You only need to do this once.
- Check whether your game build is supported:
./bg3-achievements-patch.sh status
The script automatically detects a supported Steam or GOG installation.
For an unpatched supported build, you should see:
Patch: OFF
If you see:
Patch: UNKNOWN BUILD / BYTES
do not continue. Your game build is not currently supported.
- Enable achievements with mods:
./bg3-achievements-patch.sh on
- If everything succeeds, the script will finish with:
Achievement patch: ON
You can then launch Baldur's Gate 3 normally.
Check patch status
At any time, run:
./bg3-achievements-patch.sh status
A successfully patched game should show:
Patch: ON
Disable
To disable the patch and restore the original three instructions:
./bg3-achievements-patch.sh off
This keeps the full executable backup created during the first patch.
Restore original executable
To restore the complete original executable from the backup:
./bg3-achievements-patch.sh restore
The backup is stored in the same folder as bg3-achievements-patch.sh.
Compatibility
Currently verified with:
- Steam Build ID
24532579
- The tested GOG macOS build listed above
- Apple Silicon Macs (ARM64)
The patch is build-specific.
BG3 updates may change the executable layout or instructions. If the expected bytes at the patch locations do not match, the script reports the build as unsupported and refuses to modify the executable.
This is intentional protection against patching the wrong locations after a game update.
What it patches
BG3 checks whether loaded modules are standard modules before processing some achievement events.
The script bypasses only the mod checks in these achievement-related functions:
esv::AchievementManager::UnlockAchievement
esv::AchievementManager::IncreaseAchievementCounter
esv::OsirisGameFunctions::UnlockAchievement
ls::ModuleShortDesc::IsStandardModule() itself is not modified.
No Script Extender, NativeModLoader, or other runtime loader is required.
Source code
https://github.com/MiningOrca/bg3-macos-achievement-enabler
Credits
Special thanks to radixlectio for helping test and verify the GOG macOS version of the patch.
来源与文件
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:baldursgate3:24458 -->