Compare commits

...

4 commits

Author SHA1 Message Date
sunshineinabox
16e064a909
Merge cb3d6a93f3 into 8e00cb5232 2024-12-16 17:46:57 +01:00
GabCoolGuy
8e00cb5232
UI: Add faq, setup and multiplayer guides to the Help dropdown (#383)
Some checks failed
Canary release job / Create tag (push) Has been cancelled
Canary release job / Release for linux-arm64 (push) Has been cancelled
Canary release job / Release for linux-x64 (push) Has been cancelled
Canary release job / Release for win-x64 (push) Has been cancelled
Canary release job / Release MacOS universal (push) Has been cancelled
2024-12-15 10:45:37 -06:00
sunshineinabox
cb3d6a93f3 Some missed changes that resolve compilation error 2024-12-02 23:41:20 -06:00
sunshineinabox
b58e353a55 Resolve Image Usage Validation Error 2024-12-02 23:41:20 -06:00
25 changed files with 168 additions and 14 deletions

View file

@ -148,7 +148,7 @@ namespace Ryujinx.Graphics.Vulkan
return (formatFeatureFlags & flags) == flags; return (formatFeatureFlags & flags) == flags;
} }
public VkFormat ConvertToVkFormat(Format srcFormat) public VkFormat ConvertToVkFormat(Format srcFormat, bool storageFeatureFlagRequired)
{ {
var format = FormatTable.GetFormat(srcFormat); var format = FormatTable.GetFormat(srcFormat);
@ -165,7 +165,7 @@ namespace Ryujinx.Graphics.Vulkan
requiredFeatures |= FormatFeatureFlags.ColorAttachmentBit; requiredFeatures |= FormatFeatureFlags.ColorAttachmentBit;
} }
if (srcFormat.IsImageCompatible()) if (srcFormat.IsImageCompatible() && storageFeatureFlagRequired)
{ {
requiredFeatures |= FormatFeatureFlags.StorageImageBit; requiredFeatures |= FormatFeatureFlags.StorageImageBit;
} }

View file

