Skip to content

Beta 1.3.2: classic shortcuts for loader and admin games - #4

Merged
JAVCIF merged 1 commit into
mainfrom
hotfix/beta-1.3.2
Nov 7, 2026
Merged

JAVCIF merged 1 commit into
mainfrom
hotfix/beta-1.3.2

Conversation

@JAVCIF

@JAVCIF JAVCIF commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Beta 1.3.2: classic shortcuts that stay pinnable and grouped for every game.

Loader games (a small .exe that 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/highestAvailable manifest, 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.ShellTests tags a real window owned by another process and reads the properties back; VNAR.CoreTests covers 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

…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
JAVCIF force-pushed the hotfix/beta-1.3.2 branch from 1df303d to 38beb74 Compare November 7, 2026 06:26
@JAVCIF
JAVCIF merged commit 9ffa750 into main Nov 7, 2026
2 checks passed
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.

1 participant