* Fixed extracted save's path on EmuNand.

This commit is contained in:
cyan 2011-09-25 09:49:04 +00:00
parent 174749c3c0
commit 4fd8bea2f5
5 changed files with 30 additions and 28 deletions

View File

@ -1,5 +1,5 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# French.lang - r1111 # French.lang - r1117
# don't delete/change this line (é). # don't delete/change this line (é).
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,11 +1,11 @@
# USB Loader GX # USB Loader GX
# german.lang - r1114 # german.lang - r1117
# 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: 2011-09-24 15:12+0200\n" "POT-Creation-Date: 2011-09-24 16:37+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"
@ -137,7 +137,7 @@ msgid "All Partitions"
msgstr "Alle Partitionen" msgstr "Alle Partitionen"
msgid "All files extracted." msgid "All files extracted."
msgstr "" msgstr "Alle Dateien entpackt."
msgid "All images downloaded successfully." msgid "All images downloaded successfully."
msgstr "Alle Bilder erfolgreich heruntergeladen" msgstr "Alle Bilder erfolgreich heruntergeladen"
@ -367,7 +367,7 @@ msgid "Continue to install game?"
msgstr "Fortfahren um Spiel zu installieren?" msgstr "Fortfahren um Spiel zu installieren?"
msgid "Continue?" msgid "Continue?"
msgstr "" msgstr "Weiter?"
msgid "Controllevel" msgid "Controllevel"
msgstr "Alterseinstufung" msgstr "Alterseinstufung"
@ -386,7 +386,7 @@ msgid "Could not create path: %s"
msgstr "Konnte Pfad nicht erstellen: %s" msgstr "Konnte Pfad nicht erstellen: %s"
msgid "Could not extract files for:" msgid "Could not extract files for:"
msgstr "" msgstr "Konnte Dateien nicht entpacken für:"
msgid "Could not find info for this game in the wiitdb.xml." msgid "Could not find info for this game in the wiitdb.xml."
msgstr "Konnte keine Info für das Spiel in der wiitdb.xml finden." msgstr "Konnte keine Info für das Spiel in der wiitdb.xml finden."
@ -410,7 +410,7 @@ msgid "Could not save."
msgstr "Es konnte nicht gespeichert werden." msgstr "Es konnte nicht gespeichert werden."
msgid "Could not write file." msgid "Could not write file."
msgstr "" msgstr "Konnte Datei nicht erstellen."
msgid "Could not write to:" msgid "Could not write to:"
msgstr "Konnte nicht schreiben zu:" msgstr "Konnte nicht schreiben zu:"
@ -521,10 +521,10 @@ msgid "Do you want to download this theme?"
msgstr "Dieses Theme herunterladen?" msgstr "Dieses Theme herunterladen?"
msgid "Do you want to extract all the save games?" msgid "Do you want to extract all the save games?"
msgstr "" msgstr "Sollen alle Spielstände entpackt werden?"
msgid "Do you want to extract the save game?" msgid "Do you want to extract the save game?"
msgstr "" msgstr "Soll der Spielstand entpackt werden?"
msgid "Do you want to format:" msgid "Do you want to format:"
msgstr "Formatieren:" msgstr "Formatieren:"
@ -637,7 +637,7 @@ msgid "Error:"
msgstr "Fehler:" msgstr "Fehler:"
msgid "Errors occured." msgid "Errors occured."
msgstr "" msgstr "Fehler aufgetreten."
msgid "Exit" msgid "Exit"
msgstr "Beenden" msgstr "Beenden"
@ -646,19 +646,19 @@ msgid "Exit to where?"
msgstr "Beenden zum..." msgstr "Beenden zum..."
msgid "Export All Saves to EmuNand" msgid "Export All Saves to EmuNand"
msgstr "" msgstr "Alle Spielstände nach EmuNand exportiren."
msgid "Extract Save to EmuNand" msgid "Extract Save to EmuNand"
msgstr "" msgstr "Spielstand auf EmuNand entpacken"
msgid "Extracting file:" msgid "Extracting file:"
msgstr "" msgstr "Entpacke Datei:"
msgid "Extracting files..." msgid "Extracting files..."
msgstr "Entpacke Dateien..." msgstr "Entpacke Dateien..."
msgid "Extracting files:" msgid "Extracting files:"
msgstr "" msgstr "Entpacke Dateien:"
msgid "Failed" msgid "Failed"
msgstr "Fehlgeschlagen" msgstr "Fehlgeschlagen"
@ -667,7 +667,7 @@ msgid "Failed formating"
msgstr "Formatieren fehlgeschlagen" msgstr "Formatieren fehlgeschlagen"
msgid "Failed to extract all files. Savegame might not exist." msgid "Failed to extract all files. Savegame might not exist."
msgstr "" msgstr "Fehler! Nicht alle Dateien entpackt. Spielstände existieren möglicherweise nicht."
msgid "Failed to extract." msgid "Failed to extract."
msgstr "Entpacken fehlgeschlagen." msgstr "Entpacken fehlgeschlagen."
@ -691,7 +691,7 @@ msgid "File not found."
msgstr "Datei nicht gefunden." msgstr "Datei nicht gefunden."
msgid "Files extracted successfully." msgid "Files extracted successfully."
msgstr "" msgstr "Dateien erfolgreich entpackt."
#, c-format #, c-format
msgid "Filesize is %i Byte." msgid "Filesize is %i Byte."
@ -904,7 +904,7 @@ msgid "Install a game"
msgstr "Spiel installieren" msgstr "Spiel installieren"
msgid "Install finished" msgid "Install finished"
msgstr "" msgstr "Installation beendet"
msgid "Installing content... Ok!" msgid "Installing content... Ok!"
msgstr "Installiere Inhalt... OK!" msgstr "Installiere Inhalt... OK!"
@ -1241,7 +1241,7 @@ msgid "Prev"
msgstr "Zurück" msgstr "Zurück"
msgid "Process finished." msgid "Process finished."
msgstr "" msgstr "Vorgang abgeschlossen."
msgid "Prompts Buttons" msgid "Prompts Buttons"
msgstr "Anzeige" msgstr "Anzeige"
@ -1271,7 +1271,7 @@ msgid "Reload SD"
msgstr "SD Karte neuladen" msgstr "SD Karte neuladen"
msgid "Reloading game list now, please wait..." msgid "Reloading game list now, please wait..."
msgstr "" msgstr "Aktualisiere Spieleliste, bitte warten..."
msgid "Remember Unlock" msgid "Remember Unlock"
msgstr "Entsperrung behalten" msgstr "Entsperrung behalten"
@ -1337,7 +1337,7 @@ msgid "Saved"
msgstr "Gespeichert" msgstr "Gespeichert"
msgid "Savegame might not exist for this game." msgid "Savegame might not exist for this game."
msgstr "" msgstr "Möglicherweise existiert kein Spielstand für dieses Spiel."
msgid "Screensaver" msgid "Screensaver"
msgstr "Bildschirmschoner" msgstr "Bildschirmschoner"
@ -1382,7 +1382,7 @@ msgid "Shutdown Wii"
msgstr "Wii ausschalten" msgstr "Wii ausschalten"
msgid "Skip Errors" msgid "Skip Errors"
msgstr "" msgstr "Fehler überspringen"
msgid "Sneek Video Patch" msgid "Sneek Video Patch"
msgstr "Sneek Video Patch" msgstr "Sneek Video Patch"
@ -1430,10 +1430,10 @@ msgid "Success"
msgstr "Erfolgreich" msgstr "Erfolgreich"
msgid "Success." msgid "Success."
msgstr "" msgstr "Erfolg."
msgid "Success:" msgid "Success:"
msgstr "Erfolgreich:" msgstr "Erfolg:"
msgid "Successfully Saved" msgid "Successfully Saved"
msgstr "Erfolgreich gespeichert" msgstr "Erfolgreich gespeichert"
@ -1478,10 +1478,10 @@ msgid "The game installation is disabled under this IOS because of instability i
msgstr "Das Installieren von Spielen ist bei Verwendung dieses IOS wegen Instabilität beim USB-Schreiben deaktiviert." msgstr "Das Installieren von Spielen ist bei Verwendung dieses IOS wegen Instabilität beim USB-Schreiben deaktiviert."
msgid "The save game will be extracted to your emu nand path." msgid "The save game will be extracted to your emu nand path."
msgstr "" msgstr "Der Spielstand wird zum EmuNand Pfad entpackt."
msgid "The save games will be extracted to your emu nand path. Attention: All existing saves will be overwritten." msgid "The save games will be extracted to your emu nand path. Attention: All existing saves will be overwritten."
msgstr "" msgstr "Die Spielstände werden zum EmuNand-Pfad entpackt. Achtung: Alle vorhandenen Spielstände werden überschrieben."
msgid "The wad file was installed" msgid "The wad file was installed"
msgstr "Die Wad Datei wurde installiert" msgstr "Die Wad Datei wurde installiert"