@ -29,11 +29,17 @@ namespace Ryujinx.Graphics.Vulkan
int colorCount = 0; int colorCount = 0;
int maxColorAttachmentIndex = -1; int maxColorAttachmentIndex = -1;
bool isNotMsOrSupportsStorage = gd.Capabilities.SupportsShaderStorageImageMultisample ||
!state.DepthStencilFormat.IsImageCompatible();
for (int i = 0; i < state.AttachmentEnable.Length; i++) for (int i = 0; i < state.AttachmentEnable.Length; i++)
{ {
if (state.AttachmentEnable[i]) if (state.AttachmentEnable[i])
{ {
attachmentFormats[attachmentCount] = gd.FormatCapabilities.ConvertToVkFormat(state.AttachmentFormats[i]); bool isNotMsOrSupportsStorageAttachments = gd.Capabilities.SupportsShaderStorageImageMultisample ||
!state.AttachmentFormats[i].IsImageCompatible();
attachmentFormats[attachmentCount] = gd.FormatCapabilities.ConvertToVkFormat(state.AttachmentFormats[i], isNotMsOrSupportsStorageAttachments);
attachmentIndices[attachmentCount++] = i; attachmentIndices[attachmentCount++] = i;
colorCount++; colorCount++;
@ -43,7 +49,7 @@ namespace Ryujinx.Graphics.Vulkan
if (state.DepthStencilEnable) if (state.DepthStencilEnable)
{ {
attachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.DepthStencilFormat); attachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.DepthStencilFormat, isNotMsOrSupportsStorage);
} }
if (attachmentCount != 0) if (attachmentCount != 0)
@ -296,7 +302,10 @@ namespace Ryujinx.Graphics.Vulkan
{ {
if (state.AttachmentEnable[i]) if (state.AttachmentEnable[i])
{ {
pipeline.Internal.AttachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.AttachmentFormats[i]); bool isNotMsOrSupportsStorage = gd.Capabilities.SupportsShaderStorageImageMultisample ||
!state.AttachmentFormats[i].IsImageCompatible();
pipeline.Internal.AttachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.AttachmentFormats[i], isNotMsOrSupportsStorage);
maxColorAttachmentIndex = i; maxColorAttachmentIndex = i;
if (state.AttachmentFormats[i].IsInteger()) if (state.AttachmentFormats[i].IsInteger())
@ -310,7 +319,10 @@ namespace Ryujinx.Graphics.Vulkan
if (state.DepthStencilEnable) if (state.DepthStencilEnable)
{ {
pipeline.Internal.AttachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.DepthStencilFormat); bool isNotMsOrSupportsStorage = !state.DepthStencilFormat.IsImageCompatible() ||
gd.Capabilities.SupportsShaderStorageImageMultisample;
pipeline.Internal.AttachmentFormats[attachmentCount++] = gd.FormatCapabilities.ConvertToVkFormat(state.DepthStencilFormat, isNotMsOrSupportsStorage);
} }
pipeline.ColorBlendAttachmentStateCount = (uint)(maxColorAttachmentIndex + 1); pipeline.ColorBlendAttachmentStateCount = (uint)(maxColorAttachmentIndex + 1);

View file

@ -77,7 +77,9 @@ namespace Ryujinx.Graphics.Vulkan
_device = device; _device = device;
_info = info; _info = info;
var format = _gd.FormatCapabilities.ConvertToVkFormat(info.Format); bool isMsImageStorageSupported = gd.Capabilities.SupportsShaderStorageImageMultisample || !info.Target.IsMultisample();
var format = _gd.FormatCapabilities.ConvertToVkFormat(info.Format, isMsImageStorageSupported);
var levels = (uint)info.Levels; var levels = (uint)info.Levels;
var layers = (uint)info.GetLayers(); var layers = (uint)info.GetLayers();
var depth = (uint)(info.Target == Target.Texture3D ? info.Depth : 1); var depth = (uint)(info.Target == Target.Texture3D ? info.Depth : 1);
@ -91,7 +93,7 @@ namespace Ryujinx.Graphics.Vulkan
var sampleCountFlags = ConvertToSampleCountFlags(gd.Capabilities.SupportedSampleCounts, (uint)info.Samples); var sampleCountFlags = ConvertToSampleCountFlags(gd.Capabilities.SupportedSampleCounts, (uint)info.Samples);
var usage = GetImageUsage(info.Format, info.Target, gd.Capabilities); var usage = GetImageUsage(info.Format, gd.Capabilities, isMsImageStorageSupported, true);
var flags = ImageCreateFlags.CreateMutableFormatBit | ImageCreateFlags.CreateExtendedUsageBit; var flags = ImageCreateFlags.CreateMutableFormatBit | ImageCreateFlags.CreateExtendedUsageBit;
@ -305,7 +307,7 @@ namespace Ryujinx.Graphics.Vulkan
} }
} }
public static ImageUsageFlags GetImageUsage(Format format, Target target, in HardwareCapabilities capabilities) public static ImageUsageFlags GetImageUsage(Format format, in HardwareCapabilities capabilities, bool isMsImageStorageSupported, bool extendedUsage)
{ {
var usage = DefaultUsageFlags; var usage = DefaultUsageFlags;
@ -318,9 +320,7 @@ namespace Ryujinx.Graphics.Vulkan
usage |= ImageUsageFlags.ColorAttachmentBit; usage |= ImageUsageFlags.ColorAttachmentBit;
} }
bool supportsMsStorage = capabilities.SupportsShaderStorageImageMultisample; if ((format.IsImageCompatible() && isMsImageStorageSupported) || extendedUsage)
if (format.IsImageCompatible() && (supportsMsStorage || !target.IsMultisample()))
{ {
usage |= ImageUsageFlags.StorageBit; usage |= ImageUsageFlags.StorageBit;
} }

View file

