Compare commits

..

2 Commits

Author SHA1 Message Date
Evan Husted
384416953d docs: compat: list title ID column first 2025-01-08 12:30:13 -06:00
Evan Husted
1343fabe41 docs: compat: some more missing title ids 2025-01-08 12:20:20 -06:00
3 changed files with 3449 additions and 3453 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -10435,7 +10435,7 @@
"it_IT": "Finestra di input",
"ja_JP": "入力ダイアログ",
"ko_KR": "대화 상자 입력",
"no_NO": "Dialogboksen Inndata",
"no_NO": "",
"pl_PL": "Okno Dialogowe Wprowadzania",
"pt_BR": "Diálogo de texto",
"ru_RU": "Диалоговое окно ввода",
@@ -22610,7 +22610,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Denne kompatibilitetslisten kan inneholde oppføringer som er tomme for data.\nVær ikke imot å teste spill i statusen «Ingame».",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22635,7 +22635,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Søk i kompatibilitetsoppføringer...",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22660,7 +22660,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Åpne kompatibilitetslisten",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22685,7 +22685,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Vis bare eide spill",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22710,7 +22710,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Spillbar",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22760,7 +22760,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Menyer",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22785,7 +22785,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Starter",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22810,7 +22810,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "Ingenting",
"no_NO": "",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22823,4 +22823,4 @@
}
}
]
}
}

View File

@@ -36,19 +36,15 @@ namespace Ryujinx.Ava.Utilities.Compat
if (row.ColCount != header.ColNames.Count)
throw new InvalidDataException($"CSV row {row.RowIndex} ({row.ToString()}) has mismatched column count");
var titleIdRow = ColStr(row[header.IndexOf("\"extracted_game_id\"")]);
var titleIdRow = ColStr(row[header.IndexOf("\"title_id\"")]);
TitleId = !string.IsNullOrEmpty(titleIdRow)
? titleIdRow
: default(Optional<string>);
GameName = ColStr(row[header.IndexOf("\"game_name\"")]).Trim().Trim('"');
var issueTitleRow = ColStr(row[header.IndexOf("\"issue_title\"")]);
if (TitleId.HasValue)
issueTitleRow = issueTitleRow.ReplaceIgnoreCase($" - {TitleId}", string.Empty);
GameName = issueTitleRow.Trim().Trim('"');
IssueLabels = ColStr(row[header.IndexOf("\"issue_labels\"")]).Split(';');
Status = ColStr(row[header.IndexOf("\"extracted_status\"")]).ToLower() switch
IssueLabels = ColStr(row[header.IndexOf("\"labels\"")]).Split(';');
Status = ColStr(row[header.IndexOf("\"status\"")]).ToLower() switch
{
"playable" => LocaleKeys.CompatibilityListPlayable,
"ingame" => LocaleKeys.CompatibilityListIngame,
@@ -58,7 +54,7 @@ namespace Ryujinx.Ava.Utilities.Compat
_ => null
};
if (DateTime.TryParse(ColStr(row[header.IndexOf("\"last_event_date\"")]), out var dt))
if (DateTime.TryParse(ColStr(row[header.IndexOf("\"last_updated\"")]), out var dt))
LastEvent = dt;
return;