Repository navigation
Beta 1.3.2: classic shortcuts for loader and admin games - #4
Merged
Merged
Conversation
…aunches Some games start through a tiny loader that creates the real game process (e.g. main.bin) with an empty STARTUPINFO and exits, so the game window loses the shortcut's AppUserModelID: it shows a second taskbar button next to the pinned shortcut, and pinning the running game pins the game executable without Locale Emulator. After a classic launch, VNAR now watches the game folder's processes and sets the AppID plus relaunch command, name and icon on their windows until the game closes. Games that run as administrator (marked in VNAR, manifest, or compatibility setting) get an elevated VNAR first, so their windows can be changed too; the elevated copy starts Locale Emulator, keeping a single UAC prompt, and receives the data folder and shortcut icon as arguments. Library launches go through the same path in a separate VNAR process, with the game's AppID (grouping with a pinned classic shortcut) but PreventPinning, so a running game can only be pinned through a classic shortcut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xg3foxU67kLRiYzCqfGnUh
JAVCIF
force-pushed
the
hotfix/beta-1.3.2
branch
from
November 7, 2026 06:26
1df303d to
38beb74
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Beta 1.3.2: classic shortcuts that stay pinnable and grouped for every game.
Loader games (a small
.exethat creates the real game, e.g.main.bin, with an empty STARTUPINFO and exits): the game window lost the shortcut's AppUserModelID, so it showed a second taskbar button next to the pinned shortcut, and pinning the running game pinned the game executable without Locale Emulator. After a classic launch, VNAR now stays in the background while the game runs and sets the AppID, relaunch command (VNAR.exe --launch <id>), name and icon on the windows of processes in the game folder.Administrator games (marked in VNAR,
requireAdministrator/highestAvailablemanifest, or the compatibility "Run as administrator" setting): the shortcut's VNAR relaunches itself elevated so it can change the game's elevated windows. Still a single UAC prompt (Locale Emulator does not ask again from an elevated parent). The elevated copy gets the data folder and the shortcut icon as arguments.Tests:
VNAR.ShellTeststags a real window owned by another process and reads the properties back;VNAR.CoreTestscovers the elevation rules.Do not merge until it has been tried with a loader game (Majikoi A-4) using the CI's portable build.
Generated by Claude Code