mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
Changes:
* Updated DIOS MIOS (Lite) detection up to v2.11 * Homebrew's AddBootArgument() function now accepts struct as arguments (Thanks Fix94) Nintendont : * Always delete previous nincfg.bin file when launching a game. * Added Argument Booting method for nintendont v1.98+ (faster booting, no nincfg.bin file written to device) * Added "Update Nintendont" option in features menu. Issue 2260
This commit is contained in:
parent
46525c016e
commit
0cb0b7537f
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>3.0 r1228</version>
|
||||
<release_date>20140712125119</release_date>
|
||||
<version>3.0 r1229</version>
|
||||
<release_date>20140714161827</release_date>
|
||||
<!-- // remove this line to enable arguments
|
||||
<arguments>
|
||||
<arg>--ios=250</arg>
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: David Jelinek (djelinek@hotmail.com) e->e,r->r,u->u, c->c \n"
|
||||
"Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Prejete si synchronizovat informace o volných sektorech na vsech FAT 32 oddílech?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Prejete si zaktualizovat vsechny jazykové soubory?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Aktualizace DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Zaktualizuj soubory"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Cesta pro aktualizaci"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Fox888[dk]\n"
|
||||
"Language-Team: [dk]\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Vil du synkronisere fri plads info sector på alle FAT32 Partitioner?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Skal alle sprogfiler opdateres/downloades?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Opdatér DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Opdatér filer"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Sti til opdateringer"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -691,6 +691,9 @@ msgstr "Wil je het spel nu starten?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Wil je de vrije ruimte informatie sector synchroniseren op alle FAT32 partities?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Wil je alle taalbestanden updaten/downloaden?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOL updaten"
|
||||
msgid "Update Files"
|
||||
msgstr "Bestanden Updaten"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Updatelocatie"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr ""
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr ""
|
||||
msgid "Update Files"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr ""
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: c64rmx\n"
|
||||
"Language-Team: \n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Haluatko päivittää/ladata kaikki kielitiedostot?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Päivitä DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Päivitä tiedostot"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Päivityspolku"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Cyan\n"
|
||||
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
|
||||
@ -691,6 +691,9 @@ msgstr "Voulez-vous démarrer le jeu maintenant ?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Voulez-vous synchroniser l'information d'espace libre disponible sur toutes les partitions FAT32 ?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr "Voulez-vous mettre à jour ce fichier ?"
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Voulez-vous actualiser/télécharger tous les fichiers langue ?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOL seul"
|
||||
msgid "Update Files"
|
||||
msgstr "MàJ Fichiers"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Dossier de mise à jour"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2010-07-03 17:35-0800\n"
|
||||
"Last-Translator: TheRealVisitor\n"
|
||||
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
|
||||
@ -691,6 +691,9 @@ msgstr "Soll ein neues Spiel gestartet werden?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Soll die freier Speicher Info auf allen Partitionen synchronisiert werden?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Alle Sprachdateien aktualisieren?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Nur DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Aktualisieren"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Updates"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"Last-Translator: nakata6790\n"
|
||||
"Language-Team: nakata6790 (aka0107@gmail.com)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -690,6 +690,9 @@ msgstr "ÈÝëåôå íá åêêéíÞóåôå ôï ðñüãñáììá ôþñá;
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "ÈÝëåôå íá óõã÷ñïíßóåôå ôïí êåíü ÷þñï áðü üëá ôá FAT32 partitions;"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "ÈÝëåôå íá áíáâáèìßóåôå/êáôåâÜóåôå üëá ôá áñ÷åßá ìåôáöñÜóåùí;"
|
||||
|
||||
@ -2103,6 +2106,9 @@ msgstr "ÁíáâÜèìéóç DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "ÁíáâÜèìéóç áñ÷åßùí"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "ÌïíïðÜôé áñ÷åßùí áíáâÜèìéóçò."
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-12-29 11:05+0100\n"
|
||||
"Last-Translator: Springdale\n"
|
||||
"Language-Team: Tusk, Springdale\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Minden nyelvi fájl letöltése/frissítése?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOL Frissítése"
|
||||
msgid "Update Files"
|
||||
msgstr "Fájlok frissítése"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Frissítés Útvonala"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2011-09-11 12:19+0100\n"
|
||||
"Last-Translator: xFede\n"
|
||||
"Language-Team: xFede (fedeanto11@gmail.com)\n"
|
||||
@ -691,6 +691,9 @@ msgstr "Vuoi avviare il gioco ora?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Vuoi sincronizzare le info sullo spazio libero in tutte le partizioni FAT32?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Vuoi scaricare/aggiornare tutte le traduzioni?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Aggiorna DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Aggiorna i file"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Percorso degli agg."
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: hosigumayuugi\n"
|
||||
"Language-Team: hosigumayuugi\n"
|
||||
@ -691,6 +691,9 @@ msgstr "ゲームを起動しますか?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "全てのFAT32領域のセクタで空き容量情報を同期しますか?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "すべての言語をダウンロードしますか?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOLのみ"
|
||||
msgid "Update Files"
|
||||
msgstr "すべて更新"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "GXのdol"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: nextos@korea.com\n"
|
||||
"Language-Team: \n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "정말로 모든 언어화일을 업데이트하고 다운로드 할까요?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOL 업데이트"
|
||||
msgid "Update Files"
|
||||
msgstr "화일 업데이트"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "업데이트 경로"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: raschi\n"
|
||||
"Language-Team: raschi\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Vil du synkronisere ledig plass info sektor på alle FAT32 partisjoner?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Vil du oppdatere/laste ned alle språkfiler?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Oppdater DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Oppdater filer"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Oppdatering sti"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
|
||||
"Language-Team: \n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Zaktualizowac wszystkie pliki jezykowe?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Zaktualizuj Dol"
|
||||
msgid "Update Files"
|
||||
msgstr "Zaktualizuj pliki"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Sciezka aktualizacji"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-23 18:52+0200\n"
|
||||
"Last-Translator: aniemotion\n"
|
||||
"Language-Team: boto12, aniemotion\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Deseja atualizar todos os arquivos de idioma?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Atualizar DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Atualizar arquivos"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Pasta Atualizações"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2011-11-03 11:00+0000\n"
|
||||
"Last-Translator: pplucky <pplucky@gmail.com>\n"
|
||||
"Language-Team: Sky8000, pplucky\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "Deseja sincronizar a info de espaço livre em todas as partições FAT32?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Queres actualizar todos os ficheiros de idioma?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Actualizar DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Actualizar ficheiros"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Cam. Actualização"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: nikolai_ca\n"
|
||||
"Language-Team: Kir, alendit, nikolai_ca\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Вы действительно хотите обновить/загрузить все языковые файлы?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Обновить DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Обновить файлы"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Путь к обновлениям"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2013-08-13 07:03+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: oCameLo\n"
|
||||
@ -691,6 +691,9 @@ msgstr "是否立刻开始游戏?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "是否同步剩余空间信息扇区到所有 FAT32 分区?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "升级/下载语言文件?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "仅升级主程序"
|
||||
msgid "Update Files"
|
||||
msgstr "升级文件"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "升级文件存放路径"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2011-07-25 16:40+0200\n"
|
||||
"Last-Translator: Galen/xFede\n"
|
||||
"Language-Team: Penn, SirPalax, hvy109\n"
|
||||
@ -691,6 +691,9 @@ msgstr "¿Quieres comenzar el juego ahora?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "¿Quieres sincronizar el sector de información de espacio libre en todas las particiones FAT32?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "¿Quieres actualizar/descargar todos los archivos de idiomas?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Actualizar DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Actual. archivos"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Ruta Actualización"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2010-01-19 17:39+0200\n"
|
||||
"Last-Translator: Katsurou\n"
|
||||
"Language-Team: Katsurou, pirateX\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Vill du uppdatera/ladda ner alla språkfiler?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "Updatera DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "Uppdatera Filer"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Sökväg till uppdatering"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2010-02-15 21:00+0800\n"
|
||||
"Last-Translator: Jane.H\n"
|
||||
"Language-Team: kyogc, Miller, Mika Li, Jane.H\n"
|
||||
@ -691,6 +691,9 @@ msgstr "是否現在要開始遊戲?"
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr "是否要同步所有FAT32分區可用空間資訊?"
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "是否要更新/下載所有語言檔案嗎?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "僅更新主程式"
|
||||
msgid "Update Files"
|
||||
msgstr "更新檔案"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "更新路徑"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: Nitro_subzero \n"
|
||||
"Language-Team: Nitro_subzero\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "ต้องการอัพเดทหรือดาวน์โหลด ไฟล์ภาษา ทั้งหมด?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "อัพเดท DOL"
|
||||
msgid "Update Files"
|
||||
msgstr "อัพเดทไฟล์"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "ที่อยู่ Update"
|
||||
|
||||
|
@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-07-12 14:51+0200\n"
|
||||
"POT-Creation-Date: 2014-07-14 18:18+0200\n"
|
||||
"PO-Revision-Date: 2009-10-01 01:00+0200\n"
|
||||
"Last-Translator: omercigingelini\n"
|
||||
"Language-Team: omercigingelini\n"
|
||||
@ -691,6 +691,9 @@ msgstr ""
|
||||
msgid "Do you want to sync free space info sector on all FAT32 partitions?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to update this file?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you wish to update/download all language files?"
|
||||
msgstr "Tüm dil dosyalarını indirmek/güncellemek istiyor musunuz?"
|
||||
|
||||
@ -2104,6 +2107,9 @@ msgstr "DOL Güncelle"
|
||||
msgid "Update Files"
|
||||
msgstr "Dosyaları Güncelle"
|
||||
|
||||
msgid "Update Nintendont"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update Path"
|
||||
msgstr "Güncelleme Yolu"
|
||||
|
||||
|
@ -47,7 +47,9 @@ enum ninconfig
|
||||
NIN_CFG_AUTO_BOOT = (1<<7),
|
||||
NIN_CFG_HID = (1<<8),
|
||||
NIN_CFG_OSREPORT = (1<<9),
|
||||
NIN_CFG_USB = (1<<10),
|
||||
NIN_CFG_USB = (1<<10), // r40
|
||||
NIN_CFG_LED = (1<<11), // v1.45
|
||||
NIN_CFG_LOG = (1<<12), // v1.109
|
||||
};
|
||||
|
||||
enum ninvideomode
|
||||
|
@ -76,7 +76,7 @@ void hexdump(void *d, int len)
|
||||
int i, off;
|
||||
data = (u8*) d;
|
||||
|
||||
gprintf("\n 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF");
|
||||
gprintf("\n 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF");
|
||||
gprintf("\n==== =============================================== ================\n");
|
||||
|
||||
for (off = 0; off < len; off += 16)
|
||||
|
@ -29,12 +29,18 @@ static u8 *homebrewbuffer = EXECUTE_ADDR;
|
||||
static u32 homebrewsize = 0;
|
||||
static std::vector<std::string> Arguments;
|
||||
|
||||
void AddBootArgument(const char * argv)
|
||||
void AddBootArgument(const char *argv)
|
||||
{
|
||||
std::string arg(argv);
|
||||
Arguments.push_back(arg);
|
||||
}
|
||||
|
||||
void AddBootArgument(const char *argv, unsigned int size)
|
||||
{
|
||||
std::string arg(argv, size);
|
||||
Arguments.push_back(arg);
|
||||
}
|
||||
|
||||
int CopyHomebrewMemory(u8 *temp, u32 pos, u32 len)
|
||||
{
|
||||
homebrewsize += len;
|
||||
@ -80,7 +86,7 @@ static int SetupARGV(struct __argv * args)
|
||||
/** Append Arguments **/
|
||||
for (u32 i = 0; i < Arguments.size(); i++)
|
||||
{
|
||||
strcpy(&args->commandLine[position], Arguments[i].c_str());
|
||||
memcpy(&args->commandLine[position], Arguments[i].c_str(), Arguments[i].size() +1);
|
||||
position += Arguments[i].size() + 1;
|
||||
argc++;
|
||||
}
|
||||
|
@ -4,7 +4,8 @@
|
||||
int BootHomebrew(const char * filepath);
|
||||
int BootHomebrewFromMem();
|
||||
int CopyHomebrewMemory(u8 *temp, u32 pos, u32 len);
|
||||
void AddBootArgument(const char * arg);
|
||||
void AddBootArgument(const char * argv);
|
||||
void AddBootArgument(const char * argv, unsigned int size);
|
||||
void FreeHomebrewBuffer();
|
||||
|
||||
#endif
|
||||
|
@ -77,10 +77,12 @@ static const char * DMLVersions[] =
|
||||
"v2.9", // DM 2.9
|
||||
"v2.0", // QuadForce v2.0
|
||||
"v3.0", // QuadForce v3.0
|
||||
"v4.0+", // QuadForce v4.0 SD
|
||||
"v2.10+", // DML 2.10
|
||||
"v2.10+", // DM 2.10
|
||||
"v4.1", // QuadForce v4.1 USB
|
||||
"v4.0", // QuadForce v4.0 SD
|
||||
"v2.10", // DML 2.10
|
||||
"v2.10", // DM 2.10
|
||||
"v4.1", // QuadForce v4.1 USB
|
||||
"v2.11+", // DML 2.11
|
||||
"v2.11+", // DM 2.11
|
||||
};
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "settings/SettingsPrompts.h"
|
||||
#include "network/Wiinnertag.h"
|
||||
#include "network/networkops.h"
|
||||
#include "network/FileDownloader.h"
|
||||
#include "FileOperations/fileops.h"
|
||||
#include "prompts/PromptWindows.h"
|
||||
#include "prompts/ProgressWindow.h"
|
||||
@ -70,6 +71,7 @@ FeatureSettingsMenu::FeatureSettingsMenu()
|
||||
Options->SetName(Idx++, "%s", tr( "Export SYSCONF to EmuNand" ));
|
||||
Options->SetName(Idx++, "%s", tr( "Dump NAND to EmuNand" ));
|
||||
Options->SetName(Idx++, "%s", tr( "Install WAD to EmuNand" ));
|
||||
Options->SetName(Idx++, "%s", tr( "Update Nintendont" ));
|
||||
|
||||
OldTitlesOverride = Settings.titlesOverride;
|
||||
OldCacheTitles = Settings.CacheTitles;
|
||||
@ -146,6 +148,9 @@ void FeatureSettingsMenu::SetOptionValues()
|
||||
|
||||
//! Settings: Install WAD to EmuNand
|
||||
Options->SetValue(Idx++, " ");
|
||||
|
||||
//! Settings: Update Nintendont
|
||||
Options->SetValue(Idx++, " ");
|
||||
}
|
||||
|
||||
int FeatureSettingsMenu::GetMenuInternal()
|
||||
@ -494,6 +499,31 @@ int FeatureSettingsMenu::GetMenuInternal()
|
||||
this->Append(optionBrowser);
|
||||
}
|
||||
|
||||
//! Settings: Update Nintendont
|
||||
else if (ret == ++Idx)
|
||||
{
|
||||
char NINUpdatePath[100];
|
||||
snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%sboot.dol", Settings.NINLoaderPath);
|
||||
|
||||
int choice = WindowPrompt(tr( "Do you want to update this file?" ), NINUpdatePath, tr( "Yes" ), tr( "Cancel" ));
|
||||
if (choice == 1)
|
||||
{
|
||||
// Download latest loader.dol as boot.dol
|
||||
int filesize = DownloadFileToPath("http://nintendon-t.googlecode.com/svn/trunk/loader/loader.dol", NINUpdatePath, false);
|
||||
|
||||
if(filesize <= 0)
|
||||
WindowPrompt(tr( "Update failed" ), 0, tr( "OK" ));
|
||||
else
|
||||
{
|
||||
//remove existing loader.dol file if found as it has priority over boot.dol
|
||||
snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%s/loader.dol", Settings.NINLoaderPath);
|
||||
RemoveFile(NINUpdatePath);
|
||||
|
||||
WindowPrompt(tr( "Successfully Updated" ), 0, tr( "OK" ));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SetOptionValues();
|
||||
|
||||
return MENU_NONE;
|
||||
|
@ -359,7 +359,12 @@ u8 IosLoader::GetDMLVersion(char* releaseDate)
|
||||
strptime("May 24 2013 21:22:22", "%b %d %Y %H:%M:%S", &time);
|
||||
const time_t dm_2_10_time = mktime(&time);
|
||||
|
||||
if(difftime(unixTime, dm_2_10_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_10;
|
||||
// Timestamp of DM 2.11
|
||||
strptime("Jul 2 2014 10:31:15", "%b %d %Y %H:%M:%S", &time);
|
||||
const time_t dm_2_11_time = mktime(&time);
|
||||
|
||||
if(difftime(unixTime, dm_2_11_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_11;
|
||||
else if(difftime(unixTime, dm_2_10_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_10;
|
||||
else if(difftime(unixTime, dm_2_9_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_9;
|
||||
else if(difftime(unixTime, dm_2_8_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_8;
|
||||
else if(difftime(unixTime, dm_2_7_time) >= 0) currentDMLVersion = DML_VERSION_DM_2_7;
|
||||
@ -434,7 +439,12 @@ u8 IosLoader::GetDMLVersion(char* releaseDate)
|
||||
strptime("May 24 2013 18:51:58", "%b %d %Y %H:%M:%S", &time);
|
||||
const time_t dml_2_10_time = mktime(&time);
|
||||
|
||||
if(difftime(unixTime, dml_2_10_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_10;
|
||||
// Timestamp of DML 2.11
|
||||
strptime("Jul 2 2014 10:31:06", "%b %d %Y %H:%M:%S", &time);
|
||||
const time_t dml_2_11_time = mktime(&time);
|
||||
|
||||
if(difftime(unixTime, dml_2_11_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_11;
|
||||
else if(difftime(unixTime, dml_2_10_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_10;
|
||||
else if(difftime(unixTime, dml_2_9_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_9;
|
||||
else if(difftime(unixTime, dml_2_8_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_8;
|
||||
else if(difftime(unixTime, dml_2_7_time) >= 0) currentDMLVersion = DML_VERSION_DML_2_7;
|
||||
|
@ -65,7 +65,9 @@ enum DMLVersions
|
||||
DML_VERSION_QUAD_4_0, // May 12 2013 20:22:57
|
||||
DML_VERSION_DML_2_10, // May 24 2013 18:51:58
|
||||
DML_VERSION_DM_2_10, // May 24 2013 21:22:22
|
||||
DML_VERSION_QUAD_4_1, // May 26 2013 ??:??:?? (USB)
|
||||
DML_VERSION_QUAD_4_1, // May 26 2013.00:15:28 (USB)
|
||||
DML_VERSION_DML_2_11, // Jul 2 2014 10:31:06
|
||||
DML_VERSION_DM_2_11, // Jul 2 2014 10:31:15
|
||||
DML_VERSION_MAX_VERSION,
|
||||
};
|
||||
|
||||
|
@ -995,9 +995,11 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
|
||||
return 0;
|
||||
}
|
||||
gprintf("NIN: Loader path = %s \n",NIN_loader_path);
|
||||
gprintf("NIN: Game path = %s \n",RealPath);
|
||||
|
||||
// Check Nintendont version
|
||||
u32 NIN_cfg_version = NIN_CFG_VERSION;
|
||||
bool NINArgsboot = false;
|
||||
u8 *buffer = NULL;
|
||||
u32 filesize = 0;
|
||||
if(LoadFileToMem(NIN_loader_path, &buffer, &filesize))
|
||||
@ -1049,6 +1051,18 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(found)
|
||||
{
|
||||
for(u32 i = 0; i < filesize; i += 0x10)
|
||||
{
|
||||
if((*(u32*)(buffer+i)) == 'args' && (*(u32*)(buffer+i+4)) == 'boot')
|
||||
{
|
||||
gprintf("NIN: argsboot found at %08x, using arguments instead of Nincfg.bin\n", i);
|
||||
NINArgsboot = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
free(buffer);
|
||||
|
||||
if(!found)
|
||||
@ -1173,10 +1187,6 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
|
||||
snprintf(gamePath, sizeof(gamePath), "%s/disc2.iso", gamePath);
|
||||
}
|
||||
|
||||
// Nintendont Config file path
|
||||
char NINCfgPath[17];
|
||||
snprintf(NINCfgPath, sizeof(NINCfgPath), "%s:/nincfg.bin", DeviceHandler::GetDevicePrefix(NIN_loader_path));
|
||||
gprintf("NIN: Cfg path : %s \n", NINCfgPath);
|
||||
|
||||
// Nintendont Config file settings
|
||||
NIN_CFG *nin_config = NULL;
|
||||
@ -1293,40 +1303,69 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
|
||||
}
|
||||
gprintf("NIN: Language 0x%08x \n", nin_config->Language);
|
||||
|
||||
//write config file to nintendont's partition root.
|
||||
FILE *fp = fopen(NINCfgPath, "wb");
|
||||
if (fp)
|
||||
// Delete existing nincfg.bin files
|
||||
RemoveFile("sd:/nincfg.bin");
|
||||
RemoveFile("usb1:/nincfg.bin");
|
||||
|
||||
if(NINArgsboot)
|
||||
{
|
||||
fwrite (nin_config , sizeof(char), sizeof(NIN_CFG), fp);
|
||||
fclose(fp);
|
||||
// initialize homebrew and arguments
|
||||
buffer = NULL;
|
||||
filesize = 0;
|
||||
LoadFileToMem(NIN_loader_path, &buffer, &filesize);
|
||||
if(!buffer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
FreeHomebrewBuffer();
|
||||
CopyHomebrewMemory(buffer, 0, filesize);
|
||||
|
||||
AddBootArgument(NIN_loader_path);
|
||||
AddBootArgument((char*)nin_config, sizeof(NIN_CFG));
|
||||
|
||||
// Launch Nintendont
|
||||
return !(BootHomebrewFromMem() < 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
gprintf("Could not open NINCfgPath in write mode");
|
||||
int choice = WindowPrompt(tr("Warning:"), tr("USBloaderGX couldn't write Nintendont config file. Launch Nintendont anyway?"), tr("Yes"), tr("Cancel"));
|
||||
if(choice == 0)
|
||||
return 0;
|
||||
}
|
||||
// Nintendont Config file path
|
||||
char NINCfgPath[17];
|
||||
snprintf(NINCfgPath, sizeof(NINCfgPath), "%s:/nincfg.bin", DeviceHandler::GetDevicePrefix(NIN_loader_path));
|
||||
gprintf("NIN: Cfg path : %s \n", NINCfgPath);
|
||||
|
||||
// Copy Nintendont Config file to game path
|
||||
if(strncmp(NINCfgPath, RealPath, 2) != 0)
|
||||
{
|
||||
char NINDestPath[17];
|
||||
snprintf(NINDestPath, sizeof(NINDestPath), "%s:/nincfg.bin", DeviceHandler::GetDevicePrefix(RealPath));
|
||||
gprintf("NIN: Copying %s to %s...", NINCfgPath, NINDestPath);
|
||||
if(CopyFile(NINCfgPath, NINDestPath) < 0)
|
||||
//write config file to nintendont's partition root.
|
||||
FILE *fp = fopen(NINCfgPath, "wb");
|
||||
if (fp)
|
||||
{
|
||||
gprintf("\nError: Couldn't copy %s to %s.\n", NINCfgPath, NINDestPath);
|
||||
RemoveFile(NINDestPath);
|
||||
if(WindowPrompt(tr("Warning:"), tr("USBloaderGX couldn't write Nintendont config file. Launch Nintendont anyway?"), tr("Yes"), tr("Cancel")) == 0)
|
||||
fwrite (nin_config , sizeof(char), sizeof(NIN_CFG), fp);
|
||||
fclose(fp);
|
||||
}
|
||||
else
|
||||
{
|
||||
gprintf("Could not open NINCfgPath in write mode");
|
||||
int choice = WindowPrompt(tr("Warning:"), tr("USBloaderGX couldn't write Nintendont config file. Launch Nintendont anyway?"), tr("Yes"), tr("Cancel"));
|
||||
if(choice == 0)
|
||||
return 0;
|
||||
}
|
||||
gprintf("done\n");
|
||||
|
||||
// Copy Nintendont Config file to game path
|
||||
if(strncmp(NINCfgPath, RealPath, 2) != 0)
|
||||
{
|
||||
char NINDestPath[17];
|
||||
snprintf(NINDestPath, sizeof(NINDestPath), "%s:/nincfg.bin", DeviceHandler::GetDevicePrefix(RealPath));
|
||||
gprintf("NIN: Copying %s to %s...", NINCfgPath, NINDestPath);
|
||||
if(CopyFile(NINCfgPath, NINDestPath) < 0)
|
||||
{
|
||||
gprintf("\nError: Couldn't copy %s to %s.\n", NINCfgPath, NINDestPath);
|
||||
RemoveFile(NINDestPath);
|
||||
if(WindowPrompt(tr("Warning:"), tr("USBloaderGX couldn't write Nintendont config file. Launch Nintendont anyway?"), tr("Yes"), tr("Cancel")) == 0)
|
||||
return 0;
|
||||
}
|
||||
gprintf("done\n");
|
||||
}
|
||||
// Launch Nintendont
|
||||
return !(BootHomebrew(NIN_loader_path) < 0);
|
||||
}
|
||||
|
||||
|
||||
// Launch Nintendont
|
||||
return !(BootHomebrew(NIN_loader_path) < 0);
|
||||
}
|
||||
|
||||
void GameBooter::PatchSram(int language, bool patchVideoMode, bool progressive)
|
||||
|
Loading…
Reference in New Issue
Block a user