View File

@ -1,5 +1,5 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# japanese.lang - r1108 # japanese.lang - r1117
# don't delete/change this line (e). # don't delete/change this line (e).
msgid "" msgid ""
msgstr "" msgstr ""
@ -521,7 +521,7 @@ msgid "Do you want to download this theme?"
msgstr "ダウンロードしますか?" msgstr "ダウンロードしますか?"
msgid "Do you want to extract all the save games?" msgid "Do you want to extract all the save games?"
msgstr "" msgstr "全てのセーブを書き出しますか?"
msgid "Do you want to extract the save game?" msgid "Do you want to extract the save game?"
msgstr "セーブデータを書き出しますか?" msgstr "セーブデータを書き出しますか?"
@ -1481,7 +1481,7 @@ msgid "The save game will be extracted to your emu nand path."
msgstr "セーブデータはエミュNANDパスに書き出されます" msgstr "セーブデータはエミュNANDパスに書き出されます"
msgid "The save games will be extracted to your emu nand path. Attention: All existing saves will be overwritten." msgid "The save games will be extracted to your emu nand path. Attention: All existing saves will be overwritten."
msgstr "" msgstr "セーブデータはエミュNANDパスに書き出されます 注意:すでにあるセーブは上書きされます"
msgid "The wad file was installed" msgid "The wad file was installed"
msgstr "wadがインストールされました" msgstr "wadがインストールされました"

