*Moved file receiving over TCP to TitleBrowser (Channel Browser)

*Fixed the receiving of the wads. Now receiving directly to a device (Big files work now too (with sendelf they do, do not know about wiiload))

*Fixed to show the incoming IP and not the IP of the Wii

*Made changes on bootup. Now there is a small BootUp Screen for the slow HDD people. Waiting for 30Secs for their HDD.
This commit is contained in:
dimok321 2009-07-31 20:15:55 +00:00
parent 8d3e04b666
commit 06889b794a
29 changed files with 521 additions and 262 deletions

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: David Jelinek (djelinek@hotmail.com) \n" "Last-Translator: David Jelinek (djelinek@hotmail.com) \n"
"Language-Team: r675 - last version on http://startgolf.tym.cz/czech.lang \n" "Language-Team: r675 - last version on http://startgolf.tym.cz/czech.lang \n"
@ -728,6 +728,9 @@ msgstr "Nenalezeno"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Toto není Wii disk" msgstr "Toto není Wii disk"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Není dostatek volné pameti" msgstr "Není dostatek volné pameti"
@ -860,9 +863,6 @@ msgstr "Uložit"
msgid "Save Failed" msgid "Save Failed"
msgstr "Uložení selhalo" msgstr "Uložení selhalo"
msgid "Saving"
msgstr "Ukládání"
msgid "Screensaver" msgid "Screensaver"
msgstr "Sporic obrazovky" msgstr "Sporic obrazovky"
@ -929,6 +929,9 @@ msgstr "Cesta k TXT cheatum"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Cesta k TXT cheatum zmenena" msgstr "Cesta k TXT cheatum zmenena"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "WAD soubor byl nainstalován, ale nelze smazat z SD karty" msgstr "WAD soubor byl nainstalován, ale nelze smazat z SD karty"
@ -1140,3 +1143,5 @@ msgstr "z "
msgid "seconds left" msgid "seconds left"
msgstr "sekund zbývá" msgstr "sekund zbývá"
#~ msgid "Saving"
#~ msgstr "Ukládání"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Ikke fundet"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Ikke en Wii-DVD" msgstr "Ikke en Wii-DVD"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Ikke nok fri hukommelse" msgstr "Ikke nok fri hukommelse"
@ -860,9 +863,6 @@ msgstr "Gem"
msgid "Save Failed" msgid "Save Failed"
msgstr "Gem mislykkedes" msgstr "Gem mislykkedes"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "Screensaver" msgstr "Screensaver"
@ -929,6 +929,9 @@ msgstr "Sti til TXTCheatcodes"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Sti til TXTCheatcodes ændret" msgstr "Sti til TXTCheatcodes ændret"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "WAD-filen blev installeret. Den kunne ikke slettes fra SD-kortet." msgstr "WAD-filen blev installeret. Den kunne ikke slettes fra SD-kortet."
@ -1139,4 +1142,3 @@ msgstr "af"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder tilbage" msgstr "sekunder tilbage"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: tj_cool\n" "Last-Translator: tj_cool\n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Niet gevonden"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Geen Wii DVD" msgstr "Geen Wii DVD"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Niet genoeg vrije ruimte" msgstr "Niet genoeg vrije ruimte"
@ -860,9 +863,6 @@ msgstr "Opslaan"
msgid "Save Failed" msgid "Save Failed"
msgstr "Opslaan mislukt" msgstr "Opslaan mislukt"
msgid "Saving"
msgstr "Bewaren..."
msgid "Screensaver" msgid "Screensaver"
msgstr "Schermbeveiliging" msgstr "Schermbeveiliging"
@ -929,6 +929,9 @@ msgstr "Locatie TXT Cheats"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Locatie TXTcodes gewijzigd" msgstr "Locatie TXTcodes gewijzigd"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "Het wad bestand is geinstalleerd, maar kon niet van de SD kaart worden verwijderd " msgstr "Het wad bestand is geinstalleerd, maar kon niet van de SD kaart worden verwijderd "
@ -1140,3 +1143,5 @@ msgstr "van"
msgid "seconds left" msgid "seconds left"
msgstr "seconden over:" msgstr "seconden over:"
#~ msgid "Saving"
#~ msgstr "Bewaren..."

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "" msgstr ""
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr ""
msgid "Save Failed" msgid "Save Failed"
msgstr "" msgstr ""
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Ei Wii-levy" msgstr "Ei Wii-levy"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Tallenna"
msgid "Save Failed" msgid "Save Failed"
msgstr "Tallennus ei onnistunut" msgstr "Tallennus ei onnistunut"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""
@ -1139,4 +1142,3 @@ msgstr "josta"
msgid "seconds left" msgid "seconds left"
msgstr "sekuntia jäljellä" msgstr "sekuntia jäljellä"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kin8\n" "Last-Translator: Kin8\n"
"Language-Team: Badablek, Amour, ikya, OuahOuah, dj_skual & Kin8\n" "Language-Team: Badablek, Amour, ikya, OuahOuah, dj_skual & Kin8\n"
@ -728,6 +728,9 @@ msgstr "Pas trouvé"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Ce n'est pas un jeu Wii" msgstr "Ce n'est pas un jeu Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Mémoire libre insuffisante" msgstr "Mémoire libre insuffisante"
@ -860,9 +863,6 @@ msgstr "Enregistrer"
msgid "Save Failed" msgid "Save Failed"
msgstr "Échec de sauvegarde" msgstr "Échec de sauvegarde"
msgid "Saving"
msgstr "Sauvegarde"
msgid "Screensaver" msgid "Screensaver"
msgstr "Économiseur d'écran" msgstr "Économiseur d'écran"
@ -929,6 +929,9 @@ msgstr "Dossier TXTCodes Triche"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Dossier TXTCodes Triche modifié" msgstr "Dossier TXTCodes Triche modifié"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "Le Wad a été installé. Mais ne peut être supprimé de la carte SD." msgstr "Le Wad a été installé. Mais ne peut être supprimé de la carte SD."
@ -1140,3 +1143,5 @@ msgstr "sur"
msgid "seconds left" msgid "seconds left"
msgstr "secondes restantes" msgstr "secondes restantes"
#~ msgid "Saving"
#~ msgstr "Sauvegarde"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Nicht gefunden"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Keine Wii Disk" msgstr "Keine Wii Disk"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Nicht genügend freier Speicher" msgstr "Nicht genügend freier Speicher"
@ -860,9 +863,6 @@ msgstr "Speichern"
msgid "Save Failed" msgid "Save Failed"
msgstr "Speichern fehlgeschlagen" msgstr "Speichern fehlgeschlagen"
msgid "Saving"
msgstr "Speichere"
msgid "Screensaver" msgid "Screensaver"
msgstr "Bildschirmschoner" msgstr "Bildschirmschoner"
@ -929,6 +929,9 @@ msgstr "TXTCheatcodes Pfad"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "TXTCheatcodes Pfad geändert" msgstr "TXTCheatcodes Pfad geändert"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "Die wad wurde installiert. Aber Sie konnte nicht von der SD gelöscht werden." msgstr "Die wad wurde installiert. Aber Sie konnte nicht von der SD gelöscht werden."
@ -1140,3 +1143,5 @@ msgstr "von"
msgid "seconds left" msgid "seconds left"
msgstr "Sekunden verbleiben" msgstr "Sekunden verbleiben"
#~ msgid "Saving"
#~ msgstr "Speichere"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Tusk\n" "Last-Translator: Tusk\n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Nem Wii lemez" msgstr "Nem Wii lemez"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Mentés"
msgid "Save Failed" msgid "Save Failed"
msgstr "Mentési hiba" msgstr "Mentési hiba"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "Képernyõkimélõ" msgstr "Képernyõkimélõ"
@ -929,6 +929,9 @@ msgstr "TXTKódok Útvonala"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-24 11:00+0200\n" "PO-Revision-Date: 2009-07-24 11:00+0200\n"
"Last-Translator: Cambo \n" "Last-Translator: Cambo \n"
"Language-Team: FoxeJoe & Cambo\n" "Language-Team: FoxeJoe & Cambo\n"
@ -728,6 +728,9 @@ msgstr "Non Trovato"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Non è un Disco Wii" msgstr "Non è un Disco Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Memoria insufficiente" msgstr "Memoria insufficiente"
@ -860,9 +863,6 @@ msgstr "Salva"
msgid "Save Failed" msgid "Save Failed"
msgstr "Salvataggio Fallito" msgstr "Salvataggio Fallito"
msgid "Saving"
msgstr "Sto salvando"
msgid "Screensaver" msgid "Screensaver"
msgstr "Salvaschermo" msgstr "Salvaschermo"
@ -929,6 +929,9 @@ msgstr "Percorso Trucchi in Txt"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Percorso Trucchi in Txt modificato" msgstr "Percorso Trucchi in Txt modificato"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "File Wad installato. Non si può però eliminare dalla scheda SD." msgstr "File Wad installato. Non si può però eliminare dalla scheda SD."
@ -1140,3 +1143,5 @@ msgstr "di"
msgid "seconds left" msgid "seconds left"
msgstr "secondi mancanti" msgstr "secondi mancanti"
#~ msgid "Saving"
#~ msgstr "Sto salvando"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Wiiディスクではありません" msgstr "Wiiディスクではありません"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "セーブ"
msgid "Save Failed" msgid "Save Failed"
msgstr "セーブに失敗しました" msgstr "セーブに失敗しました"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "スクリーンセーバー" msgstr "スクリーンセーバー"
@ -929,6 +929,9 @@ msgstr "TXTチートのパス"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Wii 디스크가 아닙니다" msgstr "Wii 디스크가 아닙니다"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "저장"
msgid "Save Failed" msgid "Save Failed"
msgstr "저장 실패" msgstr "저장 실패"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Ikke funnet"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Ikke en Wii plate" msgstr "Ikke en Wii plate"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Ikke nok ledig minne" msgstr "Ikke nok ledig minne"
@ -860,9 +863,6 @@ msgstr "Lagre"
msgid "Save Failed" msgid "Save Failed"
msgstr "Lagring feilet" msgstr "Lagring feilet"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "Skjermbeskytter" msgstr "Skjermbeskytter"
@ -929,6 +929,9 @@ msgstr "TXTjuksekode sti"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "TXTjuksekode sti endret" msgstr "TXTjuksekode sti endret"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "WAD filen ble installert. Men ble ikke slettet fra SD kort." msgstr "WAD filen ble installert. Men ble ikke slettet fra SD kort."

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n" "Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Nie znaleziono"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "To nie jest plyta Wii" msgstr "To nie jest plyta Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Zapisz"
msgid "Save Failed" msgid "Save Failed"
msgstr "Nie udalo sie zapisac" msgstr "Nie udalo sie zapisac"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "Wygaszacz ekranu" msgstr "Wygaszacz ekranu"
@ -929,6 +929,9 @@ msgstr "Sciezka kodów txt"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Sciezka kodów txt zmienona" msgstr "Sciezka kodów txt zmienona"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "Zainstalowano plik wad, ale nie mozna go usunac z karty SD" msgstr "Zainstalowano plik wad, ale nie mozna go usunac z karty SD"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Não é um Disco de Wii" msgstr "Não é um Disco de Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Guardar"
msgid "Save Failed" msgid "Save Failed"
msgstr "Falha ao Guardar" msgstr "Falha ao Guardar"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-30 12:36\n" "PO-Revision-Date: 2009-07-30 12:36\n"
"Last-Translator: Sky8000\n" "Last-Translator: Sky8000\n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "Não encontrado"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Não é um Disco da Wii" msgstr "Não é um Disco da Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Não há memória livre suficiente" msgstr "Não há memória livre suficiente"
@ -860,9 +863,6 @@ msgstr "Gravar"
msgid "Save Failed" msgid "Save Failed"
msgstr "Falha ao Gravar" msgstr "Falha ao Gravar"
msgid "Saving"
msgstr "Gravando"
msgid "Screensaver" msgid "Screensaver"
msgstr "Protecção de ecrã" msgstr "Protecção de ecrã"
@ -929,6 +929,9 @@ msgstr "Pasta Dicas"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Pasta de Dicas alterada" msgstr "Pasta de Dicas alterada"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "O ficheiro wad foi instalado mas não foi possível eliminá-lo do cartão SD." msgstr "O ficheiro wad foi instalado mas não foi possível eliminá-lo do cartão SD."
@ -1140,3 +1143,5 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "Saving"
#~ msgstr "Gravando"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kir\n" "Last-Translator: Kir\n"
"Language-Team: Kir\n" "Language-Team: Kir\n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Это не диск Wii" msgstr "Это не диск Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Сохранить"
msgid "Save Failed" msgid "Save Failed"
msgstr "Сохранение не удалось" msgstr "Сохранение не удалось"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "Скринсейвер" msgstr "Скринсейвер"
@ -929,6 +929,9 @@ msgstr "Путь к TXT читкодам"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "不是 Wii 的光盘" msgstr "不是 Wii 的光盘"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "保存"
msgid "Save Failed" msgid "Save Failed"
msgstr "保存失败" msgstr "保存失败"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "No encontrado"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "No es un Disco Wii" msgstr "No es un Disco Wii"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "No hay suficiente memoria libre" msgstr "No hay suficiente memoria libre"
@ -860,9 +863,6 @@ msgstr "Guardar"
msgid "Save Failed" msgid "Save Failed"
msgstr "Fallo al guardar" msgstr "Fallo al guardar"
msgid "Saving"
msgstr "Guardando"
msgid "Screensaver" msgid "Screensaver"
msgstr "Protector de Pantalla" msgstr "Protector de Pantalla"
@ -929,6 +929,9 @@ msgstr "Ruta archiv. de trampas"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "Ruta archiv. de trampas cambiada" msgstr "Ruta archiv. de trampas cambiada"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "El archivo wad fue instalado. Pero no pudo ser borrado de la tarj. SD." msgstr "El archivo wad fue instalado. Pero no pudo ser borrado de la tarj. SD."
@ -1140,3 +1143,5 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "Saving"
#~ msgstr "Guardando"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-30 17:20+0200\n" "PO-Revision-Date: 2009-07-30 17:20+0200\n"
"Last-Translator: Katsurou\n" "Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n" "Language-Team: Katsurou, pirateX\n"
@ -728,6 +728,9 @@ msgstr "Hittades inte"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Inte en Wii-skiva" msgstr "Inte en Wii-skiva"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "Inte tillräckligt med ledigt minne" msgstr "Inte tillräckligt med ledigt minne"
@ -860,9 +863,6 @@ msgstr "Spara"
msgid "Save Failed" msgid "Save Failed"
msgstr "Sparning misslyckad" msgstr "Sparning misslyckad"
msgid "Saving"
msgstr "Sparar"
msgid "Screensaver" msgid "Screensaver"
msgstr "Skärmsläckare" msgstr "Skärmsläckare"
@ -929,6 +929,9 @@ msgstr "Sökväg till txt koder"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "TXTCheatcodes sökväg ändrad" msgstr "TXTCheatcodes sökväg ändrad"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "Wad filen har blivit installerad. Men kunde inte raderas från SD-kortet." msgstr "Wad filen har blivit installerad. Men kunde inte raderas från SD-kortet."
@ -1140,3 +1143,5 @@ msgstr "av"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder kvar" msgstr "sekunder kvar"
#~ msgid "Saving"
#~ msgstr "Sparar"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr "無法取得"
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "不是Wii的光碟" msgstr "不是Wii的光碟"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "剩餘記憶體不足" msgstr "剩餘記憶體不足"
@ -860,9 +863,6 @@ msgstr "儲存"
msgid "Save Failed" msgid "Save Failed"
msgstr "儲存失敗" msgstr "儲存失敗"
msgid "Saving"
msgstr "正在儲存"
msgid "Screensaver" msgid "Screensaver"
msgstr "螢幕保護" msgstr "螢幕保護"
@ -929,6 +929,9 @@ msgstr "金手指文字檔路徑"
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "金手指文字檔路徑已變更" msgstr "金手指文字檔路徑已變更"
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "wad檔案已安裝.但無法從SD卡中刪除該檔案." msgstr "wad檔案已安裝.但無法從SD卡中刪除該檔案."
@ -1140,3 +1143,5 @@ msgstr "剩餘空間 總容量"
msgid "seconds left" msgid "seconds left"
msgstr "剩餘秒數" msgstr "剩餘秒數"
#~ msgid "Saving"
#~ msgstr "正在儲存"

