Add dual display scale support#37
Draft
Bemirror99 wants to merge 10 commits into
Draft
Conversation
Author
|
superseded by smaller PRs against Leanny/main |
d66c830 to
d5f312e
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.
Summary
Add dual display scale support for Windows display scale 100% and 125% in the same codebase.
The goal is to keep the main flow aligned with the current Crinity/Kevin-based structure while using shared needles by default, scale-specific coordinates/profiles/helpers where needed, and only minimal verified Scale125 fallback assets.
Latest checkpoint commit:
d5f312e Update pack data and add blocked request opt-inMain Changes
Scripts/Needlesassets are now the default.Scripts/Scale125PNGs.Scripts/Scale125fallback is limited to documented pixel-sensitive exceptions and rarity/card detection needles.ParadoxDrive.Share.blockedFriendRequestHotfix=0.FriendLimitpath waits for the current gray toast to clear, denies the top request, and waits for the post-deny gray toast to clear.Accounts/Saved/tmp/balance_*folder.Accounts/Saved/<instance>/readme.mdis restored after balancing so repo placeholder files are not deleted by the tool.#SingleInstance, Force.Reloadwhile adding lightweightReload.txtdiagnostics.Logs/Discord.txt, redacts webhook tokens, and adds trace IDs.Tested
MainStuck.pnghotfix needle with existingScripts/Needles/FriendLimit.png; colors match within image-search tolerance and the existing smaller crop fits the current 100/125 coordinate profiles.FriendLimit -> done/breakbehavior unchanged unlessblockedFriendRequestHotfix=1is set manually.Ahk2Execompile validation forScripts\Main.ahk.git diff --check.PTCGPB.ahkScripts\1.ahkScripts\Main.ahkScripts\Include\Monitor.ahkScripts\Include\MonitorOnce.ahkScripts\Include\LaunchAllMumu.ahkNotes
blockedFriendRequestHotfix=1is a hidden, opt-in workaround for a rare approve-queue blocking case. It should not be enabled for normal users, especially if the local friend list may be 99/99.Logs/Discord.txtfiles from previous builds may contain raw webhook URLs because the old code logged the full curl command. Please delete or sanitize old Discord logs before sharing them.Discord.txt; GP/S4T success logs and all Discord failure/retry logs remain available for debugging.AutoHotkeyU64.exeandMuMuVMMHeadless.exeseparately when investigating memory usage.Extra Testing Wanted
blockedFriendRequestHotfix=1GPlog.txt,Discord.txt, the instanceLog_N.txtaround that time, and any stuck screenshot.