Nintendont:

* Added auto network initialization if needed when updating 
  Nintendont from features menu.
* Added a backup of existing boot.dol when updating
  Nintendont, restored if update failed.
* Added Nintendont missing settings 
  (MaxPads, LED, Log and OSReport).
* Added a per game "Nintendont Loader Path" setting (Requested)
* Changed Nintendont MCEmu setting to ON by default on new
  USBLoaderGX installation.


* Updated French language file.
This commit is contained in:
Cyan 2014-08-02 16:53:56 +00:00
parent 0cb0b7537f
commit d507f866e2
32 changed files with 484 additions and 46 deletions

View File

@ -2,8 +2,8 @@
<app version="1"> <app version="1">
<name> USB Loader GX</name> <name> USB Loader GX</name>
<coder>USB Loader GX Team</coder> <coder>USB Loader GX Team</coder>
<version>3.0 r1229</version> <version>3.0 r1230</version>
<release_date>20140714161827</release_date> <release_date>20140802163350</release_date>
<!-- // remove this line to enable arguments <!-- // remove this line to enable arguments
<arguments> <arguments>
<arg>--ios=250</arg> <arg>--ios=250</arg>

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+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" "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" "Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr "Zamcení USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Zamceno" msgstr "Zamceno"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Adresárová smycka" msgstr "Adresárová smycka"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Zapnuto" msgstr "Zapnuto"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Fox888[dk]\n" "Last-Translator: Fox888[dk]\n"
"Language-Team: [dk]\n" "Language-Team: [dk]\n"
@ -1090,6 +1090,9 @@ msgstr "Spil/Installation partition"
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr "Lås USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Låst" msgstr "Låst"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Afspil mappe i løkke" msgstr "Afspil mappe i løkke"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Til" msgstr "Til"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -1090,6 +1090,9 @@ msgstr "Spel/Installatie partitie"
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "GameCube Modus" msgstr "GameCube Modus"
@ -1327,6 +1330,9 @@ msgstr "Vergrendel USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Vergrendeld" msgstr "Vergrendeld"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Herhaal Map" msgstr "Herhaal Map"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Aan" msgstr "Aan"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "" msgstr ""
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "" msgstr ""
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: c64rmx\n" "Last-Translator: c64rmx\n"
"Language-Team: \n" "Language-Team: \n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Lukittu" msgstr "Lukittu"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Päälle" msgstr "Päälle"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -1,11 +1,11 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# French.lang - r1228 # French.lang - r1230
# don't delete/change this line (é). # don't delete/change this line (é).
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Cyan\n" "Last-Translator: Cyan\n"
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n" "Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
@ -1090,6 +1090,9 @@ msgstr "Partition jeu/install."
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr "Manette GameCube"
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "Mode GameCube" msgstr "Mode GameCube"
@ -1327,6 +1330,9 @@ msgstr "Verrouiller USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Clic pour déverrouiller" msgstr "Clic pour déverrouiller"
msgid "Log to file"
msgstr "Fichier de logs"
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Répéter dossier" msgstr "Répéter dossier"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Actif" msgstr "Actif"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""
@ -2108,7 +2117,7 @@ msgid "Update Files"
msgstr "MàJ Fichiers" msgstr "MàJ Fichiers"
msgid "Update Nintendont" msgid "Update Nintendont"
msgstr "" msgstr "Mettre Nintendont à jour"
msgid "Update Path" msgid "Update Path"
msgstr "Dossier de mise à jour" msgstr "Dossier de mise à jour"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2010-07-03 17:35-0800\n" "PO-Revision-Date: 2010-07-03 17:35-0800\n"
"Last-Translator: TheRealVisitor\n" "Last-Translator: TheRealVisitor\n"
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n" "Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
@ -1090,6 +1090,9 @@ msgstr "Spiel/Instal. Partition"
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "GameCube Modus" msgstr "GameCube Modus"
@ -1327,6 +1330,9 @@ msgstr "Sperre USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Gesperrt" msgstr "Gesperrt"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Verzeichnis wiederholen" msgstr "Verzeichnis wiederholen"
@ -1549,6 +1555,9 @@ msgstr "OK"
msgid "ON" msgid "ON"
msgstr "AN" msgstr "AN"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "OSSleepThread" msgstr "OSSleepThread"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"Last-Translator: nakata6790\n" "Last-Translator: nakata6790\n"
"Language-Team: nakata6790 (aka0107@gmail.com)\n" "Language-Team: nakata6790 (aka0107@gmail.com)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -1089,6 +1089,9 @@ msgstr "partition ðïõ èá åãêáôáóôçáèåß ôï ðáé÷íßäé."
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "ÌÝèïäïò öüñôùóçò ðáé÷íéäéþí GameCube" msgstr "ÌÝèïäïò öüñôùóçò ðáé÷íéäéþí GameCube"
@ -1326,6 +1329,9 @@ msgstr "Êëåßäùìá USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Êëåéäþèçêå" msgstr "Êëåéäþèçêå"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Ëïýðá ôùí áñ÷åßùí óôï öÜêåëï" msgstr "Ëïýðá ôùí áñ÷åßùí óôï öÜêåëï"
@ -1548,6 +1554,9 @@ msgstr "OK"
msgid "ON" msgid "ON"
msgstr "NAI" msgstr "NAI"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "OSSleepThread" msgstr "OSSleepThread"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-12-29 11:05+0100\n" "PO-Revision-Date: 2009-12-29 11:05+0100\n"
"Last-Translator: Springdale\n" "Last-Translator: Springdale\n"
"Language-Team: Tusk, Springdale\n" "Language-Team: Tusk, Springdale\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Lezárva" msgstr "Lezárva"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "BE" msgstr "BE"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2011-09-11 12:19+0100\n" "PO-Revision-Date: 2011-09-11 12:19+0100\n"
"Last-Translator: xFede\n" "Last-Translator: xFede\n"
"Language-Team: xFede (fedeanto11@gmail.com)\n" "Language-Team: xFede (fedeanto11@gmail.com)\n"
@ -1090,6 +1090,9 @@ msgstr "Partizione giochi/inst."
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "Modalità GameCube" msgstr "Modalità GameCube"
@ -1327,6 +1330,9 @@ msgstr "Blocca USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Bloccata" msgstr "Bloccata"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Sequenza brani" msgstr "Sequenza brani"
@ -1549,6 +1555,9 @@ msgstr "OK"
msgid "ON" msgid "ON"
msgstr "ON" msgstr "ON"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "OSSleepThread" msgstr "OSSleepThread"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: hosigumayuugi\n" "Last-Translator: hosigumayuugi\n"
"Language-Team: hosigumayuugi\n" "Language-Team: hosigumayuugi\n"
@ -1090,6 +1090,9 @@ msgstr "ゲームのインストール領域"
msgid "GameCube" msgid "GameCube"
msgstr "ゲームキューブ" msgstr "ゲームキューブ"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "GCモード" msgstr "GCモード"
@ -1327,6 +1330,9 @@ msgstr "ロックする"
msgid "Locked" msgid "Locked"
msgstr "ロック中" msgstr "ロック中"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "フォルダ内でループ" msgstr "フォルダ内でループ"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "使う" msgstr "使う"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nextos@korea.com\n" "Last-Translator: nextos@korea.com\n"
"Language-Team: \n" "Language-Team: \n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "잠김" msgstr "잠김"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr "확인"
msgid "ON" msgid "ON"
msgstr "켜짐" msgstr "켜짐"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: raschi\n" "Last-Translator: raschi\n"
"Language-Team: raschi\n" "Language-Team: raschi\n"
@ -1090,6 +1090,9 @@ msgstr "Spill/installer partisjon"
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr "Lås USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Låst" msgstr "Låst"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Loop mappe" msgstr "Loop mappe"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "PÅ" msgstr "PÅ"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n" "Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n" "Language-Team: \n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Zablokowano" msgstr "Zablokowano"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Wlacz" msgstr "Wlacz"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-23 18:52+0200\n" "PO-Revision-Date: 2009-10-23 18:52+0200\n"
"Last-Translator: aniemotion\n" "Last-Translator: aniemotion\n"
"Language-Team: boto12, aniemotion\n" "Language-Team: boto12, aniemotion\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Bloqueado" msgstr "Bloqueado"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Repitir Diretório" msgstr "Repitir Diretório"
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "Ligado" msgstr "Ligado"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2011-11-03 11:00+0000\n" "PO-Revision-Date: 2011-11-03 11:00+0000\n"
"Last-Translator: pplucky <pplucky@gmail.com>\n" "Last-Translator: pplucky <pplucky@gmail.com>\n"
"Language-Team: Sky8000, pplucky\n" "Language-Team: Sky8000, pplucky\n"
@ -1090,6 +1090,9 @@ msgstr "Jogo/Partição Instalação"
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr "Bloquear USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Bloqueado" msgstr "Bloqueado"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Repetir Pasta" msgstr "Repetir Pasta"
@ -1549,6 +1555,9 @@ msgstr "OK"
msgid "ON" msgid "ON"
msgstr "ON" msgstr "ON"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "OSSleepThread" msgstr "OSSleepThread"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nikolai_ca\n" "Last-Translator: nikolai_ca\n"
"Language-Team: Kir, alendit, nikolai_ca\n" "Language-Team: Kir, alendit, nikolai_ca\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Заблокировано" msgstr "Заблокировано"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr "OK"
msgid "ON" msgid "ON"
msgstr "ВКЛ" msgstr "ВКЛ"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2013-08-13 07:03+0800\n" "PO-Revision-Date: 2013-08-13 07:03+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: oCameLo\n" "Language-Team: oCameLo\n"
@ -1090,6 +1090,9 @@ msgstr "游戏/安装分区"
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "GameCube 模式" msgstr "GameCube 模式"
@ -1327,6 +1330,9 @@ msgstr "锁定 USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "已锁定" msgstr "已锁定"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "循环目录" msgstr "循环目录"
@ -1549,6 +1555,9 @@ msgstr "确定"
msgid "ON" msgid "ON"
msgstr "开启" msgstr "开启"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "OSSleepThread" msgstr "OSSleepThread"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2011-07-25 16:40+0200\n" "PO-Revision-Date: 2011-07-25 16:40+0200\n"
"Last-Translator: Galen/xFede\n" "Last-Translator: Galen/xFede\n"
"Language-Team: Penn, SirPalax, hvy109\n" "Language-Team: Penn, SirPalax, hvy109\n"
@ -1090,6 +1090,9 @@ msgstr "Partición de Juegos"
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr "Bloquear USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "Bloqueada" msgstr "Bloqueada"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "Carpeta de bucle" msgstr "Carpeta de bucle"
@ -1549,6 +1555,9 @@ msgstr "Aceptar"
msgid "ON" msgid "ON"
msgstr "Activado" msgstr "Activado"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2010-01-19 17:39+0200\n" "PO-Revision-Date: 2010-01-19 17:39+0200\n"
"Last-Translator: Katsurou\n" "Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n" "Language-Team: Katsurou, pirateX\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Låst" msgstr "Låst"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "PÅ" msgstr "PÅ"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2010-02-15 21:00+0800\n" "PO-Revision-Date: 2010-02-15 21:00+0800\n"
"Last-Translator: Jane.H\n" "Last-Translator: Jane.H\n"
"Language-Team: kyogc, Miller, Mika Li, Jane.H\n" "Language-Team: kyogc, Miller, Mika Li, Jane.H\n"
@ -1090,6 +1090,9 @@ msgstr "遊戲/安裝磁區"
msgid "GameCube" msgid "GameCube"
msgstr "GameCube" msgstr "GameCube"
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "GameCube 模式" msgstr "GameCube 模式"
@ -1327,6 +1330,9 @@ msgstr "鎖上USB Loader GX"
msgid "Locked" msgid "Locked"
msgstr "已鎖定" msgstr "已鎖定"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "重複路徑" msgstr "重複路徑"
@ -1549,6 +1555,9 @@ msgstr "確定"
msgid "ON" msgid "ON"
msgstr "開啟" msgstr "開啟"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "系統睡眠主題" msgstr "系統睡眠主題"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Nitro_subzero \n" "Last-Translator: Nitro_subzero \n"
"Language-Team: Nitro_subzero\n" "Language-Team: Nitro_subzero\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "ล๊อค" msgstr "ล๊อค"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr "ตกลง"
msgid "ON" msgid "ON"
msgstr "เปิด" msgstr "เปิด"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-14 18:18+0200\n" "POT-Creation-Date: 2014-08-02 18:34+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: omercigingelini\n" "Last-Translator: omercigingelini\n"
"Language-Team: omercigingelini\n" "Language-Team: omercigingelini\n"
@ -1090,6 +1090,9 @@ msgstr ""
msgid "GameCube" msgid "GameCube"
msgstr "" msgstr ""
msgid "GameCube Controller"
msgstr ""
msgid "GameCube Mode" msgid "GameCube Mode"
msgstr "" msgstr ""
@ -1327,6 +1330,9 @@ msgstr ""
msgid "Locked" msgid "Locked"
msgstr "Kilitlendi" msgstr "Kilitlendi"
msgid "Log to file"
msgstr ""
msgid "Loop Directory" msgid "Loop Directory"
msgstr "" msgstr ""
@ -1549,6 +1555,9 @@ msgstr ""
msgid "ON" msgid "ON"
msgstr "AÇIK" msgstr "AÇIK"
msgid "OSReport"
msgstr ""
msgid "OSSleepThread" msgid "OSSleepThread"
msgstr "" msgstr ""

