*Fixed Save game extraction for channels. It will extract to EmuNand Channel path.

*Fixed Ocarina code downloading for Channels.
*Moved portlib reference in makefile to fix possible compiling errors.
(Thanks to Dimok for all those changes)
*Update French and Italian language.
This commit is contained in:
Cyan 2012-01-04 20:10:38 +00:00
parent d575365c53
commit a1e6c04b89
7 changed files with 50 additions and 106 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>2.3 r1145</version>
<release_date>201201031816</release_date>
<version>2.3 r1146</version>
<release_date>201201041810</release_date>
<!-- // remove this line to enable arguments
<arguments>
<arg>--ios=250</arg>

View File

@ -1,5 +1,5 @@
# USB Loader GX language source file.
# French.lang - r1144
# French.lang - r1146
# don't delete/change this line (é).
msgid ""
msgstr ""
@ -928,7 +928,7 @@ msgid "Install Partitions"
msgstr "Installation"
msgid "Install WAD to EmuNand"
msgstr "Installer WAD sur EmuNand"
msgstr "Installer WAD sur ÉmuNand"
msgid "Install a game"
msgstr "Installer un jeu"
@ -937,13 +937,13 @@ msgid "Install finished"
msgstr "Installation terminée"
msgid "Installing content"
msgstr "Installation contenu"
msgstr "Installation du contenu"
msgid "Installing game:"
msgstr "Installation du jeu:"
msgid "Installing title..."
msgstr "Installation titre..."
msgstr "Installation du titre..."
msgid "Invalid wad file."
msgstr "Fichier wad non valide."

View File

@ -1,5 +1,5 @@
# USB Loader GX language source file.
# italian.lang - r1142
# italian.lang - r1146
# don't delete/change this line (é).
msgid ""
msgstr ""
@ -258,7 +258,7 @@ msgstr "Impossibile creare la cartella"
#, c-format
msgid "Can't create file: %s"
msgstr ""
msgstr "Impossibile creare il file: %s"
#, c-format
msgid "Can't create path: %s"
@ -269,11 +269,11 @@ msgstr "Impossibile eliminare:"
#, c-format
msgid "Can't open file: %s"
msgstr ""
msgstr "Impossibile aprire il file: %s"
#, c-format
msgid "Can't read file: %s"
msgstr ""
msgstr "Impossibile leggere il file: %s"
msgid "Cancel"
msgstr "Annulla"
@ -346,7 +346,7 @@ msgid "Content"
msgstr "Nel contenuto"
msgid "Continue"
msgstr ""
msgstr "Prosegui"
msgid "Continue to install game?"
msgstr "Proseguire con l'installarazione del gioco?"
@ -682,13 +682,13 @@ msgid "Failed to open partition"
msgstr "Accesso alla partizione fallito"
msgid "Failed to read ticket."
msgstr ""
msgstr "Lettura del ticket fallita."
msgid "Failed to read tmd file."
msgstr ""
msgstr "Lettura del file tmd fallita."
msgid "Failed to read wad header."
msgstr ""
msgstr "Lettura dell'header del wad fallita."
msgid "Failed updating"
msgstr "Aggiornamento fallito"
@ -706,7 +706,7 @@ msgid "File not found."
msgstr "File non trovato."
msgid "File read/write error."
msgstr ""
msgstr "Errore di lettura/scrittura nel file"
msgid "Files extracted successfully."
msgstr "File estratti con successo."
@ -928,7 +928,7 @@ msgid "Install Partitions"
msgstr "Installa Partizioni"
msgid "Install WAD to EmuNand"
msgstr ""
msgstr "Installa WAD nella NAND Emulata"
msgid "Install a game"
msgstr "Installa un gioco"
@ -937,16 +937,16 @@ msgid "Install finished"
msgstr "Installazione completata"
msgid "Installing content"
msgstr ""
msgstr "Intallando contenuto"
msgid "Installing game:"
msgstr "Intallando gioco:"
msgid "Installing title..."
msgstr ""
msgstr "Intallando titolo..."
msgid "Invalid wad file."
msgstr ""
msgstr "File WAD invalido."
msgid "Issue manager /"
msgstr "Gestore problemi /"
@ -1596,7 +1596,7 @@ msgid "USB Port changing is only supported on Hermes cIOS."
msgstr "Il cambio della porta USB è possibile solo con i cIOS di Hermes."
msgid "Uninstall"
msgstr ""
msgstr "Disinstalla"
msgid "Uninstall Game"
msgstr "Disinstalla Gioco"
@ -1675,7 +1675,7 @@ msgid "Virtual Pointer Speed"
msgstr "Velocità Puntatore Virtuale"
msgid "WAD Installation"
msgstr ""
msgstr "Installazione WAD"
msgid "WDM Files Path"
msgstr "Percorso dei file WDM"
@ -1693,7 +1693,7 @@ msgid "Warning:"
msgstr "Attenzione:"
msgid "What do you want to do?"
msgstr ""
msgstr "Che cosa vuoi fare?"
msgid "What do you want to update?"
msgstr "Che cosa vuoi aggiornare?"
@ -1745,7 +1745,7 @@ msgstr "Debugger Wiird"
#, c-format
msgid "Write error on file: %s"
msgstr ""
msgstr "Errore di scrittura sul file: %s"
msgid "Writing GXGameCategories.xml"
msgstr "Scrivendo GXGameCategories.xml"
@ -1818,78 +1818,3 @@ msgstr "di"
msgid "seconds left"
msgstr "secondi rimanenti"
#~ msgid ">> Deleting tickets..."
#~ msgstr ">> Eliminando i ticket..."
#~ msgid ">> Deleting tickets...ERROR! "
#~ msgstr ">> Eliminando i ticket...ERRORE! "
#~ msgid ">> Deleting tickets...Ok! "
#~ msgstr ">> Eliminando i ticket...OK! "
#~ msgid ">> Deleting title ...ERROR! "
#~ msgstr ">> Eliminando titolo...ERRORE! "
#~ msgid ">> Deleting title ...Ok!"
#~ msgstr ">> Eliminando titolo...OK! "
#~ msgid ">> Deleting title contents..."
#~ msgstr ">> Eliminando contenuti..."
#~ msgid ">> Deleting title contents...ERROR! "
#~ msgstr ">> Eliminando contenuti...ERRORE! "
#~ msgid ">> Deleting title contents...Ok!"
#~ msgstr ">> Eliminando contenuti...OK! "
#~ msgid ">> Deleting title..."
#~ msgstr ">> Eliminando titolo..."
#~ msgid ">> Finishing installation..."
#~ msgstr ">> Ultimando l'installazione..."
#~ msgid ">> Installing content #"
#~ msgstr ">> Intallando contenuto #..."
#~ msgid ">> Installing ticket..."
#~ msgstr ">> Installando ticket..."
#~ msgid ">> Installing title..."
#~ msgstr ">> Installando titolo..."
#~ msgid ">> Reading WAD data..."
#~ msgstr ">> Leggendo dati WAD..."
#~ msgid ">> Reading WAD data...ERROR! "
#~ msgstr ">> Leggendo dati WAD...ERRORE! "
#~ msgid ">> Reading WAD data...Ok!"
#~ msgstr ">> Leggendo dati WAD...OK!"
#~ msgid "Done!"
#~ msgstr "Fatto!"
#~ msgid "Error..."
#~ msgstr "Errore..."
#~ msgid "Finishing installation... Ok!"
#~ msgstr "Completando l'installazione... OK!"
#~ msgid "Installing content... Ok!"
#~ msgstr "Intallando contenuto... OK!"
#~ msgid "Installing ticket... Ok!"
#~ msgstr "intallando ticket... OK!"
#~ msgid "Installing title... Ok!"
#~ msgstr "Intallando titolo... OK!"
#~ msgid "Installing wad"
#~ msgstr "Intallando WAD"
#~ msgid "Reading WAD data... Ok!"
#~ msgstr "Leggendo dati WAD... OK!"
#~ msgid "Uninstalling wad"
#~ msgstr "Disinstallando il WAD"

