*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"> <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>2.3 r1145</version> <version>2.3 r1146</version>
<release_date>201201031816</release_date> <release_date>201201041810</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

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

View File

@ -1,5 +1,5 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# italian.lang - r1142 # italian.lang - r1146
# don't delete/change this line (é). # don't delete/change this line (é).
msgid "" msgid ""
msgstr "" msgstr ""
@ -258,7 +258,7 @@ msgstr "Impossibile creare la cartella"
#, c-format #, c-format
msgid "Can't create file: %s" msgid "Can't create file: %s"
msgstr "" msgstr "Impossibile creare il file: %s"
#, c-format #, c-format
msgid "Can't create path: %s" msgid "Can't create path: %s"
@ -269,11 +269,11 @@ msgstr "Impossibile eliminare:"
#, c-format #, c-format
msgid "Can't open file: %s" msgid "Can't open file: %s"
msgstr "" msgstr "Impossibile aprire il file: %s"
#, c-format #, c-format
msgid "Can't read file: %s" msgid "Can't read file: %s"
msgstr "" msgstr "Impossibile leggere il file: %s"
msgid "Cancel" msgid "Cancel"
msgstr "Annulla" msgstr "Annulla"
@ -346,7 +346,7 @@ msgid "Content"
msgstr "Nel contenuto" msgstr "Nel contenuto"
msgid "Continue" msgid "Continue"
msgstr "" msgstr "Prosegui"
msgid "Continue to install game?" msgid "Continue to install game?"
msgstr "Proseguire con l'installarazione del gioco?" msgstr "Proseguire con l'installarazione del gioco?"
@ -682,13 +682,13 @@ msgid "Failed to open partition"
msgstr "Accesso alla partizione fallito" msgstr "Accesso alla partizione fallito"
msgid "Failed to read ticket." msgid "Failed to read ticket."
msgstr "" msgstr "Lettura del ticket fallita."
msgid "Failed to read tmd file." msgid "Failed to read tmd file."
msgstr "" msgstr "Lettura del file tmd fallita."
msgid "Failed to read wad header." msgid "Failed to read wad header."
msgstr "" msgstr "Lettura dell'header del wad fallita."
msgid "Failed updating" msgid "Failed updating"
msgstr "Aggiornamento fallito" msgstr "Aggiornamento fallito"
@ -706,7 +706,7 @@ msgid "File not found."
msgstr "File non trovato." msgstr "File non trovato."
msgid "File read/write error." msgid "File read/write error."
msgstr "" msgstr "Errore di lettura/scrittura nel file"
msgid "Files extracted successfully." msgid "Files extracted successfully."
msgstr "File estratti con successo." msgstr "File estratti con successo."
@ -928,7 +928,7 @@ msgid "Install Partitions"
msgstr "Installa Partizioni" msgstr "Installa Partizioni"
msgid "Install WAD to EmuNand" msgid "Install WAD to EmuNand"
msgstr "" msgstr "Installa WAD nella NAND Emulata"
msgid "Install a game" msgid "Install a game"
msgstr "Installa un gioco" msgstr "Installa un gioco"
@ -937,16 +937,16 @@ msgid "Install finished"
msgstr "Installazione completata" msgstr "Installazione completata"
msgid "Installing content" msgid "Installing content"
msgstr "" msgstr "Intallando contenuto"
msgid "Installing game:" msgid "Installing game:"
msgstr "Intallando gioco:" msgstr "Intallando gioco:"
msgid "Installing title..." msgid "Installing title..."
msgstr "" msgstr "Intallando titolo..."
msgid "Invalid wad file." msgid "Invalid wad file."
msgstr "" msgstr "File WAD invalido."
msgid "Issue manager /" msgid "Issue manager /"
msgstr "Gestore problemi /" 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." msgstr "Il cambio della porta USB è possibile solo con i cIOS di Hermes."
msgid "Uninstall" msgid "Uninstall"
msgstr "" msgstr "Disinstalla"
msgid "Uninstall Game" msgid "Uninstall Game"
msgstr "Disinstalla Gioco" msgstr "Disinstalla Gioco"
@ -1675,7 +1675,7 @@ msgid "Virtual Pointer Speed"
msgstr "Velocità Puntatore Virtuale" msgstr "Velocità Puntatore Virtuale"
msgid "WAD Installation" msgid "WAD Installation"
msgstr "" msgstr "Installazione WAD"
msgid "WDM Files Path" msgid "WDM Files Path"
msgstr "Percorso dei file WDM" msgstr "Percorso dei file WDM"
@ -1693,7 +1693,7 @@ msgid "Warning:"
msgstr "Attenzione:" msgstr "Attenzione:"
msgid "What do you want to do?" msgid "What do you want to do?"
msgstr "" msgstr "Che cosa vuoi fare?"
msgid "What do you want to update?" msgid "What do you want to update?"
msgstr "Che cosa vuoi aggiornare?" msgstr "Che cosa vuoi aggiornare?"
@ -1745,7 +1745,7 @@ msgstr "Debugger Wiird"
#, c-format #, c-format
msgid "Write error on file: %s" msgid "Write error on file: %s"
msgstr "" msgstr "Errore di scrittura sul file: %s"
msgid "Writing GXGameCategories.xml" msgid "Writing GXGameCategories.xml"
msgstr "Scrivendo GXGameCategories.xml" msgstr "Scrivendo GXGameCategories.xml"
@ -1818,78 +1818,3 @@ msgstr "di"
msgid "seconds left" msgid "seconds left"
msgstr "secondi rimanenti" 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 # list of directories containing libraries, this must be the top level containing
# include and lib # 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 # no real need to edit anything past this point unless you need to add additional
# rules for different file extensions # 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/ \ export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) -L$(CURDIR)/source/libs/libfat/ \
-L$(CURDIR)/source/libs/libntfs/ -L$(CURDIR)/source/libs/libext2fs/ \ -L$(CURDIR)/source/libs/libntfs/ -L$(CURDIR)/source/libs/libext2fs/ \
-L$(LIBOGC_LIB) -L$(LIBOGC_LIB) -L$(PORTLIBS)
export OUTPUT := $(CURDIR)/$(TARGET) export OUTPUT := $(CURDIR)/$(TARGET)
.PHONY: $(BUILD) lang all clean .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); snprintf(txtpath, sizeof(txtpath), "%s%s.txt", Settings.TxtCheatcodespath, id);
char codeurl[250]; 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); struct block file = downloadfile(codeurl);

View File

@ -250,9 +250,20 @@ int FeatureSettingsMenu::GetMenuInternal()
gameList.LoadUnfiltered(); gameList.LoadUnfiltered();
for(int i = 0; i < gameList.size(); ++i) for(int i = 0; i < gameList.size(); ++i)
{
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(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); snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuPath, nandPath);
}
ShowProgress(tr("Extracting files:"), GameTitles.GetTitle(gameList[i]), 0, 0, -1, true, false); 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 filePath[512];
char nandPath[512]; char nandPath[512];
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(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); snprintf(filePath, sizeof(filePath), "%s%s", Settings.NandEmuPath, nandPath);
}
ProgressCancelEnable(true); ProgressCancelEnable(true);
StartProgress(tr("Extracting file:"), 0, 0, true, false); StartProgress(tr("Extracting file:"), 0, 0, true, false);