@ -61,8 +61,11 @@ namespace Ryujinx.Graphics.Vulkan
gd.Textures.Add(this); gd.Textures.Add(this);
var format = _gd.FormatCapabilities.ConvertToVkFormat(info.Format); bool isMsImageStorageSupported = gd.Capabilities.SupportsShaderStorageImageMultisample || !info.Target.IsMultisample();
var usage = TextureStorage.GetImageUsage(info.Format, info.Target, gd.Capabilities);
var format = _gd.FormatCapabilities.ConvertToVkFormat(info.Format, isMsImageStorageSupported);
var usage = TextureStorage.GetImageUsage(info.Format, gd.Capabilities, isMsImageStorageSupported, false);
var levels = (uint)info.Levels; var levels = (uint)info.Levels;
var layers = (uint)info.GetLayers(); var layers = (uint)info.GetLayers();

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_مساعدة", "MenuBarHelp": "_مساعدة",
"MenuBarHelpCheckForUpdates": "تحقق من التحديثات", "MenuBarHelpCheckForUpdates": "تحقق من التحديثات",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "حول", "MenuBarHelpAbout": "حول",
"MenuSearch": "بحث...", "MenuSearch": "بحث...",
"GameListHeaderFavorite": "مفضلة", "GameListHeaderFavorite": "مفضلة",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Hilfe", "MenuBarHelp": "_Hilfe",
"MenuBarHelpCheckForUpdates": "Nach Updates suchen", "MenuBarHelpCheckForUpdates": "Nach Updates suchen",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Über Ryujinx", "MenuBarHelpAbout": "Über Ryujinx",
"MenuSearch": "Suchen...", "MenuSearch": "Suchen...",
"GameListHeaderFavorite": "Favorit", "GameListHeaderFavorite": "Favorit",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Βοήθεια", "MenuBarHelp": "_Βοήθεια",
"MenuBarHelpCheckForUpdates": "Έλεγχος για Ενημερώσεις", "MenuBarHelpCheckForUpdates": "Έλεγχος για Ενημερώσεις",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Σχετικά με", "MenuBarHelpAbout": "Σχετικά με",
"MenuSearch": "Αναζήτηση...", "MenuSearch": "Αναζήτηση...",
"GameListHeaderFavorite": "Αγαπημένο", "GameListHeaderFavorite": "Αγαπημένο",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Help", "MenuBarHelp": "_Help",
"MenuBarHelpCheckForUpdates": "Check for Updates", "MenuBarHelpCheckForUpdates": "Check for Updates",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "About", "MenuBarHelpAbout": "About",
"MenuSearch": "Search...", "MenuSearch": "Search...",
"GameListHeaderFavorite": "Fav", "GameListHeaderFavorite": "Fav",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Ayuda", "MenuBarHelp": "_Ayuda",
"MenuBarHelpCheckForUpdates": "Buscar actualizaciones", "MenuBarHelpCheckForUpdates": "Buscar actualizaciones",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Acerca de", "MenuBarHelpAbout": "Acerca de",
"MenuSearch": "Buscar...", "MenuSearch": "Buscar...",
"GameListHeaderFavorite": "Favoritos", "GameListHeaderFavorite": "Favoritos",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Aide", "MenuBarHelp": "_Aide",
"MenuBarHelpCheckForUpdates": "Vérifier les mises à jour", "MenuBarHelpCheckForUpdates": "Vérifier les mises à jour",
"MenuBarHelpFaq": "Page de FAQ et de dépannage",
"MenuBarHelpFaqTooltip": "Ouvre la page de FAQ et de dépannage sur le wiki officiel de Ryujinx",
"MenuBarHelpSetup": "Guide d'Installation et de Configuration",
"MenuBarHelpSetupTooltip": "Ouvre le guide d'installation et de configuration sur le wiki officiel de Ryujinx",
"MenuBarHelpMultiplayer": "Guide Multijoueur (LDN/LAN)",
"MenuBarHelpMultiplayerTooltip": "Ouvre le guide de Multijoueur sur le wiki officiel de Ryujinx",
"MenuBarHelpAbout": "À propos", "MenuBarHelpAbout": "À propos",
"MenuSearch": "Rechercher...", "MenuSearch": "Rechercher...",
"GameListHeaderFavorite": "Favoris", "GameListHeaderFavorite": "Favoris",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_עזרה", "MenuBarHelp": "_עזרה",
"MenuBarHelpCheckForUpdates": "חפש עדכונים", "MenuBarHelpCheckForUpdates": "חפש עדכונים",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "אודות", "MenuBarHelpAbout": "אודות",
"MenuSearch": "חפש...", "MenuSearch": "חפש...",
"GameListHeaderFavorite": "אהוב", "GameListHeaderFavorite": "אהוב",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Aiuto", "MenuBarHelp": "_Aiuto",
"MenuBarHelpCheckForUpdates": "Controlla aggiornamenti", "MenuBarHelpCheckForUpdates": "Controlla aggiornamenti",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Informazioni", "MenuBarHelpAbout": "Informazioni",
"MenuSearch": "Cerca...", "MenuSearch": "Cerca...",
"GameListHeaderFavorite": "Preferito", "GameListHeaderFavorite": "Preferito",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "ヘルプ(_H)", "MenuBarHelp": "ヘルプ(_H)",
"MenuBarHelpCheckForUpdates": "アップデートを確認", "MenuBarHelpCheckForUpdates": "アップデートを確認",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Ryujinx について", "MenuBarHelpAbout": "Ryujinx について",
"MenuSearch": "検索...", "MenuSearch": "検索...",
"GameListHeaderFavorite": "お気に入り", "GameListHeaderFavorite": "お気に入り",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "도움말(_H)", "MenuBarHelp": "도움말(_H)",
"MenuBarHelpCheckForUpdates": "업데이트 확인", "MenuBarHelpCheckForUpdates": "업데이트 확인",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "정보", "MenuBarHelpAbout": "정보",
"MenuSearch": "찾기...", "MenuSearch": "찾기...",
"GameListHeaderFavorite": "즐겨찾기", "GameListHeaderFavorite": "즐겨찾기",