View File

@ -4,7 +4,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: 2009-07-30 20:53+0200\n" "POT-Creation-Date: 2009-07-31 20:03+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -728,6 +728,9 @@ msgstr ""
msgid "Not a Wii Disc" msgid "Not a Wii Disc"
msgstr "Wii Diski Degil" msgstr "Wii Diski Degil"
msgid "Not a dol/elf file."
msgstr ""
msgid "Not enough free memory" msgid "Not enough free memory"
msgstr "" msgstr ""
@ -860,9 +863,6 @@ msgstr "Kaydet"
msgid "Save Failed" msgid "Save Failed"
msgstr "Kaydetme Basarisiz" msgstr "Kaydetme Basarisiz"
msgid "Saving"
msgstr ""
msgid "Screensaver" msgid "Screensaver"
msgstr "" msgstr ""
@ -929,6 +929,9 @@ msgstr ""
msgid "TXTCheatcodes Path changed" msgid "TXTCheatcodes Path changed"
msgstr "" msgstr ""
msgid "The file is not a .wad"
msgstr ""
msgid "The wad file was installed. But It could not be deleted from the SD card." msgid "The wad file was installed. But It could not be deleted from the SD card."
msgstr "" msgstr ""

View File

@ -22,10 +22,6 @@
#include "filelist.h" #include "filelist.h"
#include "sys.h" #include "sys.h"
#include "network/http.h" #include "network/http.h"
#include "wad/wad.h"
#define NETWORKBLOCKSIZE 5*1024 //5KB
/*** Extern functions ***/ /*** Extern functions ***/
extern void ResumeGui(); extern void ResumeGui();
@ -38,8 +34,6 @@ extern GuiImage * bgImg;
extern u32 infilesize; extern u32 infilesize;
extern u8 shutdown; extern u8 shutdown;
extern u8 reset; extern u8 reset;
extern s32 connection;
extern void *innetbuffer;
/*** Variables used elsewhere ***/ /*** Variables used elsewhere ***/
u8 boothomebrew = 0; u8 boothomebrew = 0;
@ -793,7 +787,7 @@ int MenuHomebrewBrowse() {
else else
snprintf(filesizetxt, sizeof(filesizetxt), tr("Incoming file %0.2fMB"), infilesize/MBSIZE); snprintf(filesizetxt, sizeof(filesizetxt), tr("Incoming file %0.2fMB"), infilesize/MBSIZE);
snprintf(temp, sizeof(temp), tr("Load file from: %s ?"), GetNetworkIP()); snprintf(temp, sizeof(temp), tr("Load file from: %s ?"), GetIncommingIP());
int choice = WindowPrompt(filesizetxt, temp, tr("OK"), tr("Cancel")); int choice = WindowPrompt(filesizetxt, temp, tr("OK"), tr("Cancel"));
@ -812,7 +806,7 @@ int MenuHomebrewBrowse() {
while (read < infilesize) { while (read < infilesize) {
ShowProgress(tr("Receiving file from:"), GetNetworkIP(), NULL, read, infilesize, true); ShowProgress(tr("Receiving file from:"), GetIncommingIP(), NULL, read, infilesize, true);
if (infilesize - read < (u32) len) if (infilesize - read < (u32) len)
len = infilesize-read; len = infilesize-read;
@ -841,88 +835,18 @@ int MenuHomebrewBrowse() {
WindowPrompt(tr("Error:"), tr("No data could be read."), tr("OK")); WindowPrompt(tr("Error:"), tr("No data could be read."), tr("OK"));
FreeHomebrewBuffer(); FreeHomebrewBuffer();
} else { } else {
//determine what type of file we just got char filename[101];
unsigned char filename[31]; network_read((u8*) &filename, 100);
char tmptxt[31];
net_read(connection, &filename, 30); if (strstr(filename,".dol") || strstr(filename,".DOL")
sprintf(tmptxt,"%s",filename); || strstr(filename,".elf") || strstr(filename,".ELF")) {
//if we got a wad
if (strstr(tmptxt,".wad") || strstr(tmptxt,".WAD")) {
//make a window come up and say that we are saving this file
//because stupid people were clicking buttons while it was saving and tearing stuff up
GuiWindow promptWindow(472,320);
promptWindow.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE);
promptWindow.SetPosition(0, -10);
//char imgPath[100];
snprintf(imgPath, sizeof(imgPath), "%sdialogue_box.png", CFG.theme_path);
GuiImageData dialogBox(imgPath, dialogue_box_png);
GuiImage dialogBoxImg(&dialogBox);
if (Settings.wsprompt == yes) {
dialogBoxImg.SetWidescreen(CFG.widescreen);
}
GuiText msgTxt(tr("Saving"), 20, (GXColor) { THEME.prompttxt_r, THEME.prompttxt_g, THEME.prompttxt_b, 255 });
msgTxt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
msgTxt.SetPosition(0,100);
sprintf(tmptxt,"%s/wad/%s",bootDevice,filename);
GuiText msg2Txt(tmptxt, 26, (GXColor) { THEME.prompttxt_r, THEME.prompttxt_g, THEME.prompttxt_b, 255});
msg2Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
msg2Txt.SetPosition(0,130);
promptWindow.Append(&dialogBoxImg);
promptWindow.Append(&msgTxt);
promptWindow.Append(&msg2Txt);
HaltGui();
mainWindow->SetState(STATE_DISABLED);
mainWindow->Append(&promptWindow);
mainWindow->ChangeFocus(&promptWindow);
ResumeGui();
//what do we want to do with the wad
//save that biatch to the wad folder
FILE * file = fopen(tmptxt, "w");
fwrite (innetbuffer , 1 , infilesize , file );
fclose (file);
HaltGui();
mainWindow->Remove(&promptWindow);
mainWindow->SetState(STATE_DEFAULT);
ResumeGui();
//get it out of the memory
FreeHomebrewBuffer();
//check and make sure the wad we just saved is the correct size
u32 lSize;
file = fopen(tmptxt, "rb");
// obtain file size:
fseek (file , 0 , SEEK_END);
lSize = ftell (file);
rewind (file);
if (lSize==infilesize) {
int pick = WindowPrompt(tr(" Wad Saved as:"), tmptxt, tr("Install"),tr("Uninstall"),tr("Cancel"));
//install or uninstall it
if (pick==1)Wad_Install(file);
if (pick==2)Wad_Uninstall(file);
}
//close that beast, we're done with it
fclose (file);
//do we want to keep the file in the wad folder
if (WindowPrompt(tr("Delete ?"), tmptxt, tr("Delete"),tr("Keep"))!=0)
remove(tmptxt);
} else if (strstr(tmptxt,".dol") || strstr(tmptxt,".DOL") ||
strstr(tmptxt,".elf") || strstr(tmptxt,".ELF")) {
boothomebrew = 2; boothomebrew = 2;
menu = MENU_EXIT; menu = MENU_EXIT;
CloseConnection(); CloseConnection();
break; break;
} else {
FreeHomebrewBuffer();
WindowPrompt(tr("ERROR:"), tr("Not a dol/elf file."), tr("OK"));
} }
} }
} }