View File

@ -218,6 +218,11 @@ bool CGameSettings::Save()
fprintf(f, "DMLDebug:%d; ", GameList[i].DMLDebug); fprintf(f, "DMLDebug:%d; ", GameList[i].DMLDebug);
fprintf(f, "NINMCEmulation:%d; ", GameList[i].NINMCEmulation); fprintf(f, "NINMCEmulation:%d; ", GameList[i].NINMCEmulation);
fprintf(f, "NINUSBHID:%d; ", GameList[i].NINUSBHID); fprintf(f, "NINUSBHID:%d; ", GameList[i].NINUSBHID);
fprintf(f, "NINMaxPads:%d; ", GameList[i].NINMaxPads);
fprintf(f, "NINOSReport:%d; ", GameList[i].NINOSReport);
fprintf(f, "NINLED:%d; ", GameList[i].NINLED);
fprintf(f, "NINLog:%d; ", GameList[i].NINLog);
fprintf(f, "NINLoaderPath:%s; ", GameList[i].NINLoaderPath.c_str());
fprintf(f, "DEVOMCEmulation:%d; ", GameList[i].DEVOMCEmulation); fprintf(f, "DEVOMCEmulation:%d; ", GameList[i].DEVOMCEmulation);
fprintf(f, "DEVOWidescreen:%d; ", GameList[i].DEVOWidescreen); fprintf(f, "DEVOWidescreen:%d; ", GameList[i].DEVOWidescreen);
fprintf(f, "DEVOActivityLED:%d; ", GameList[i].DEVOActivityLED); fprintf(f, "DEVOActivityLED:%d; ", GameList[i].DEVOActivityLED);
@ -400,6 +405,31 @@ bool CGameSettings::SetSetting(GameCFG & game, const char *name, const char *val
game.NINUSBHID = atoi(value); game.NINUSBHID = atoi(value);
return true; return true;
} }
else if(strcmp(name, "NINMaxPads") == 0)
{
game.NINMaxPads = atoi(value);
return true;
}
else if(strcmp(name, "NINOSReport") == 0)
{
game.NINOSReport = atoi(value);
return true;
}
else if(strcmp(name, "NINLED") == 0)
{
game.NINLED = atoi(value);
return true;
}
else if(strcmp(name, "NINLog") == 0)
{
game.NINLog = atoi(value);
return true;
}
else if(strcmp(name, "NINLoaderPath") == 0)
{
game.NINLoaderPath = value;
return true;
}
else if(strcmp(name, "DEVOMCEmulation") == 0) else if(strcmp(name, "DEVOMCEmulation") == 0)
{ {
game.DEVOMCEmulation = atoi(value); game.DEVOMCEmulation = atoi(value);
@ -568,6 +598,11 @@ void CGameSettings::SetDefault(GameCFG &game)
game.DMLDebug = INHERIT; game.DMLDebug = INHERIT;
game.NINMCEmulation = INHERIT; game.NINMCEmulation = INHERIT;
game.NINUSBHID = INHERIT; game.NINUSBHID = INHERIT;
game.NINMaxPads = INHERIT;
game.NINOSReport = INHERIT;
game.NINLED = INHERIT;
game.NINLog = INHERIT;
game.NINLoaderPath.clear();
game.DEVOMCEmulation = INHERIT; game.DEVOMCEmulation = INHERIT;
game.DEVOWidescreen = INHERIT; game.DEVOWidescreen = INHERIT;
game.DEVOActivityLED = INHERIT; game.DEVOActivityLED = INHERIT;

View File

@ -42,6 +42,11 @@ typedef struct _GameCFG
short DMLDebug; short DMLDebug;
short NINMCEmulation; short NINMCEmulation;
short NINUSBHID; short NINUSBHID;
short NINMaxPads;
short NINOSReport;
short NINLED;
short NINLog;
std::string NINLoaderPath;
short DEVOMCEmulation; short DEVOMCEmulation;
short DEVOWidescreen; short DEVOWidescreen;
short DEVOActivityLED; short DEVOActivityLED;
@ -86,6 +91,11 @@ typedef struct _GameCFG
this->DMLDebug = game.DMLDebug; this->DMLDebug = game.DMLDebug;
this->NINMCEmulation = game.NINMCEmulation; this->NINMCEmulation = game.NINMCEmulation;
this->NINUSBHID = game.NINUSBHID; this->NINUSBHID = game.NINUSBHID;
this->NINMaxPads = game.NINMaxPads;
this->NINOSReport = game.NINOSReport;
this->NINLED = game.NINLED;
this->NINLog = game.NINLog;
this->NINLoaderPath = game.NINLoaderPath;
this->DEVOMCEmulation = game.DEVOMCEmulation; this->DEVOMCEmulation = game.DEVOMCEmulation;
this->DEVOWidescreen = game.DEVOWidescreen; this->DEVOWidescreen = game.DEVOWidescreen;
this->DEVOActivityLED = game.DEVOActivityLED; this->DEVOActivityLED = game.DEVOActivityLED;

View File

@ -183,9 +183,13 @@ void CSettings::SetDefault()
DMLScreenshot = OFF; DMLScreenshot = OFF;
DMLJPNPatch = OFF; DMLJPNPatch = OFF;
DMLDebug = OFF; DMLDebug = OFF;
NINMCEmulation = OFF; NINMCEmulation = ON;
NINAutoboot = ON; NINAutoboot = ON;
NINUSBHID = OFF; NINUSBHID = OFF;
NINMaxPads = 1;
NINOSReport = OFF;
NINLED = OFF;
NINLog = OFF;
DEVOMCEmulation = OFF; DEVOMCEmulation = OFF;
DEVOWidescreen = OFF; DEVOWidescreen = OFF;
DEVOActivityLED = ON; DEVOActivityLED = ON;
@ -425,6 +429,10 @@ bool CSettings::Save()
fprintf(file, "NINMCEmulation = %d\n", NINMCEmulation); fprintf(file, "NINMCEmulation = %d\n", NINMCEmulation);
fprintf(file, "NINAutoboot = %d\n", NINAutoboot); fprintf(file, "NINAutoboot = %d\n", NINAutoboot);
fprintf(file, "NINUSBHID = %d\n", NINUSBHID); fprintf(file, "NINUSBHID = %d\n", NINUSBHID);
fprintf(file, "NINMaxPads = %d\n", NINMaxPads);
fprintf(file, "NINOSReport = %d\n", NINOSReport);
fprintf(file, "NINLED = %d\n", NINLED);
fprintf(file, "NINLog = %d\n", NINLog);
fprintf(file, "DEVOMCEmulation = %d\n", DEVOMCEmulation); fprintf(file, "DEVOMCEmulation = %d\n", DEVOMCEmulation);
fprintf(file, "DEVOWidescreen = %d\n", DEVOWidescreen); fprintf(file, "DEVOWidescreen = %d\n", DEVOWidescreen);
fprintf(file, "DEVOActivityLED = %d\n", DEVOActivityLED); fprintf(file, "DEVOActivityLED = %d\n", DEVOActivityLED);
@ -908,6 +916,26 @@ bool CSettings::SetSetting(char *name, char *value)
NINUSBHID = atoi(value); NINUSBHID = atoi(value);
return true; return true;
} }
else if (strcmp(name, "NINMaxPads") == 0)
{
NINMaxPads = atoi(value);
return true;
}
else if (strcmp(name, "NINOSReport") == 0)
{
NINOSReport = atoi(value);
return true;
}
else if (strcmp(name, "NINLED") == 0)
{
NINLED = atoi(value);
return true;
}
else if (strcmp(name, "NINLog") == 0)
{
NINLog = atoi(value);
return true;
}
else if (strcmp(name, "DEVOMCEmulation") == 0) else if (strcmp(name, "DEVOMCEmulation") == 0)
{ {
DEVOMCEmulation = atoi(value); DEVOMCEmulation = atoi(value);

View File

@ -190,6 +190,10 @@ class CSettings
short NINMCEmulation; short NINMCEmulation;
short NINAutoboot; short NINAutoboot;
short NINUSBHID; short NINUSBHID;
short NINMaxPads;
short NINOSReport;
short NINLED;
short NINLog;
short DEVOMCEmulation; short DEVOMCEmulation;
short DEVOWidescreen; short DEVOWidescreen;
short DEVOActivityLED; short DEVOActivityLED;

View File

@ -504,25 +504,44 @@ int FeatureSettingsMenu::GetMenuInternal()
{ {
char NINUpdatePath[100]; char NINUpdatePath[100];
snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%sboot.dol", Settings.NINLoaderPath); snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%sboot.dol", Settings.NINLoaderPath);
char NINUpdatePathBak[100];
snprintf(NINUpdatePathBak, sizeof(NINUpdatePathBak), "%sboot.bak", Settings.NINLoaderPath);
int choice = WindowPrompt(tr( "Do you want to update this file?" ), NINUpdatePath, tr( "Yes" ), tr( "Cancel" )); int choice = WindowPrompt(tr( "Do you want to update this file?" ), NINUpdatePath, tr( "Yes" ), tr( "Cancel" ));
if (choice == 1) if (choice == 1)
{ {
if (!IsNetworkInit() && !NetworkInitPrompt())
{
WindowPrompt(tr("Error !"), tr("Could not initialize network!"), tr("OK"));
}
else
{
// Rename existing boot.dol file to boot.bak
if(CheckFile(NINUpdatePath))
RenameFile(NINUpdatePath, NINUpdatePathBak);
// Download latest loader.dol as boot.dol // Download latest loader.dol as boot.dol
int filesize = DownloadFileToPath("http://nintendon-t.googlecode.com/svn/trunk/loader/loader.dol", NINUpdatePath, false); int filesize = DownloadFileToPath("http://nintendon-t.googlecode.com/svn/trunk/loader/loader.dol", NINUpdatePath, false);
if(filesize <= 0) if(filesize <= 0)
{
RemoveFile(NINUpdatePath);
if(CheckFile(NINUpdatePathBak))
RenameFile(NINUpdatePathBak, NINUpdatePath);
WindowPrompt(tr( "Update failed" ), 0, tr( "OK" )); WindowPrompt(tr( "Update failed" ), 0, tr( "OK" ));
}
else else
{ {
//remove existing loader.dol file if found as it has priority over boot.dol //remove existing loader.dol file if found as it has priority over boot.dol, and boot.bak
snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%s/loader.dol", Settings.NINLoaderPath); snprintf(NINUpdatePath, sizeof(NINUpdatePath), "%s/loader.dol", Settings.NINLoaderPath);
RemoveFile(NINUpdatePath); RemoveFile(NINUpdatePath);
RemoveFile(NINUpdatePathBak);
WindowPrompt(tr( "Successfully Updated" ), 0, tr( "OK" )); WindowPrompt(tr( "Successfully Updated" ), 0, tr( "OK" ));
} }
} }
} }
}
SetOptionValues(); SetOptionValues();

View File

@ -186,6 +186,11 @@ void GCGameLoadSM::SetOptionNames()
Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" )); Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" ));
Options->SetName(Idx++, "%s", tr( "Debug" )); Options->SetName(Idx++, "%s", tr( "Debug" ));
Options->SetName(Idx++, "%s", tr( "USB-HID Controller" )); Options->SetName(Idx++, "%s", tr( "USB-HID Controller" ));
Options->SetName(Idx++, "%s", tr( "GameCube Controller" ));
Options->SetName(Idx++, "%s", tr( "LED Activity" ));
Options->SetName(Idx++, "%s", tr( "OSReport" ));
Options->SetName(Idx++, "%s", tr( "Log to file" ));
Options->SetName(Idx++, "%s", tr( "Nintendont Loader Path" ));
} }
if(currentGCmode == GC_MODE_DEVOLUTION) if(currentGCmode == GC_MODE_DEVOLUTION)
{ {
@ -354,6 +359,36 @@ void GCGameLoadSM::SetOptionValues()
else else
Options->SetValue(Idx++, "%s", tr(OnOffText[GameConfig.NINUSBHID])); Options->SetValue(Idx++, "%s", tr(OnOffText[GameConfig.NINUSBHID]));
//! Settings: NIN MaxPads - Number of GameCube Controllers
if(GameConfig.NINMaxPads == INHERIT)
Options->SetValue(Idx++, tr("Use global"));
else
Options->SetValue(Idx++, "%i", GameConfig.NINMaxPads);
//! Settings: NIN LED Activity
if(GameConfig.NINLED == INHERIT)
Options->SetValue(Idx++, tr("Use global"));
else
Options->SetValue(Idx++, "%s", tr(OnOffText[GameConfig.NINLED]));
//! Settings: NIN OS Report
if(GameConfig.NINOSReport == INHERIT)
Options->SetValue(Idx++, tr("Use global"));
else
Options->SetValue(Idx++, "%s", tr(OnOffText[GameConfig.NINOSReport]));
//! Settings: NIN Log to file
if(GameConfig.NINLog == INHERIT)
Options->SetValue(Idx++, tr("Use global"));
else
Options->SetValue(Idx++, "%s", tr(OnOffText[GameConfig.NINLog]));
//! Settings: NIN Individual Loader path setting
if(GameConfig.NINLoaderPath.size() == 0)
Options->SetValue(Idx++, tr("Use global"));
else
Options->SetValue(Idx++, "%s", GameConfig.NINLoaderPath.c_str());
} }
if(currentGCmode == GC_MODE_DEVOLUTION) if(currentGCmode == GC_MODE_DEVOLUTION)
@ -585,6 +620,58 @@ int GCGameLoadSM::GetMenuInternal()
if (++GameConfig.NINUSBHID >= MAX_ON_OFF) GameConfig.NINUSBHID = INHERIT; if (++GameConfig.NINUSBHID >= MAX_ON_OFF) GameConfig.NINUSBHID = INHERIT;
} }
//! Settings: NIN MaxPads - Number of GameCube Controllers
else if (currentGCmode == GC_MODE_NINTENDONT && ret == ++Idx)
{
if (++GameConfig.NINMaxPads >= 5) GameConfig.NINMaxPads = INHERIT;
}
//! Settings: NIN LED Activity
else if (currentGCmode == GC_MODE_NINTENDONT && ret == ++Idx)
{
if (++GameConfig.NINLED >= MAX_ON_OFF) GameConfig.NINLED = INHERIT;
}
//! Settings: NIN OS Report
else if (currentGCmode == GC_MODE_NINTENDONT && ret == ++Idx)
{
if (++GameConfig.NINOSReport >= MAX_ON_OFF) GameConfig.NINOSReport = INHERIT;
}
//! Settings: NIN Log to file
else if (currentGCmode == GC_MODE_NINTENDONT && ret == ++Idx)
{
if (++GameConfig.NINLog >= MAX_ON_OFF) GameConfig.NINLog = INHERIT;
}
//! Settings: NIN Individual Loader path setting
else if (currentGCmode == GC_MODE_NINTENDONT && ret == ++Idx)
{
char entered[100];
snprintf(entered, sizeof(entered), GameConfig.NINLoaderPath.c_str());
HaltGui();
GuiWindow * parent = (GuiWindow *) parentElement;
if(parent) parent->SetState(STATE_DISABLED);
this->SetState(STATE_DEFAULT);
this->Remove(optionBrowser);
ResumeGui();
int result = BrowseDevice(entered, sizeof(entered), FB_DEFAULT, noFILES);
if(parent) parent->SetState(STATE_DEFAULT);
this->Append(optionBrowser);
if (result == 1)
{
if (entered[strlen(entered)-1] != '/')
strcat(entered, "/");
GameConfig.NINLoaderPath = entered;
WindowPrompt(tr( "Path Changed" ), 0, tr( "OK" ));
}
}
//! Settings: GameCube TITLE : Devolution //! Settings: GameCube TITLE : Devolution
else if (currentGCmode == GC_MODE_DEVOLUTION && ret == ++Idx) else if (currentGCmode == GC_MODE_DEVOLUTION && ret == ++Idx)
{ {

View File

@ -214,6 +214,10 @@ LoaderSettings::LoaderSettings()
Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" )); Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" ));
Options->SetName(Idx++, "%s", tr( "Auto Boot" )); Options->SetName(Idx++, "%s", tr( "Auto Boot" ));
Options->SetName(Idx++, "%s", tr( "USB-HID Controller" )); Options->SetName(Idx++, "%s", tr( "USB-HID Controller" ));
Options->SetName(Idx++, "%s", tr( "GameCube Controller" ));
Options->SetName(Idx++, "%s", tr( "LED Activity" ));
Options->SetName(Idx++, "%s", tr( "OSReport" ));
Options->SetName(Idx++, "%s", tr( "Log to file" ));
Options->SetName(Idx++, "%s", tr( "--== Devolution" )); Options->SetName(Idx++, "%s", tr( "--== Devolution" ));
Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" )); Options->SetName(Idx++, "%s", tr( "Memory Card Emulation" ));
Options->SetName(Idx++, "%s", tr( "Force Widescreen" )); Options->SetName(Idx++, "%s", tr( "Force Widescreen" ));
@ -388,6 +392,18 @@ void LoaderSettings::SetOptionValues()
//! Settings: TITLE - NIN USB-HID controller //! Settings: TITLE - NIN USB-HID controller
Options->SetValue(Idx++, "%s", tr(OnOffText[Settings.NINUSBHID])); Options->SetValue(Idx++, "%s", tr(OnOffText[Settings.NINUSBHID]));
//! Settings: TITLE - NIN MaxPads - Number of GameCube controllers
Options->SetValue(Idx++, "%i", Settings.NINMaxPads);
//! Settings: TITLE - NIN LED Activity
Options->SetValue(Idx++, "%s", tr(OnOffText[Settings.NINLED]));
//! Settings: TITLE - NIN OS Report
Options->SetValue(Idx++, "%s", tr(OnOffText[Settings.NINOSReport]));
//! Settings: TITLE - NIN Log to file
Options->SetValue(Idx++, "%s", tr(OnOffText[Settings.NINLog]));
//! Settings: TITLE - Devolution //! Settings: TITLE - Devolution
Options->SetValue(Idx++, "==-- "); Options->SetValue(Idx++, "==-- ");
@ -705,6 +721,30 @@ int LoaderSettings::GetMenuInternal()
if (++Settings.NINUSBHID >= MAX_ON_OFF) Settings.NINUSBHID = 0; if (++Settings.NINUSBHID >= MAX_ON_OFF) Settings.NINUSBHID = 0;
} }
//! Settings: NIN MaxPads - Number of Gamecube controllers
else if (ret == ++Idx)
{
if (++Settings.NINMaxPads >= 5) Settings.NINMaxPads = 0;
}
//! Settings: NIN LED Activity
else if (ret == ++Idx)
{
if (++Settings.NINLED >= MAX_ON_OFF) Settings.NINLED = 0;
}
//! Settings: NIN OS Report
else if (ret == ++Idx)
{
if (++Settings.NINOSReport >= MAX_ON_OFF) Settings.NINOSReport = 0;
}
//! Settings: NIN Log to file
else if (ret == ++Idx)
{
if (++Settings.NINLog >= MAX_ON_OFF) Settings.NINLog = 0;
}
//! Settings: TITLE - Devolution //! Settings: TITLE - Devolution
else if (ret == ++Idx) else if (ret == ++Idx)
{ {

View File

@ -931,6 +931,11 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
u8 ninDebugChoice = game_cfg->DMLDebug == INHERIT ? Settings.DMLDebug : game_cfg->DMLDebug; u8 ninDebugChoice = game_cfg->DMLDebug == INHERIT ? Settings.DMLDebug : game_cfg->DMLDebug;
u8 ninAutobootChoice = Settings.NINAutoboot; u8 ninAutobootChoice = Settings.NINAutoboot;
u8 ninUSBHIDChoice = game_cfg->NINUSBHID == INHERIT ? Settings.NINUSBHID : game_cfg->NINUSBHID; u8 ninUSBHIDChoice = game_cfg->NINUSBHID == INHERIT ? Settings.NINUSBHID : game_cfg->NINUSBHID;
u8 ninMaxPadsChoice = game_cfg->NINMaxPads == INHERIT ? Settings.NINMaxPads : game_cfg->NINMaxPads;
u8 ninLEDChoice = game_cfg->NINLED == INHERIT ? Settings.NINLED : game_cfg->NINLED;
u8 ninOSReportChoice = game_cfg->NINOSReport == INHERIT ? Settings.NINOSReport : game_cfg->NINOSReport;
u8 ninLogChoice = game_cfg->NINLog == INHERIT ? Settings.NINLog : game_cfg->NINLog;
const char *ninLoaderPath = game_cfg->NINLoaderPath.size() == 0 ? Settings.NINLoaderPath : game_cfg->NINLoaderPath.c_str();
if(gameHdr->type == TYPE_GAME_GC_DISC) if(gameHdr->type == TYPE_GAME_GC_DISC)
{ {
@ -978,15 +983,15 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
char NIN_loader_path[255]; char NIN_loader_path[255];
if(strncmp(RealPath, "usb", 3) == 0) // Nintendont r39 only if(strncmp(RealPath, "usb", 3) == 0) // Nintendont r39 only
{ {
snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sloaderusb.dol", Settings.NINLoaderPath); snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sloaderusb.dol", ninLoaderPath);
if(!CheckFile(NIN_loader_path)) if(!CheckFile(NIN_loader_path))
snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sbootusb.dol", Settings.NINLoaderPath); snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sbootusb.dol", ninLoaderPath);
} }
if(strncmp(RealPath, "sd", 2) == 0 || !CheckFile(NIN_loader_path)) if(strncmp(RealPath, "sd", 2) == 0 || !CheckFile(NIN_loader_path))
{ {
snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sloader.dol", Settings.NINLoaderPath); snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sloader.dol", ninLoaderPath);
if(!CheckFile(NIN_loader_path)) if(!CheckFile(NIN_loader_path))
snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sboot.dol", Settings.NINLoaderPath); snprintf(NIN_loader_path, sizeof(NIN_loader_path), "%sboot.dol", ninLoaderPath);
} }
if(!CheckFile(NIN_loader_path)) if(!CheckFile(NIN_loader_path))
{ {
@ -1244,14 +1249,17 @@ int GameBooter::BootNintendont(struct discHdr *gameHdr)
nin_config->Config |= NIN_CFG_AUTO_BOOT; nin_config->Config |= NIN_CFG_AUTO_BOOT;
if(ninUSBHIDChoice) if(ninUSBHIDChoice)
nin_config->Config |= NIN_CFG_HID; // auto enabled by nintendont on vWii nin_config->Config |= NIN_CFG_HID; // auto enabled by nintendont on vWii
if(!IosLoader::isWiiU()) if(ninOSReportChoice)
nin_config->Config |= NIN_CFG_OSREPORT; // log OS reports only on Wii. todo: add a user setting? nin_config->Config |= NIN_CFG_OSREPORT;
if(strncmp(RealPath, "usb", 3) == 0) if(strncmp(RealPath, "usb", 3) == 0)
nin_config->Config |= NIN_CFG_USB; // r40+ nin_config->Config |= NIN_CFG_USB; // r40+
if(ninLEDChoice)
nin_config->Config |= NIN_CFG_LED; // r45+
if(ninLogChoice)
nin_config->Config |= NIN_CFG_LOG; // v1.109+
// Max Pads - Auto disabled by nintendont on vWii
// Max Pads - Make a proper setting later nin_config->MaxPads = (!IosLoader::isWiiU() && !ninUSBHIDChoice && ninMaxPadsChoice == 0) ? 4 : ninMaxPadsChoice; // NIN_CFG_VERSION 2 r42
nin_config->MaxPads = 4; // NIN_CFG_VERSION 2 r42
// GameID for MCEmu // GameID for MCEmu
memcpy(&nin_config->GameID, gameHdr->id, 4); // NIN_CFG_VERSION 2 r83 memcpy(&nin_config->GameID, gameHdr->id, 4); // NIN_CFG_VERSION 2 r83