View file

@ -37,6 +37,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Hjelp", "MenuBarHelp": "_Hjelp",
"MenuBarHelpCheckForUpdates": "Se etter oppdateringer", "MenuBarHelpCheckForUpdates": "Se etter oppdateringer",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Om", "MenuBarHelpAbout": "Om",
"MenuSearch": "Søk ...", "MenuSearch": "Søk ...",
"GameListHeaderFavorite": "Fav", "GameListHeaderFavorite": "Fav",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Pomoc", "MenuBarHelp": "_Pomoc",
"MenuBarHelpCheckForUpdates": "Sprawdź aktualizacje", "MenuBarHelpCheckForUpdates": "Sprawdź aktualizacje",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "O programie", "MenuBarHelpAbout": "O programie",
"MenuSearch": "Wyszukaj...", "MenuSearch": "Wyszukaj...",
"GameListHeaderFavorite": "Ulubione", "GameListHeaderFavorite": "Ulubione",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Ajuda", "MenuBarHelp": "_Ajuda",
"MenuBarHelpCheckForUpdates": "_Verificar se há atualizações", "MenuBarHelpCheckForUpdates": "_Verificar se há atualizações",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "_Sobre", "MenuBarHelpAbout": "_Sobre",
"MenuSearch": "Buscar...", "MenuSearch": "Buscar...",
"GameListHeaderFavorite": "Favorito", "GameListHeaderFavorite": "Favorito",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Помощь", "MenuBarHelp": "_Помощь",
"MenuBarHelpCheckForUpdates": "Проверить наличие обновлений", "MenuBarHelpCheckForUpdates": "Проверить наличие обновлений",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "О программе", "MenuBarHelpAbout": "О программе",
"MenuSearch": "Поиск...", "MenuSearch": "Поиск...",
"GameListHeaderFavorite": "Избранное", "GameListHeaderFavorite": "Избранное",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_ช่วยเหลือ", "MenuBarHelp": "_ช่วยเหลือ",
"MenuBarHelpCheckForUpdates": "ตรวจสอบอัปเดต", "MenuBarHelpCheckForUpdates": "ตรวจสอบอัปเดต",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "เกี่ยวกับ", "MenuBarHelpAbout": "เกี่ยวกับ",
"MenuSearch": "กำลังค้นหา...", "MenuSearch": "กำลังค้นหา...",
"GameListHeaderFavorite": "ชื่นชอบ", "GameListHeaderFavorite": "ชื่นชอบ",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Yardım", "MenuBarHelp": "_Yardım",
"MenuBarHelpCheckForUpdates": "Güncellemeleri Denetle", "MenuBarHelpCheckForUpdates": "Güncellemeleri Denetle",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Hakkında", "MenuBarHelpAbout": "Hakkında",
"MenuSearch": "Ara...", "MenuSearch": "Ara...",
"GameListHeaderFavorite": "Favori", "GameListHeaderFavorite": "Favori",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "_Допомога", "MenuBarHelp": "_Допомога",
"MenuBarHelpCheckForUpdates": "Перевірити оновлення", "MenuBarHelpCheckForUpdates": "Перевірити оновлення",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "Про застосунок", "MenuBarHelpAbout": "Про застосунок",
"MenuSearch": "Пошук...", "MenuSearch": "Пошук...",
"GameListHeaderFavorite": "Обране", "GameListHeaderFavorite": "Обране",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "帮助(_H)", "MenuBarHelp": "帮助(_H)",
"MenuBarHelpCheckForUpdates": "检查更新", "MenuBarHelpCheckForUpdates": "检查更新",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "关于", "MenuBarHelpAbout": "关于",
"MenuSearch": "搜索…", "MenuSearch": "搜索…",
"GameListHeaderFavorite": "收藏", "GameListHeaderFavorite": "收藏",