View File

@ -1,10 +1,10 @@
/**************************************************************************** /****************************************************************************
* libwiigui Template * USB Loader GX Team
* Tantric 2009
* *
* demo.cpp * Main loadup of the application
* Basic template/demonstration of libwiigui capabilities. For a *
* full-featured app using many more extensions, check out Snes9x GX. * libwiigui
* Tantric 2009
***************************************************************************/ ***************************************************************************/
#include <gccore.h> #include <gccore.h>
@ -16,6 +16,7 @@
#include <unistd.h> #include <unistd.h>
#include <wiiuse/wpad.h> #include <wiiuse/wpad.h>
#include "libwiigui/gui.h"
#include "usbloader/wbfs.h" #include "usbloader/wbfs.h"
#include "settings/cfg.h" #include "settings/cfg.h"
#include "language/gettext.h" #include "language/gettext.h"
@ -42,9 +43,78 @@
FreeTypeGX *fontSystem=0; FreeTypeGX *fontSystem=0;
FreeTypeGX *fontClock=0; FreeTypeGX *fontClock=0;
static void BootUpProblems()
{
s32 ret2;
// load main font from file, or default to built-in font
fontSystem = new FreeTypeGX();
fontSystem->loadFont(NULL, font_ttf, font_ttf_size, 0);
fontSystem->setCompatibilityMode(FTGX_COMPATIBILITY_DEFAULT_TEVOP_GX_PASSCLR | FTGX_COMPATIBILITY_DEFAULT_VTXDESC_GX_NONE);
GuiImageData bootimageData(gxlogo_png);
GuiImage bootimage(&bootimageData);
GuiText boottext(NULL, 20, (GXColor) {255, 255, 255, 255});
boottext.SetPosition(200, 240-1.2*bootimage.GetHeight()/2+250);
bootimage.SetPosition(320-1.2*bootimage.GetWidth()/2, 240-1.2*bootimage.GetHeight()/2);
bootimage.SetScale(1.2);
u8 i = 10;
while (i > 0) {
ret2 = IOS_ReloadIOS(249);
if (ret2 < 0) {
ret2 = IOS_ReloadIOS(222);
load_ehc_module();
if(ret2 <0) {
boottext.SetText("ERROR: cIOS could not be loaded!");
bootimage.Draw();
boottext.Draw();
Menu_Render();
sleep(5);
SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
}
}
ret2 = WBFS_Init(WBFS_DEVICE_USB);
if (ret2 >= 0) {
boottext.SetText("Loading...");
bootimage.Draw();
boottext.Draw();
Menu_Render();
break;
}
boottext.SetTextf("Waiting for your slow USB Device: %i secs...", i);
boottext.Draw();
bootimage.Draw();
Menu_Render();
sleep(1);
i--;
}
if(ret2 < 0) {
boottext.SetText("ERROR: USB device could not be loaded!");
bootimage.Draw();
boottext.Draw();
Menu_Render();
SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
}
///delete font to load up custom if set
if(fontSystem) {
delete fontSystem;
fontSystem = NULL;
}
}
int int
main(int argc, char *argv[]) { main(int argc, char *argv[]) {
s32 ret2;
s32 ret;
bool startupproblem = false;
bool bootDevice_found=false; bool bootDevice_found=false;
if (argc >= 1) { if (argc >= 1) {
@ -55,10 +125,36 @@ main(int argc, char *argv[]) {
bootDevice_found = true; bootDevice_found = true;
} }
ret2 = IOS_ReloadIOS(249); /** PAD_Init has to be before InitVideo don't move that **/
if (ret2 < 0) { PAD_Init(); // initialize PAD/WPAD
ret2 = IOS_ReloadIOS(222);
ret = IOS_ReloadIOS(249);
if (ret < 0) {
ret = IOS_ReloadIOS(222);
load_ehc_module(); load_ehc_module();
if(ret <0) {
printf("\n\tERROR: cIOS could not be loaded!\n");
sleep(5);
SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
}
}
ret = WBFS_Init(WBFS_DEVICE_USB);
if (ret < 0) {
ret = IOS_ReloadIOS(222);
load_ehc_module();
if(ret <0) {
ret = WBFS_Init(WBFS_DEVICE_USB);
if(ret < 0) {
InitVideo(); // Initialise video
Menu_Render();
BootUpProblems();
startupproblem = true;
ret = 1;
}
}
} }
SDCard_Init(); // mount SD for loading cfg's SDCard_Init(); // mount SD for loading cfg's
@ -80,40 +176,38 @@ main(int argc, char *argv[]) {
if (Settings.cios == ios222 && IOS_GetVersion() != 222) { if (Settings.cios == ios222 && IOS_GetVersion() != 222) {
SDCard_deInit();// unmount SD for reloading IOS SDCard_deInit();// unmount SD for reloading IOS
USBDevice_deInit();// unmount USB for reloading IOS USBDevice_deInit();// unmount USB for reloading IOS
ret2 = IOS_ReloadIOS(222); ret = IOS_ReloadIOS(222);
load_ehc_module(); load_ehc_module();
if (ret2 < 0) { if (ret < 0) {
Settings.cios = ios249; Settings.cios = ios249;
ret2 = IOS_ReloadIOS(249); ret = IOS_ReloadIOS(249);
} }
SDCard_Init(); // now mount SD:/ SDCard_Init(); // now mount SD:/
USBDevice_Init(); // and mount USB:/ USBDevice_Init(); // and mount USB:/
} else if (Settings.cios == ios249 && IOS_GetVersion() != 249) { } else if (Settings.cios == ios249 && IOS_GetVersion() != 249) {
SDCard_deInit();// unmount SD for reloading IOS SDCard_deInit();// unmount SD for reloading IOS
USBDevice_deInit();// unmount USB for reloading IOS USBDevice_deInit();// unmount USB for reloading IOS
ret2 = IOS_ReloadIOS(249); ret = IOS_ReloadIOS(249);
if (ret2 < 0) { if (ret < 0) {
Settings.cios = ios222; Settings.cios = ios222;
ret2 = IOS_ReloadIOS(222); ret = IOS_ReloadIOS(222);
load_ehc_module(); load_ehc_module();
} }
SDCard_Init(); // now mount SD:/ SDCard_Init(); // now mount SD:/
USBDevice_Init(); // and mount USB:/ USBDevice_Init(); // and mount USB:/
} }
if (ret2 < 0) { if (ret < 0) {
printf("ERROR: cIOS could not be loaded!"); printf("ERROR: cIOS could not be loaded!");
sleep(5); sleep(5);
SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
} }
//! Init the rest of the System
Sys_Init(); Sys_Init();
/** PAD_Init has to be before InitVideo don't move that **/
PAD_Init(); // initialize PAD/WPAD
Wpad_Init(); Wpad_Init();
if(!startupproblem)
InitVideo(); // Initialise video InitVideo();
InitAudio(); // Initialize audio InitAudio(); // Initialize audio
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR); WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);

View File

@ -1,5 +1,8 @@
#include "http.h" #include "http.h"
extern char incommingIP[50];
/** /**
* Emptyblock is a statically defined variable for functions to return if they are unable * Emptyblock is a statically defined variable for functions to return if they are unable
* to complete a request * to complete a request
@ -44,6 +47,8 @@ static s32 server_connect(u32 ipaddress, u32 socket_port) {
connect_addr.sin_port = socket_port; connect_addr.sin_port = socket_port;
connect_addr.sin_addr.s_addr= ipaddress; connect_addr.sin_addr.s_addr= ipaddress;
sprintf(incommingIP, "%s", inet_ntoa(connect_addr.sin_addr));
//Attemt to open the socket //Attemt to open the socket
if (net_connect(connection, (struct sockaddr*)&connect_addr, sizeof(connect_addr)) == -1) { if (net_connect(connection, (struct sockaddr*)&connect_addr, sizeof(connect_addr)) == -1) {
net_close(connection); net_close(connection);

View File

@ -31,6 +31,7 @@ static bool networkinitialized = false;
static bool checkincomming = false; static bool checkincomming = false;
static bool waitforanswer = false; static bool waitforanswer = false;
static char IP[16]; static char IP[16];
char incommingIP[50];
static lwp_t networkthread = LWP_THREAD_NULL; static lwp_t networkthread = LWP_THREAD_NULL;
static bool networkHalt = true; static bool networkHalt = true;
@ -69,6 +70,13 @@ char * GetNetworkIP(void) {
return IP; return IP;
} }
/****************************************************************************
* Get incomming IP
***************************************************************************/
char * GetIncommingIP(void) {
return incommingIP;
}
/**************************************************************************** /****************************************************************************
* Get network IP * Get network IP
***************************************************************************/ ***************************************************************************/
@ -231,6 +239,8 @@ int NetworkWait() {
connection = net_accept(socket, (struct sockaddr*)&client_address, &addrlen); connection = net_accept(socket, (struct sockaddr*)&client_address, &addrlen);
sprintf(incommingIP, "%s", inet_ntoa(client_address.sin_addr));
if (connection < 0) { if (connection < 0) {
net_close(connection); net_close(connection);
net_close(socket); net_close(socket);

View File

@ -8,9 +8,12 @@
#ifndef _NETWORKOPS_H_ #ifndef _NETWORKOPS_H_
#define _NETWORKOPS_H_ #define _NETWORKOPS_H_
#define NETWORKBLOCKSIZE 5*1024 //5KB
void Initialize_Network(void); void Initialize_Network(void);
bool IsNetworkInit(void); bool IsNetworkInit(void);
char * GetNetworkIP(void); char * GetNetworkIP(void);
char * GetIncommingIP(void);
bool ShutdownWC24(); bool ShutdownWC24();
s32 network_request(const char * request); s32 network_request(const char * request);
s32 network_read(u8 *buf, u32 len); s32 network_read(u8 *buf, u32 len);

View File

@ -8,11 +8,15 @@
#include "libwiigui/gui.h" #include "libwiigui/gui.h"
#include "libwiigui/gui_customoptionbrowser.h" #include "libwiigui/gui_customoptionbrowser.h"
#include "prompts/PromptWindows.h" #include "prompts/PromptWindows.h"
#include "prompts/ProgressWindow.h"
#include "network/networkops.h"
#include "network/http.h"
#include "filelist.h" #include "filelist.h"
#include "settings/cfg.h" #include "settings/cfg.h"
#include "sys.h" #include "sys.h"
#include "menu.h" #include "menu.h"
#include "audio.h" #include "audio.h"
#include "wad/wad.h"
#include "xml/xml.h" #include "xml/xml.h"
@ -26,6 +30,7 @@ extern void HaltGui();
extern GuiWindow * mainWindow; extern GuiWindow * mainWindow;
extern u8 shutdown; extern u8 shutdown;
extern u8 reset; extern u8 reset;
extern u32 infilesize;
/******************************************************************************** /********************************************************************************
@ -203,6 +208,9 @@ int TitleBrowser(u32 type) {
ISFS_Deinitialize(); ISFS_Deinitialize();
bool exit = false; bool exit = false;
if (IsNetworkInit())
ResumeNetworkWait();
GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, Settings.sfxvolume); GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, Settings.sfxvolume);
GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, Settings.sfxvolume); GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, Settings.sfxvolume);
@ -251,11 +259,25 @@ int TitleBrowser(u32 type) {
optionBrowser3.SetPosition(0, 90); optionBrowser3.SetPosition(0, 90);
optionBrowser3.SetAlignment(ALIGN_CENTRE, ALIGN_TOP); optionBrowser3.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
snprintf(imgPath, sizeof(imgPath), "%sWifi_btn.png", CFG.theme_path);
GuiImageData wifiImgData(imgPath, Wifi_btn_png);
GuiImage wifiImg(&wifiImgData);
if (Settings.wsprompt == yes) {
wifiImg.SetWidescreen(CFG.widescreen);
}
GuiButton wifiBtn(wifiImg.GetWidth(), wifiImg.GetHeight());
wifiBtn.SetImage(&wifiImg);
wifiBtn.SetPosition(100, 400);
wifiBtn.SetEffectGrow();
wifiBtn.SetAlpha(80);
wifiBtn.SetTrigger(&trigA);
HaltGui(); HaltGui();
GuiWindow w(screenwidth, screenheight); GuiWindow w(screenwidth, screenheight);
w.Append(&settingsbackgroundbtn); w.Append(&settingsbackgroundbtn);
w.Append(&titleTxt); w.Append(&titleTxt);
w.Append(&cancelBtn); w.Append(&cancelBtn);
w.Append(&wifiBtn);
w.Append(&optionBrowser3); w.Append(&optionBrowser3);
mainWindow->Append(&w); mainWindow->Append(&w);
@ -272,6 +294,16 @@ int TitleBrowser(u32 type) {
if (reset == 1) if (reset == 1)
Sys_Reboot(); Sys_Reboot();
else if (wifiBtn.GetState() == STATE_CLICKED) {
ResumeNetworkWait();
wifiBtn.ResetState();
}
if (IsNetworkInit()) {
wifiBtn.SetAlpha(255);
}
ret = optionBrowser3.GetClickedOption(); ret = optionBrowser3.GetClickedOption();
if (ret > -1) {//if a click happened if (ret > -1) {//if a click happened
@ -349,6 +381,109 @@ int TitleBrowser(u32 type) {
} }
} }
if(infilesize > 0) {
char filesizetxt[50];
char temp[50];
char filepath[100];
u32 read = 0;
snprintf(filepath, sizeof(filepath), "%s/wad/tmp.tmp", bootDevice);
FILE *file = fopen(filepath, "wb");
if (infilesize < MBSIZE)
snprintf(filesizetxt, sizeof(filesizetxt), tr("Incoming file %0.2fKB"), infilesize/KBSIZE);
else
snprintf(filesizetxt, sizeof(filesizetxt), tr("Incoming file %0.2fMB"), infilesize/MBSIZE);
snprintf(temp, sizeof(temp), tr("Load file from: %s ?"), GetIncommingIP());
int choice = WindowPrompt(filesizetxt, temp, tr("OK"), tr("Cancel"));
if(choice == 1) {
int len = NETWORKBLOCKSIZE;
u8 *buffer = (u8*) malloc(NETWORKBLOCKSIZE);
while (read < infilesize) {
ShowProgress(tr("Receiving file from:"), GetIncommingIP(), NULL, read, infilesize, true);
if (infilesize - read < (u32) len)
len = infilesize-read;
else
len = NETWORKBLOCKSIZE;
int result = network_read(buffer, len);
if (result < 0) {
WindowPrompt(tr("Error while transfering data."), 0, tr("OK"));
fclose(file);
remove(filepath);
break;
}
if (!result)
break;
fwrite(temp, 1, len, file);
read += result;
}
free(buffer);
fclose(file);
ProgressStop();
if (read != infilesize) {
WindowPrompt(tr("Error:"), tr("No data could be read."), tr("OK"));
remove(filepath);
} else {
//determine what type of file we just got
char filename[101];
char tmptxt[200];
network_read((u8*) &filename, 100);
sprintf(tmptxt,"%s",filename);
//if we got a wad
if (strstr(tmptxt,".wad") || strstr(tmptxt,".WAD")) {
sprintf(tmptxt,"%s/wad/%s",bootDevice,filename);
rename(filepath, tmptxt);
//check and make sure the wad we just saved is the correct size
u32 lSize;
file = fopen(tmptxt, "rb");
// obtain file size:
fseek (file , 0 , SEEK_END);
lSize = ftell (file);
rewind (file);
if (lSize==infilesize) {
int pick = WindowPrompt(tr(" Wad Saved as:"), tmptxt, tr("Install"),tr("Uninstall"),tr("Cancel"));
//install or uninstall it
if (pick==1)Wad_Install(file);
if (pick==2)Wad_Uninstall(file);
}
//close that beast, we're done with it
fclose (file);
//do we want to keep the file in the wad folder
if (WindowPrompt(tr("Delete ?"), tmptxt, tr("Delete"),tr("Keep"))!=0)
remove(tmptxt);
} else {
WindowPrompt(tr("ERROR:"),tr("The file is not a .wad"),tr("OK"));
remove(filepath);
}
}
}
CloseConnection();
ResumeNetworkWait();
}
if (cancelBtn.GetState() == STATE_CLICKED) { if (cancelBtn.GetState() == STATE_CLICKED) {
//break the loop and end the function //break the loop and end the function
exit = true; exit = true;
@ -356,6 +491,10 @@ int TitleBrowser(u32 type) {
} }
} }
CloseConnection();
if (IsNetworkInit())
HaltNetworkThread();
fclose(f); fclose(f);
HaltGui(); HaltGui();
mainWindow->Remove(&w); mainWindow->Remove(&w);

View File

@ -1,6 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <ogcsys.h> #include <ogcsys.h>
#include <string.h> #include <string.h>
#include <malloc.h>
#include "patches/patchcode.h" #include "patches/patchcode.h"
#include "patches/kenobiwii.h" /*FISHEARS*/ #include "patches/kenobiwii.h" /*FISHEARS*/
@ -361,6 +362,10 @@ s32 Apploader_Run(entry_point *entry, u8 cheat, u8 videoSelected, u8 vipatch, u8
/* Set entry point from apploader */ /* Set entry point from apploader */
*entry = (entry_point) load_dol_image(dolbuffer); *entry = (entry_point) load_dol_image(dolbuffer);
} }
if(dolbuffer)
free(dolbuffer);
} else if (alternatedol == 2) { } else if (alternatedol == 2) {
FST_ENTRY *fst = (FST_ENTRY *)*(u32 *)0x80000038; FST_ENTRY *fst = (FST_ENTRY *)*(u32 *)0x80000038;

View File

@ -341,6 +341,9 @@ s32 Wad_Install(FILE *fp)
// Install content data // Install content data
while (idx < len) { while (idx < len) {
VIDEO_WaitVSync ();
u32 size; u32 size;
// Data length // Data length
@ -525,9 +528,6 @@ s32 Wad_Uninstall(FILE *fp)
u32 viewCnt; u32 viewCnt;
s32 ret; s32 ret;
msg1Txt.SetText(tr(">> Reading WAD data...")); msg1Txt.SetText(tr(">> Reading WAD data..."));
// WAD header // WAD header