From c9c4d7c0d40372519d59607888353ea1bc55739c Mon Sep 17 00:00:00 2001
From: VocalFan <45863583+FluffyOMC@users.noreply.github.com>
Date: Tue, 4 Feb 2025 22:43:50 -0500
Subject: [PATCH 1/6] Add tooltips to game status
---
src/Ryujinx/Assets/locales.json | 125 ++++++++++++++++++
.../UI/Controls/ApplicationListView.axaml | 3 +
.../Utilities/AppLibrary/ApplicationData.cs | 12 +-
3 files changed, 139 insertions(+), 1 deletion(-)
diff --git a/src/Ryujinx/Assets/locales.json b/src/Ryujinx/Assets/locales.json
index 9f9053ae0c..72563d97d1 100644
--- a/src/Ryujinx/Assets/locales.json
+++ b/src/Ryujinx/Assets/locales.json
@@ -23272,6 +23272,131 @@
"zh_TW": "無法啟動"
}
},
+ {
+ "ID": "CompatibilityListPlayableTooltip",
+ "Translations": {
+ "ar_SA": "",
+ "de_DE": "",
+ "el_GR": "",
+ "en_US": "Boots and plays without any crashes or gpu bugs of any kind, and at a speed fast enough to reasonably enjoy on an average PC.",
+ "es_ES": "",
+ "fr_FR": "",
+ "he_IL": "",
+ "it_IT": "",
+ "ja_JP": "",
+ "ko_KR": "",
+ "no_NO": "",
+ "pl_PL": "",
+ "pt_BR": "",
+ "ru_RU": "",
+ "sv_SE": "",
+ "th_TH": "",
+ "tr_TR": "",
+ "uk_UA": "",
+ "zh_CN": "",
+ "zh_TW": ""
+ }
+ },
+ {
+ "ID": "CompatibilityListIngameTooltip",
+ "Translations": {
+ "ar_SA": "",
+ "de_DE": "",
+ "el_GR": "",
+ "en_US": "Boots and goes in-game but suffers from one or more of the following: crashes, deadlocks, gpu bugs, distractingly bad audio, or is simply too slow. Game still might able to be played all the way through, but not as the game is intended to play.",
+ "es_ES": "",
+ "fr_FR": "",
+ "he_IL": "",
+ "it_IT": "",
+ "ja_JP": "",
+ "ko_KR": "",
+ "no_NO": "",
+ "pl_PL": "",
+ "pt_BR": "",
+ "ru_RU": "",
+ "sv_SE": "",
+ "th_TH": "",
+ "tr_TR": "",
+ "uk_UA": "",
+ "zh_CN": "",
+ "zh_TW": ""
+ }
+ },
+ {
+ "ID": "CompatibilityListMenusTooltip",
+ "Translations": {
+ "ar_SA": "",
+ "de_DE": "",
+ "el_GR": "",
+ "en_US": "Boots and goes past the title screen but does not make it into main gameplay.",
+ "es_ES": "",
+ "fr_FR": "",
+ "he_IL": "",
+ "it_IT": "",
+ "ja_JP": "",
+ "ko_KR": "",
+ "no_NO": "",
+ "pl_PL": "",
+ "pt_BR": "",
+ "ru_RU": "",
+ "sv_SE": "",
+ "th_TH": "",
+ "tr_TR": "",
+ "uk_UA": "",
+ "zh_CN": "",
+ "zh_TW": ""
+ }
+ },
+ {
+ "ID": "CompatibilityListBootsTooltip",
+ "Translations": {
+ "ar_SA": "",
+ "de_DE": "",
+ "el_GR": "",
+ "en_US": "Boots but does not make it past the title screen.",
+ "es_ES": "",
+ "fr_FR": "",
+ "he_IL": "",
+ "it_IT": "",
+ "ja_JP": "",
+ "ko_KR": "",
+ "no_NO": "",
+ "pl_PL": "",
+ "pt_BR": "",
+ "ru_RU": "",
+ "sv_SE": "",
+ "th_TH": "",
+ "tr_TR": "",
+ "uk_UA": "",
+ "zh_CN": "",
+ "zh_TW": ""
+ }
+ },
+ {
+ "ID": "CompatibilityListNothingTooltip",
+ "Translations": {
+ "ar_SA": "",
+ "de_DE": "",
+ "el_GR": "",
+ "en_US": "Does not boot/shows no signs of activity.",
+ "es_ES": "",
+ "fr_FR": "",
+ "he_IL": "",
+ "it_IT": "",
+ "ja_JP": "",
+ "ko_KR": "",
+ "no_NO": "",
+ "pl_PL": "",
+ "pt_BR": "",
+ "ru_RU": "",
+ "sv_SE": "",
+ "th_TH": "",
+ "tr_TR": "",
+ "uk_UA": "",
+ "zh_CN": "",
+ "zh_TW": ""
+ }
+ },
{
"ID": "ExtractAocListHeader",
"Translations": {
diff --git a/src/Ryujinx/UI/Controls/ApplicationListView.axaml b/src/Ryujinx/UI/Controls/ApplicationListView.axaml
index 151bf5b329..29c4bc03c9 100644
--- a/src/Ryujinx/UI/Controls/ApplicationListView.axaml
+++ b/src/Ryujinx/UI/Controls/ApplicationListView.axaml
@@ -109,6 +109,9 @@
+
+
+
+ PlayabilityStatus.HasValue
+ ? LocaleManager.Instance[PlayabilityStatus!.Value switch
+ {
+ LocaleKeys.CompatibilityListPlayable => LocaleKeys.CompatibilityListPlayableTooltip,
+ LocaleKeys.CompatibilityListIngame => LocaleKeys.CompatibilityListIngameTooltip,
+ LocaleKeys.CompatibilityListMenus => LocaleKeys.CompatibilityListMenusTooltip,
+ LocaleKeys.CompatibilityListBoots => LocaleKeys.CompatibilityListBootsTooltip,
+ LocaleKeys.CompatibilityListNothing => LocaleKeys.CompatibilityListNothingTooltip,
+ }]
+ : string.Empty;
public int PlayerCount { get; set; }
public int GameCount { get; set; }
public TimeSpan TimePlayed { get; set; }
From 45992fc3fb38840832afabbe7884e99980f5d562 Mon Sep 17 00:00:00 2001
From: Evan Husted
Date: Wed, 5 Feb 2025 00:17:47 -0600
Subject: [PATCH 2/6] Use basic ToolTip setter
---
src/Ryujinx/UI/Controls/ApplicationListView.axaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/Ryujinx/UI/Controls/ApplicationListView.axaml b/src/Ryujinx/UI/Controls/ApplicationListView.axaml
index 2ebf0dfe59..733500338f 100644
--- a/src/Ryujinx/UI/Controls/ApplicationListView.axaml
+++ b/src/Ryujinx/UI/Controls/ApplicationListView.axaml
@@ -93,7 +93,8 @@
IsVisible="{Binding HasPlayabilityInfo}"
Background="{DynamicResource AppListBackgroundColor}"
Margin="-1, 0, 0, 0"
- Padding="0" >
+ Padding="0"
+ ToolTip.Tip="{Binding LocalizedStatusTooltip}">
-
-
-
Date: Wed, 5 Feb 2025 00:17:57 -0600
Subject: [PATCH 3/6] Add tooltip to ApplicationDataView
---
src/Ryujinx/UI/Controls/ApplicationDataView.axaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Ryujinx/UI/Controls/ApplicationDataView.axaml b/src/Ryujinx/UI/Controls/ApplicationDataView.axaml
index a18fec6566..45ae756394 100644
--- a/src/Ryujinx/UI/Controls/ApplicationDataView.axaml
+++ b/src/Ryujinx/UI/Controls/ApplicationDataView.axaml
@@ -41,13 +41,12 @@
HorizontalAlignment="Left"
Orientation="Vertical"
Spacing="5">
-
+