run: apply LARP_HOST_NAME before the menu's NVIDIA query #429
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!429
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-429"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@kadiratesdev on GitHub · 2026-12-06 00:44 UTC · original
kadiratesdev:fix/host-name-before-menu→main· +6 −3 · 1 files · 1 commits · openLARP_HOST_NAME(#87) is applied too late:run::menu_choicesnow runs first and loadsnvapi64.dllto read the NVIDIA shader heap. That library loads thewinmm.dllbesidelarp.exe, and a proxy mod checks the host name inDllMain. It sees the real name (larp.exe) and disables itself, so the configured name never takes effect.This started in
9926760("New look: text size, start options, controls and shader heap rows"), which calledmenu_choicesbeforehost_name::apply. It is in v1.1.6.The fix applies the host name first, then reads the menu.
advisor::checkandmods::load_allstill run only forrun --execute.Verified on an RTX 3080 Ti with a
winmm.dllproxy that hooks the title underLARP_HOST_NAME=victory.exe: the proxy's hooks are installed again, matching the pre-regression build, and a full in-game session shows Turkish text from the start.@copilot-pull-request-reviewer[bot] on GitHub · 2026-12-06 00:44 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
@vanya890 on GitHub · 2026-12-06 01:08 UTC · original · approved these changes
Reviewed against the current
mainimplementation. The ordering is correct:host_name::apply()now runs beforemenu_choices()can query NVAPI and load the adjacentwinmm.dllproxy. TheGuardremains alive throughmenu_choices()andmods::load_all(), whileexecute.then(...)preserves the non-executing bind-only path. The current main branch still has the original ordering, and the PR is cleanly mergeable. No blocking issues found.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.