Skip to content

Claude/mmlaunch registry root bug zcnasn - #88

Merged
jmquigs merged 2 commits into
masterfrom
claude/mmlaunch-registry-root-bug-zcnasn
Jul 14, 2026
Merged

Claude/mmlaunch registry root bug zcnasn#88
jmquigs merged 2 commits into
masterfrom
claude/mmlaunch-registry-root-bug-zcnasn

Conversation

@jmquigs

@jmquigs jmquigs commented Jul 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits July 14, 2026 01:30
getMMRoot() located the ModelMod root by matching generic marker dirs
(Bin/Logs/TPLib) relative to the current working directory.  Under
Wine/Proton the working dir can resolve to the unix root (drive Z:\),
whose case-insensitive /bin matches the "Bin" marker, so getMMRoot()
returned "Z:\".  PeriodicUpdate then overwrote the registry MMRoot with
that bogus value and the native loader could not find MMManaged.dll.

Require a candidate root to actually contain a loadable MMManaged.dll
(mirroring the native get_managed_dll_path search: "", Bin, Release,
Debug) before accepting it; MMDotNet.sln is still trusted directly for
dev checkouts.  Invalid candidates now fall through to the existing
registry value, so the correct root is preserved.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VL1pRPGKznkc7W3ZSPsAc2
- Warn if the determined root doesn't have the dll
- Do the detection just once at startup
@jmquigs
jmquigs merged commit ad3836a into master Jul 14, 2026
1 check passed
@jmquigs
jmquigs deleted the claude/mmlaunch-registry-root-bug-zcnasn branch July 14, 2026 16:25
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