View File

@ -80,7 +80,7 @@ LIBS := -lpngu -lpng -lgd -lm -lz -lwiiuse -lbte -lasnd -logc -lfreetype -lvorb
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(DEVKITPPC)/lib $(CURDIR) $(PORTLIBS)
LIBDIRS := $(DEVKITPPC)/lib $(CURDIR)
#---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional
# rules for different file extensions
@ -141,7 +141,7 @@ export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
#---------------------------------------------------------------------------------
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) -L$(CURDIR)/source/libs/libfat/ \
-L$(CURDIR)/source/libs/libntfs/ -L$(CURDIR)/source/libs/libext2fs/ \
-L$(LIBOGC_LIB)
-L$(LIBOGC_LIB) -L$(PORTLIBS)
export OUTPUT := $(CURDIR)/$(TARGET)
.PHONY: $(BUILD) lang all clean

View File

@ -1310,7 +1310,7 @@ int CodeDownload(const char *id)
snprintf(txtpath, sizeof(txtpath), "%s%s.txt", Settings.TxtCheatcodespath, id);
char codeurl[250];
snprintf(codeurl, sizeof(codeurl), "http://geckocodes.org/codes/R/%s.txt", id);
snprintf(codeurl, sizeof(codeurl), "http://geckocodes.org/txt.php?txt=%s", id);
struct block file = downloadfile(codeurl);

View File

@ -251,8 +251,19 @@ int FeatureSettingsMenu::GetMenuInternal()
for(int i = 0; i < gameList.size(); ++i)
{
snprintf(nandPath, sizeof(nandPath), "/title/00010000/%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);
if(gameList[i]->type != TYPE_GAME_WII && gameList[i]->type != TYPE_GAME_NANDCHAN)
continue;
if(gameList[i]->tid != 0) //! Channels
{
snprintf(nandPath, sizeof(nandPath), "/title/%08x/%08x/data", (u32) (gameList[i]->tid >> 32), (u32) gameList[i]->tid );
snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuChanPath, nandPath);
}
else //! Wii games
{
snprintf(nandPath, sizeof(nandPath), "/title/00010000/%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);
}
ShowProgress(tr("Extracting files:"), GameTitles.GetTitle(gameList[i]), 0, 0, -1, true, false);

View File

@ -143,8 +143,16 @@ void GameSettingsMenu::CreateSettingsMenu(int menuNr)
{
char filePath[512];
char nandPath[512];
snprintf(nandPath, sizeof(nandPath), "/title/00010000/%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);
if(DiscHeader->tid != 0) //! Channels
{
snprintf(nandPath, sizeof(nandPath), "/title/%08x/%08x/data", (u32) (DiscHeader->tid >> 32), (u32) DiscHeader->tid);
snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuChanPath, nandPath);
}
else //! Wii games
{
snprintf(nandPath, sizeof(nandPath), "/title/00010000/%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);
}
ProgressCancelEnable(true);
StartProgress(tr("Extracting file:"), 0, 0, true, false);