1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-12-29 10:56:01 +00:00

Mariko support

This commit is contained in:
flb 2021-05-24 16:32:32 +02:00
parent 82decb8ddb
commit f8fbc5d85a
9 changed files with 20 additions and 20 deletions

View file

@ -23,7 +23,7 @@ Copy the `aio-switch-updater/` directory to `/switch/` on your sdcard.
### ⬦ Update CFW ### ⬦ Update CFW
- Download the most popular Switch CFWs. After downloading the CFW archive, the program will ask you whether you want to override your existing .ini files. - Download the most popular Switch CFWs. After downloading the CFW archive, the program will ask you whether you want to override your existing .ini files.
- If you would like to preserve additional files or directories, write their path (one line each) in `/config/aio-switch-updater/preserve.txt` and they won't be overwritten when updating. - If you would like to preserve additional files or directories, write their path (one line each) in `/config/aio-switch-updater/preserve.txt` and they won't be overwritten when updating.
- Place [this file](https://github.com/HamletDuFromage/aio-switch-updater/blob/master/copy_files.json) in `/config/aio-switch-updater/copy_files.json` in order to have specific copy operations performed after each download. This is mainly meant for users with trinkets who want payloads automatically copied to a directory. - Place [this file](https://github.com/HamletDuFromage/aio-switch-updater/blob/master/copy_files.txt) in `/config/aio-switch-updater/copy_files.txt` in order to have specific copy operations performed after each download. This is mainly meant for users with trinkets who want payloads automatically copied to a directory.
### ⬦ Update Sigpatches ### ⬦ Update Sigpatches
- For Atmosphère. Downloads sigpatches, which are patches required for launching unofficial .NSPs. Both AMS and Hekate+AMS sigpatches are available. After downloading the sigpatches archive, the program will ask you whether you want to override your existing .ini files. - For Atmosphère. Downloads sigpatches, which are patches required for launching unofficial .NSPs. Both AMS and Hekate+AMS sigpatches are available. After downloading the sigpatches archive, the program will ask you whether you want to override your existing .ini files.

@ -1 +1 @@
Subproject commit 71b9c33fcb75754712941599837bbcddbd4525e4 Subproject commit b6d4c39ce7aa0052c8991b86c2546d13a18d823b

View file

@ -112,7 +112,7 @@
"download_firmware": "Firmwares runterladen", "download_firmware": "Firmwares runterladen",
"download_cheats": "Cheats runterladen", "download_cheats": "Cheats runterladen",
"tools": "Werkzeuge", "tools": "Werkzeuge",
"launch_warning": "Bitte beachten Sie die folgenden Punkte, bevor Sie die App verwenden:\n\n\ue016 Lesen Sie zuerst, wie Sie Ihren Switch manuell aktualisieren. Auf diese Weise können Sie die App besser verstehen und wissen, was zu tun ist, wenn etwas schief geht. \n\ue016 Bitte beachten Sie, dass die Verwendung dieser App (oder eines Homebrews) auf einer exFAT SD-Karte nicht empfohlen wird, da diese höchstwahrscheinlich im laufe der Zeit ihre Daten beschädigen wird.\n\nDieser Bildschirm wird nicht mehr angezeigt." "launch_warning": "Bitte beachten Sie die folgenden Punkte, bevor Sie die App verwenden:\n\n\ue016 Lesen Sie zuerst, wie Sie Ihren Switch manuell aktualisieren. Auf diese Weise können Sie die App besser verstehen und wissen, was zu tun ist, wenn etwas schief geht. \n\ue016 Bitte beachten Sie, dass die Verwendung dieser App (oder eines Homebrews) auf einer exFAT SD-Karte nicht empfohlen wird, da diese höchstwahrscheinlich im laufe der Zeit ihre Daten beschädigen wird.\n\ue016 Some new features and/or changes regarding current features may have been introduced. Please check them out via the Tools->Changelog menu.\n\nDieser Bildschirm wird nicht mehr angezeigt."
}, },
"hide": { "hide": {
"title": "Tabs verstecken", "title": "Tabs verstecken",
@ -133,7 +133,7 @@
"browser": "Web Browser", "browser": "Web Browser",
"batch_copy": "Massen Datei kopieren", "batch_copy": "Massen Datei kopieren",
"batch_copy_not_found": "Die folgenden Dateien wurden nicht gefunden und konnten nicht kopiert werden:\n", "batch_copy_not_found": "Die folgenden Dateien wurden nicht gefunden und konnten nicht kopiert werden:\n",
"batch_copy_config_not_found": "Dieses Tool erlaubt dir Dateien zu anderen Orten zu kopieren, was vielleicht für bootloader/trinket gebraucht wird. Lade copy_files.json von 'https://git.io/aiosu_copy_files' runter und pack es in deinen config Ordner. Wird auch nach Updates ausgeführt." "batch_copy_config_not_found": "Dieses Tool erlaubt dir Dateien zu anderen Orten zu kopieren, was vielleicht für bootloader/trinket gebraucht wird. Lade copy_files.txt von 'https://git.io/aiosu_copyfiles' runter und pack es in deinen config Ordner. Wird auch nach Updates ausgeführt."
}, },
"utils": { "utils": {
"fw_warning": "Wegen der größe der Firmwarearchive werden downloads im Applet Mode nicht unterstützt. Bitte öffne die App mit vollem RAM Zugriff.", "fw_warning": "Wegen der größe der Firmwarearchive werden downloads im Applet Mode nicht unterstützt. Bitte öffne die App mit vollem RAM Zugriff.",

View file

@ -114,7 +114,7 @@
"download_firmware": "Download firmwares", "download_firmware": "Download firmwares",
"download_cheats": "Download cheats", "download_cheats": "Download cheats",
"tools": "Tools", "tools": "Tools",
"launch_warning": "Please pay attention to the following points before using the app:\n\n\ue016 Read up on how to manually update your Switch first. This will help you understand the app better and you'll know what to do in case something goes wrong.\n\ue016 Please note that using this app (or any homebrew) on a exFAT SD card is not recommended, as those are more likely to corrupt.\n\nThis screen won't show again." "launch_warning": "Please pay attention to the following points before using the app:\n\n\ue016 Read up on how to manually update your Switch first. This will help you understand the app better and you'll know what to do in case something goes wrong.\n\ue016 Please note that using this app (or any homebrew) on a exFAT SD card is not recommended, as those are more likely to corrupt.\n\ue016 Some new features and/or changes regarding current features may have been introduced. Please check them out via the Tools->Changelog menu.\n\nThis screen won't show again."
}, },
"hide": { "hide": {
"title": "Hide tabs", "title": "Hide tabs",
@ -136,7 +136,7 @@
"browser": "Web Browser", "browser": "Web Browser",
"batch_copy": "Batch copy files", "batch_copy": "Batch copy files",
"batch_copy_not_found": "The following files were not found and couldn't be copied:\n", "batch_copy_not_found": "The following files were not found and couldn't be copied:\n",
"batch_copy_config_not_found": "This tool allows you to copy files to other locations, which may be needed for your bootloader/trinket. Grab copy_files.json at 'https://git.io/aiosu_copy_files' and add it to your config folder. This will also be performed after updates.", "batch_copy_config_not_found": "This tool allows you to copy files to other locations, which may be needed for your bootloader/trinket. Grab copy_files.txt at 'https://git.io/aiosu_copyfiles' and add it to your config folder. This will also be performed after updates.",
"language": "Change app language" "language": "Change app language"
}, },
"utils": { "utils": {

View file

@ -110,7 +110,7 @@
"download_firmware": "FWをダウンロード", "download_firmware": "FWをダウンロード",
"download_cheats": "チートをダウンロード", "download_cheats": "チートをダウンロード",
"tools": "ツール", "tools": "ツール",
"launch_warning": "アプリを使用する前に、次の点に注意してください:\n\n\ue016 最初にスイッチを手動で更新する方法を読んでください。これにより、アプリをよりよく理解し、問題が発生した場合の対処方法を知ることができます。\n\ue016 exFAT SDカードでこのアプリを使用することはお勧めできません。破損する可能性が高いためです。\n\nこの画面は二度と表示されません。" "launch_warning": "アプリを使用する前に、次の点に注意してください:\n\n\ue016 最初にスイッチを手動で更新する方法を読んでください。これにより、アプリをよりよく理解し、問題が発生した場合の対処方法を知ることができます。\n\ue016 exFAT SDカードでこのアプリを使用することはお勧めできません。破損する可能性が高いためです。\n\ue016 Some new features and/or changes regarding current features may have been introduced. Please check them out via the Tools->Changelog menu.\n\nこの画面は二度と表示されません。"
}, },
"hide": { "hide": {
"title": "タブを非表示", "title": "タブを非表示",
@ -131,7 +131,7 @@
"browser": "ウェブブラウザ", "browser": "ウェブブラウザ",
"batch_copy": "ファイルのバッチコピー", "batch_copy": "ファイルのバッチコピー",
"batch_copy_not_found": "次のファイルが見つからず、コピーできませんでした:\n", "batch_copy_not_found": "次のファイルが見つからず、コピーできませんでした:\n",
"batch_copy_config_not_found": "このツールを使用すると、bootloader/trinketに必要なファイルを他の場所にコピーできます。 'https://git.io/aiosu_copy_files'でcopy_files.jsonを取得し、configフォルダーに追加します。これは、更新後にも実行されます。" "batch_copy_config_not_found": "このツールを使用すると、bootloader/trinketに必要なファイルを他の場所にコピーできます。 'https://git.io/aiosu_copyfiles'でcopy_files.txtを取得し、configフォルダーに追加します。これは、更新後にも実行されます。"
}, },
"utils": { "utils": {
"fw_warning": "FWアーカイブのサイズが大きいため、アプレットモードでのファームウェアのダウンロードはサポートされていません。フルRAMアクセスでアプリを起動してください。", "fw_warning": "FWアーカイブのサイズが大きいため、アプレットモードでのファームウェアのダウンロードはサポートされていません。フルRAMアクセスでアプリを起動してください。",

View file

@ -114,7 +114,7 @@
"download_firmware": "Pobierz firmware", "download_firmware": "Pobierz firmware",
"download_cheats": "Pobierz cheaty", "download_cheats": "Pobierz cheaty",
"tools": "Narzędzia", "tools": "Narzędzia",
"launch_warning": "Zwróć uwagę na następujące punkty zanim skorzystasz z aplikacji:\n\n\ue016 Dowiedz się najpierw, jak ręcznie zaktualizować twojego Switcha. Pomoże ci to lepiej zrozumieć działanie aplikacji i będziesz wiedział co zrobić gdy coś pójdzie nie tak.\n\ue016 Pamiętaj, że używanie tej aplikacji (lub innych homebrew) na karcie SD z systemem plików exFAT nie jest zalecane, ponieważ ich zawartość ma większą podatność na uszkodzenia.\n\nTen ekran nie wyświetli się ponownie." "launch_warning": "Zwróć uwagę na następujące punkty zanim skorzystasz z aplikacji:\n\n\ue016 Dowiedz się najpierw, jak ręcznie zaktualizować twojego Switcha. Pomoże ci to lepiej zrozumieć działanie aplikacji i będziesz wiedział co zrobić gdy coś pójdzie nie tak.\n\ue016 Pamiętaj, że używanie tej aplikacji (lub innych homebrew) na karcie SD z systemem plików exFAT nie jest zalecane, ponieważ ich zawartość ma większą podatność na uszkodzenia.\n\ue016 Some new features and/or changes regarding current features may have been introduced. Please check them out via the Tools->Changelog menu.\n\nTen ekran nie wyświetli się ponownie."
}, },
"hide": { "hide": {
"title": "Ukryj zakładki", "title": "Ukryj zakładki",
@ -135,7 +135,7 @@
"browser": "Przeglądarka internetowa", "browser": "Przeglądarka internetowa",
"batch_copy": "Zbiorcza kopia plików", "batch_copy": "Zbiorcza kopia plików",
"batch_copy_not_found": "Poniższe pliki nie zostały znalezione i nie mogły zostać skopiowane:\n", "batch_copy_not_found": "Poniższe pliki nie zostały znalezione i nie mogły zostać skopiowane:\n",
"batch_copy_config_not_found": "To narzędzie pozwala na kopiowanie plików do innych lokalizacji, z których może korzystać twój bootloader/trinket. Pobierz copy_files.json z 'https://git.io/aiosu_copy_files' i wrzuć go do twojego folderu z konfiguracją. Operacja zostanie również wykonana po aktualizacjach.", "batch_copy_config_not_found": "To narzędzie pozwala na kopiowanie plików do innych lokalizacji, z których może korzystać twój bootloader/trinket. Pobierz copy_files.txt z 'https://git.io/aiosu_copyfiles' i wrzuć go do twojego folderu z konfiguracją. Operacja zostanie również wykonana po aktualizacjach.",
"language": "Zmień język aplikacji" "language": "Zmień język aplikacji"
}, },
"utils": { "utils": {

View file

@ -27,14 +27,14 @@
"sheet_content": "金手指代碼內容", "sheet_content": "金手指代碼內容",
"cheatslips_select": "選擇要下載金手指的遊戲", "cheatslips_select": "選擇要下載金手指的遊戲",
"cheatslips_wrong_id": "無法取得token請檢查輸入的帳號密碼是否正確", "cheatslips_wrong_id": "無法取得token請檢查輸入的帳號密碼是否正確",
"kb_error": "如果無法顯示虛擬鍵盤,請嘗試在能存取完整記憶體的普通模式下啟動本程式(title重新導向)", "kb_error": "如果無法顯示虛擬鍵盤,請嘗試在能存取完整記憶體的普通模式下啟動本程式(title重新導向)",
"cheatslips_see_more": "檢視完整代碼", "cheatslips_see_more": "檢視完整代碼",
"cheatslips_dl_cheats": "下載金手指後返回", "cheatslips_dl_cheats": "下載金手指後返回",
"bid_not_found": "無法取得build ID。當遊戲正在執行時請嘗試在applet模式內啟動aio-switch-updater", "bid_not_found": "無法取得build ID。當遊戲正在執行時請嘗試在applet模式內啟動aio-switch-updater",
"exclude_titles": "更新排除名單", "exclude_titles": "更新排除名單",
"exclude_titles_desc": "可以透過變更此設定來排除沒有安裝對應遊戲的金手指更新", "exclude_titles_desc": "可以透過變更此設定來排除沒有安裝對應遊戲的金手指更新",
"exclude_titles_save": "儲存變更並返回", "exclude_titles_save": "儲存變更並返回",
"dl_all": "下載gbatemp目前全部的金手指並個別解壓縮後歸檔存放" "dl_all": "下載gbatemp目前全部的金手指並個別解壓縮後歸檔存放"
}, },
"common": { "common": {
"downloading": "正在下載...", "downloading": "正在下載...",
@ -93,7 +93,7 @@
"getting": "正在擷取 ", "getting": "正在擷取 ",
"firmware_text": "\ue016 韌體檔案從'https://darthsternie.net/switch-firmwares/'進行轉存。當下載完成後,檔案會放置於資料夾'/firmware'內。你可以透過Daybreak或ChoiDuJour來安裝更新韌體。\n\ue016 目前FW: ", "firmware_text": "\ue016 韌體檔案從'https://darthsternie.net/switch-firmwares/'進行轉存。當下載完成後,檔案會放置於資料夾'/firmware'內。你可以透過Daybreak或ChoiDuJour來安裝更新韌體。\n\ue016 目前FW: ",
"cheats_text": "\uE016 下載'gbatemp.net'每日更新的金手指檔案到記憶卡時,並不會複製到主機未安裝的遊戲金手指檔案。你可以從設定的 '工具->金手指選單' 內停用金手指更新。\n\uE016 目前金手指資料庫版本: ", "cheats_text": "\uE016 下載'gbatemp.net'每日更新的金手指檔案到記憶卡時,並不會複製到主機未安裝的遊戲金手指檔案。你可以從設定的 '工具->金手指選單' 內停用金手指更新。\n\uE016 目前金手指資料庫版本: ",
"get_cheats": "下載GBAtemp.net金手指資料庫(版本 ", "get_cheats": "下載GBAtemp.net金手指資料庫(版本 ",
"sigpatches": "sigpatches", "sigpatches": "sigpatches",
"sigpatches_text": "\ue016 Sigpatches可讓你的Switch安裝並執行非官方的NSP檔案。請確認你安裝過程中使用合適的sigpatches(Pure Atmosphère或Hekate+Atmosphère)。安裝完成後請重新開機以套用更新", "sigpatches_text": "\ue016 Sigpatches可讓你的Switch安裝並執行非官方的NSP檔案。請確認你安裝過程中使用合適的sigpatches(Pure Atmosphère或Hekate+Atmosphère)。安裝完成後請重新開機以套用更新",
"firmware": "韌體", "firmware": "韌體",
@ -102,7 +102,7 @@
"app": "app", "app": "app",
"cfw": "CFW", "cfw": "CFW",
"ams": "Atmosphère", "ams": "Atmosphère",
"ams_text": "\ue016 請從清單進行選擇更新的項目你可以選擇包含可執行第三方自製程式韌體的Atmosphère。\n\ue016 DeepSea是由Team Neptune提供的CFW整合套件包括Atmosphère、hekate與數種第三方自製程式。", "ams_text": "\ue016 請從清單進行選擇更新的項目你可以選擇包含可執行第三方自製程式韌體的Atmosphère。\n\ue016 DeepSea是由Team Neptune提供的CFW整合套件包括Atmosphère、hekate與數種第三方自製程式。",
"cfw_text": "\ue016 備用CFWs、引導程序", "cfw_text": "\ue016 備用CFWs、引導程序",
"cheats": "金手指", "cheats": "金手指",
"links_not_found": "無法使用下載連結請檢查Switch是否可正常存取網路連線。\n如果網路正常仍無法使用請使用Github提出問題來進行回報", "links_not_found": "無法使用下載連結請檢查Switch是否可正常存取網路連線。\n如果網路正常仍無法使用請使用Github提出問題來進行回報",
@ -114,7 +114,7 @@
"download_firmware": "下載韌體", "download_firmware": "下載韌體",
"download_cheats": "下載金手指", "download_cheats": "下載金手指",
"tools": "工具", "tools": "工具",
"launch_warning": "在開始使用此app前請務必注意\n\n\ue016 請先閱讀有關如何手動更新Switch系統的文件協助你瞭解app提供的各項功能以及發生問題時如何排除。\n\ue016 請注意我們不建議在exFAT格式的記憶卡上使用此app (或其他任何第三方自製軟體),可能會因此產生錯誤或造成損害。\n\n此提醒畫面將不再顯示" "launch_warning": "在開始使用此app前請務必注意\n\n\ue016 請先閱讀有關如何手動更新Switch系統的文件協助你瞭解app提供的各項功能以及發生問題時如何排除。\n\ue016 請注意我們不建議在exFAT格式的記憶卡上使用此app (或其他任何第三方自製軟體),可能會因此產生錯誤或造成損害。\n\ue016 Some new features and/or changes regarding current features may have been introduced. Please check them out via the Tools->Changelog menu.\n\n此提醒畫面將不再顯示"
}, },
"hide": { "hide": {
"title": "隱藏分頁", "title": "隱藏分頁",
@ -135,7 +135,7 @@
"browser": "網路瀏覽器", "browser": "網路瀏覽器",
"batch_copy": "批次複製檔案", "batch_copy": "批次複製檔案",
"batch_copy_not_found": "列出的檔案已不在原先的位置,因此無法複製:\n", "batch_copy_not_found": "列出的檔案已不在原先的位置,因此無法複製:\n",
"batch_copy_config_not_found": "此功能可將檔案複製到其他儲存位置部分檔案路徑需要你的bootloader/trinket。請前往'https://git.io/aiosu_copy_files' 下載copy_files.json並複製到config資料夾內。更新後也將執行此操作。", "batch_copy_config_not_found": "此功能可將檔案複製到其他儲存位置部分檔案路徑需要你的bootloader/trinket。請前往'https://git.io/aiosu_copyfiles' 下載copy_files.txt並複製到config資料夾內。更新後也將執行此操作。",
"language": "變更介面語系" "language": "變更介面語系"
}, },
"utils": { "utils": {

View file

@ -34,7 +34,7 @@ AppPage::AppPage(const bool cheatSlips) : AppletFrame(true, true)
titles = fs::readLineByLine(UPDATED_TITLES_PATH); titles = fs::readLineByLine(UPDATED_TITLES_PATH);
if(!titles.empty() || cheatSlips){ if(!titles.empty() || cheatSlips) {
while (true) while (true)
{ {
rc = nsListApplicationRecord(&record, sizeof(record), i, &recordCount); rc = nsListApplicationRecord(&record, sizeof(record), i, &recordCount);

View file

@ -134,10 +134,10 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
changes.push_back("\uE016 Atmosphère 0.19+ support. Note that this version assumes your switch is running Atmosphère. I should fix this soon, but if you're on SXOS, please stay on 2.4.4."); changes.push_back("\uE016 Atmosphère 0.19+ support. Note that this version assumes your switch is running Atmosphère. I should fix this soon, but if you're on SXOS, please stay on 2.4.4.");
verTitles.push_back("v2.4.6"); verTitles.push_back("v2.4.6");
changes.push_back("\uE016 Added back support for SXOS. \uE016 Removed dialogue asking to update Hekate if downloading DeepSea.\uE016 Fixed incorrect description in inject payload menu."); changes.push_back("\uE016 Added back support for SXOS.\n\uE016 Removed dialogue asking to update Hekate if downloading DeepSea.\n\uE016 Fixed incorrect description in inject payload menu.");
verTitles.push_back("v2.4.7"); verTitles.push_back("v2.4.7");
changes.push_back("\uE016 Fixed app only working on 0.19 AMS.\uE016 Proper replacement of stratosphere.romfs when updating."); changes.push_back("\uE016 Fixed app only working on 0.19 AMS.\n\uE016 Proper replacement of stratosphere.romfs when updating.");
verTitles.push_back("v2.4.8"); verTitles.push_back("v2.4.8");
changes.push_back("\uE016 Fixed crashes when trying to focus empty lists (typically when in airplane mode)."); changes.push_back("\uE016 Fixed crashes when trying to focus empty lists (typically when in airplane mode).");
@ -146,7 +146,7 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
changes.push_back("\uE016 Fixed some read-only files not being properly extracted thus preventing updating."); changes.push_back("\uE016 Fixed some read-only files not being properly extracted thus preventing updating.");
verTitles.push_back("v2.5.0"); verTitles.push_back("v2.5.0");
changes.push_back("\uE016 Added ability to update Atmosphère for Mariko (ie patched) switches."); changes.push_back("\uE016 Added ability to update Atmosphère for Mariko (ie patched) Switches. Thanks to SkyDark for testing it out.\n\uE016 Fixed batch copy to be able to copy the same file multiple times (see https://git.io/aiosu_copyfiles).");
for(int i = verTitles.size() -1 ; i >= 0; i--){ for(int i = verTitles.size() -1 ; i >= 0; i--){
listItem = new brls::ListItem(verTitles[i]); listItem = new brls::ListItem(verTitles[i]);