JoyPro2 Discord GitHub
GUI pages

Check

Show:

Check in the bottom bar runs the profile check and shows the results on the Export page under Problems found by the check. What each kind of card means and how the fixes work: The Check.

The Check with one cardThe Check with one card
The Check with one card
For beginners

#Using the list

  • The line at the top counts the cards: "To look at: 0 errors, 1 warning, 0 notes".
  • Search finds cards by relation, aircraft, button and command.
  • The first box shows one kind (All problems, errors, warnings, notes); the second orders them (By relation, By aircraft, By game, By confidence).
  • Expand all / Collapse all open or close every section.
  • A card's blue button with a tick is JoyPro's suggestion; More has the other fixes; Open '' jumps to the relation with the card's commands marked.
  • Ignore on a card keeps the binds as they are and hides the warning. It comes back by itself, marked New and "Shown again: now also on ...", when the command lands on one more button. So you work through the list once and afterwards see only what is new.
  • Ignored warnings (n) (only while you ignored some) lists the hidden ones with Show again for each and Show all again. Typing "ignore list", "hidden" or "muted" into the search opens it too.
Advanced

#Fixing many at once

Fix all with a rule applies one rule to every card of a section, Fix with AI takes an instruction in plain words; both show a Preview with a tick per change, Apply the ticked ones applies them as one undo step. Also right after imports and take-overs runs the sure fixes automatically after an import.

Technical internals

#Behind the page

Views/Controls/CheckProblemsPanel.axaml, ViewModels/MainWindowViewModel.CheckCards.cs, MainWindowViewModel.Duplicates.cs, Models/CheckIssueModels.cs. Engine: engine profile validate, engine relations conflicts, engine relations duplicates, engine export-marks list.

#Reference

The feature documentation behind this page, generated from the repository:

#Every control on this page

22 controls, read from the program’s source: 22 written, 0 with the facts from the source (tooltip, code comment, engine call), 0 still to be expanded.

#The warnings you ignored. Each one comes back by itself when something new joins it; Show again brings it back now.

Toggle buttonwritten2 ×

"Ignored warnings (n)": opens or closes the list of the warnings you ignored with Ignore on their card. It shows only while there are some. Each one is described with the card's words (the buttons with their relations, the aircraft and the command) and has Show again, which puts the card back on the check (one Ctrl+Z takes it back). The search above filters the list as well; searching for "ignore list", "hidden warnings", "dismissed" or "muted" opens it. An ignored warning also comes back on its own when one more button, relation or command joins it: the card then says "Shown again: now also on ..." and is marked New. Engine: engine relations duplicates --list-kept, engine relations conflicts --list-kept, --forget-kept --keys.

Source CheckProblemsPanel.axaml:80 · ToggleIgnoredWarningsCommand in MainWindowViewModel.CheckIgnored.cs · setting IsIgnoredWarningsOpen

#Show all again

Buttonwritten

Tooltip Every ignored warning comes back on the check; the binds do not change. Ctrl+Z undoes it.

Puts every ignored warning back on the check at once; the binds do not change. One engine command, so one Ctrl+Z hides them all again. Engine: engine relations duplicates --forget-kept.