View File

@ -245,6 +245,7 @@ int FeatureSettingsMenu::GetMenuInternal()
if(ret < 0) //! Games with installable channels: Mario Kart, Wii Fit, etc. if(ret < 0) //! Games with installable channels: Mario Kart, Wii Fit, etc.
{ {
snprintf(nandPath, sizeof(nandPath), "/title/00010004/%02x%02x%02x%02x", gameList[i]->id[0], gameList[i]->id[1], gameList[i]->id[2], gameList[i]->id[3]); snprintf(nandPath, sizeof(nandPath), "/title/00010004/%02x%02x%02x%02x", gameList[i]->id[0], gameList[i]->id[1], gameList[i]->id[2], gameList[i]->id[3]);
snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuPath, nandPath);
ret = NandTitle::ExtractDir(nandPath, filePath); ret = NandTitle::ExtractDir(nandPath, filePath);
} }
if(ret < 0 && !skipErrors) if(ret < 0 && !skipErrors)

View File

@ -150,6 +150,7 @@ void GameSettingsMenu::CreateSettingsMenu(int menuNr)
if(ret < 0) //! Games with installable channels: Mario Kart, Wii Fit, etc. if(ret < 0) //! Games with installable channels: Mario Kart, Wii Fit, etc.
{ {
snprintf(nandPath, sizeof(nandPath), "/title/00010004/%02x%02x%02x%02x", DiscHeader->id[0], DiscHeader->id[1], DiscHeader->id[2], DiscHeader->id[3]); snprintf(nandPath, sizeof(nandPath), "/title/00010004/%02x%02x%02x%02x", DiscHeader->id[0], DiscHeader->id[1], DiscHeader->id[2], DiscHeader->id[3]);
snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuPath, nandPath);
ret = NandTitle::ExtractDir(nandPath, filePath); ret = NandTitle::ExtractDir(nandPath, filePath);
} }
ProgressStop(); ProgressStop();