View file

@ -44,6 +44,12 @@
"MenuBarViewWindow1080": "1080p", "MenuBarViewWindow1080": "1080p",
"MenuBarHelp": "說明(_H)", "MenuBarHelp": "說明(_H)",
"MenuBarHelpCheckForUpdates": "檢查更新", "MenuBarHelpCheckForUpdates": "檢查更新",
"MenuBarHelpFaq": "FAQ & Troubleshooting Page",
"MenuBarHelpFaqTooltip": "Opens the FAQ and Troubleshooting page on the official Ryujinx wiki",
"MenuBarHelpSetup": "Setup & Configuration Guide",
"MenuBarHelpSetupTooltip": "Opens the Setup & Configuration guide on the official Ryujinx wiki",
"MenuBarHelpMultiplayer": "Multiplayer (LDN/LAN) Guide",
"MenuBarHelpMultiplayerTooltip": "Opens the Multiplayer guide on the official Ryujinx wiki",
"MenuBarHelpAbout": "關於", "MenuBarHelpAbout": "關於",
"MenuSearch": "搜尋...", "MenuSearch": "搜尋...",
"GameListHeaderFavorite": "我的最愛", "GameListHeaderFavorite": "我的最愛",

View file

@ -290,6 +290,25 @@
Icon="{ext:Icon mdi-update}" Icon="{ext:Icon mdi-update}"
ToolTip.Tip="{ext:Locale CheckUpdatesTooltip}" /> ToolTip.Tip="{ext:Locale CheckUpdatesTooltip}" />
<Separator /> <Separator />
<MenuItem
Click="MenuItem_OnClick"
Header="{ext:Locale MenuBarHelpFaq}"
Icon="{ext:Icon fa-github}"
Tag="https://github.com/GreemDev/Ryujinx/wiki/FAQ-and-Troubleshooting"
ToolTip.Tip="{ext:Locale MenuBarHelpFaqTooltip}" />
<MenuItem
Click="MenuItem_OnClick"
Header="{ext:Locale MenuBarHelpSetup}"
Icon="{ext:Icon fa-github}"
Tag="https://github.com/GreemDev/Ryujinx/wiki/Ryujinx-Setup-&amp;-Configuration-Guide"
ToolTip.Tip="{ext:Locale MenuBarHelpSetupTooltip}" />
<MenuItem
Click="MenuItem_OnClick"
Header="{ext:Locale MenuBarHelpMultiplayer}"
Icon="{ext:Icon fa-github}"
Tag="https://github.com/GreemDev/Ryujinx/wiki/Multiplayer%E2%80%90(LDN%E2%80%90Local%E2%80%90Wireless)%E2%80%90Guide"
ToolTip.Tip="{ext:Locale MenuBarHelpMultiplayerTooltip}" />
<Separator />
<MenuItem <MenuItem
Click="OpenAboutWindow" Click="OpenAboutWindow"
Header="{ext:Locale MenuBarHelpAbout}" Header="{ext:Locale MenuBarHelpAbout}"

View file

@ -222,6 +222,12 @@ namespace Ryujinx.Ava.UI.Views.Main
await Updater.BeginUpdateAsync(true); await Updater.BeginUpdateAsync(true);
} }
private void MenuItem_OnClick(object sender, RoutedEventArgs e)
{
if (sender is MenuItem { Tag: string url })
OpenHelper.OpenUrl(url);
}
public async void OpenXCITrimmerWindow(object sender, RoutedEventArgs e) => await XCITrimmerWindow.Show(ViewModel); public async void OpenXCITrimmerWindow(object sender, RoutedEventArgs e) => await XCITrimmerWindow.Show(ViewModel);
public async void OpenAboutWindow(object sender, RoutedEventArgs e) => await AboutWindow.Show(); public async void OpenAboutWindow(object sender, RoutedEventArgs e) => await AboutWindow.Show();