From the code "Show all again": every ignored warning (the engine forgets the conflicts' too; one undo step).

Engine engine relations duplicates · engine profile validate

Source CheckProblemsPanel.axaml:96 · ShowAllIgnoredAgainCommand in MainWindowViewModel.CheckIgnored.cs

#Toggle rows

Buttonwritten2 ×

"Show all n" / "Show fewer": the table "aircraft -> command" of a card shows its first rows; this opens the rest or folds them again.

Source CheckProblemsPanel.axaml:136 · ToggleRowsCommand

#

Buttonwritten4 ×

A fix of a card (the blue one with the tick is JoyPro's suggestion) or an Open '' button. A fix runs one engine command, so it is one undo step (Ctrl+Z). Open shows the relation with exactly the card's commands and aircraft marked; Back to the check above the relation's name (or Back, Alt+Left) returns to the card. In the game: the fix takes effect at the next export.

Ignore (on "Same command on two buttons", "One button does two things" and "One button runs two commands"; it was called "Keep both" before 2.6.1) changes no bind: the card goes away and JoyPro remembers it in the profile. It comes back when the command lands on one more button (one more relation on the button, one more command in the relation), marked "Shown again: now also on ...". In the list Ignored warnings, Show again puts one card back.

On "Same command on two buttons", Replace '...' on

#Shows the fixes JoyPro is at least this sure about; you tick which ones to apply. One undo step.

Buttonwritten

"Fix the sure ones (n of m at 90% or more)": shows a preview of JoyPro's suggested fix for every action on in several relations that it is at least as sure about as the slider above says. Nothing changes yet; tick the lines you want and press Apply the ticked ones (one undo step). Engine: engine relations duplicates --rule suggested --min-confidence.

#Also right after imports and take-overs

Check boxwritten

Tooltip When an import or a take-over puts an action into a second relation, JoyPro fixes it at once if it is at least this sure; the rest stays here for you.

Off by default: when an import or a take-over of game changes puts an action into a second relation, JoyPro applies its suggested fix at once if it is at least as sure as the slider says; the rest stays on the check for you. The import's notice says how many were fixed (Ctrl+Z undoes it). Saved in JoyPro's settings.

From the code Fix the sure ones right after imports and take-overs (Settings: saved, off at first).

Source CheckProblemsPanel.axaml:168 · AutoFixDuplicatesAfterImport in MainWindowViewModel.Duplicates.cs · setting AutoFixDuplicatesAfterImport

#Fix all with a rule

Toggle buttonwritten

Opens the rule panel: one rule for every card of the section; Preview lists each change with a tick before anything happens.

Source CheckProblemsPanel.axaml:171 · ToggleDuplicateRuleCommand in MainWindowViewModel.Duplicates.cs · setting IsDuplicateRuleOpen

#Fix with AI

Toggle buttonwritten

Opens the box Fix with AI (and closes Fix all with a rule): describe in a sentence where the actions of "actions on in several relations" belong, for example "keep trim functions in the Trim relations, everything else in the Mode Button relations". JoyPro reads simple sentences itself; the optional local AI only helps with the rest. Nothing changes until you preview and apply.

Source CheckProblemsPanel.axaml:172 · ToggleDuplicateAiCommand in MainWindowViewModel.Duplicates.cs · setting IsDuplicateAiOpen

#Is ticked

Check boxwritten

One change of the preview. Untick the lines you do not want; Apply the ticked ones applies only the ticked lines.

Source CheckProblemsPanel.axaml:216 · IsTicked in CheckIssueModels.cs · setting IsTicked

#Open a relation

Buttonwritten

Tooltip Opens one of the relations with the actions of this card marked; Back returns here.

On a card whose actions are in more than two relations: a menu of those relations. Pick one to open it on the Relations page with the card's actions marked; Back (Alt+Left) returns to the card.

#Show or hide this card

Toggle buttonwritten

The arrow at the top right of a card: folds the card to its title or opens it again with the buttons, the sentence, the table and the fixes. Expand all / Collapse all do it for every card.

Source CheckProblemsPanel.axaml:307 · IsExpanded in CheckIssueModels.cs · setting IsExpanded

#More

Buttonwritten

Tooltip More ways to fix it

The other fixes of the card: switch it off on both buttons, move to another button, remove an unknown command, find similar commands.

#Details

Toggle buttonwritten

Opens the card's details: how sure JoyPro is about the suggestion and why, and where an unknown command came from (the module version, the import). Built only while open, so a page with many cards stays fast.

Source CheckProblemsPanel.axaml:394 · IsDetailsOpen in CheckIssueModels.cs · setting IsDetailsOpen

#Shows the next cards of this kind; the search finds any of them

Buttonwritten

"Show n more (m not shown yet)": a section with many cards shows one page of them at first, so the page stays fast; this adds the next page. The search finds every card, shown or not.

Source CheckProblemsPanel.axaml:426 · ShowMoreCommand

#Check now

Buttonwritten2 ×

Tooltip Looks for relations without binds, the same button twice and other problems (list further down)

Looks for mistakes and shows each one as a card. It only looks; it changes nothing. It runs the whole check (engine profile validate --fail-on-warnings false, then the conflicts, duplicates and export marks) and builds the cards; nothing in the profile or the games is changed. The bottom bar's Check does the same and opens the Export page.