save the # of rows that are shown in the grid with the settings. fixed a little memory hole in the gamewall while i was in there.

added checks for all the servers to verify what they are giving us.  also added more bad image sizes to the list.
it is all commented out now.  uncomment all the new stuff it the download function to use it.
This commit is contained in:
giantpune 2009-07-01 02:05:50 +00:00
parent baffea9810
commit cebc980f63
23 changed files with 333 additions and 79 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Downloade Boxart billede?" msgstr "Downloade Boxart billede?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Download færdig" msgstr "Download færdig"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "Fil(er) tilbage" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "Filerne blev ikke fundet på serveren!" msgstr "Filerne blev ikke fundet på serveren!"
@ -771,6 +777,9 @@ msgstr "Sekunder tilbage"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Titles.txt Sti" msgstr "Titles.txt Sti"
#~ msgid "file(s) left"
#~ msgstr "Fil(er) tilbage"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ msgstr "CoverSti Ændringer" #~ msgstr "CoverSti Ændringer"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr "Locatie dol wijzigen"
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Hoesjes downloaden?" msgstr "Hoesjes downloaden?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Downloaden voltooid" msgstr "Downloaden voltooid"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "Bestanden resterend" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "Bestanden niet gevonden op server!" msgstr "Bestanden niet gevonden op server!"
@ -771,6 +777,9 @@ msgstr "seconden over:"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Locatie titles.txt" msgstr "Locatie titles.txt"
#~ msgid "file(s) left"
#~ msgstr "Bestanden resterend"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "(upload van afbeeldingen)" #~ msgstr "(upload van afbeeldingen)"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "" msgstr ""
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "" msgstr ""
@ -732,7 +735,10 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr ""
msgid "files left"
msgstr "" msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Lataa kansikuva?" msgstr "Lataa kansikuva?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Lataus valmistunut" msgstr "Lataus valmistunut"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "tiedosto(j)a jäljellä" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "tiedostoja ei löytynyt serveriltä!" msgstr "tiedostoja ei löytynyt serveriltä!"
@ -771,6 +777,9 @@ msgstr "sekuntia jäljellä"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "" msgstr ""
#~ msgid "file(s) left"
#~ msgstr "tiedosto(j)a jäljellä"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ msgstr "kansien sijainti" #~ msgstr "kansien sijainti"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Télécharger les jaquettes ?" msgstr "Télécharger les jaquettes ?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Téléchargement terminé" msgstr "Téléchargement terminé"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "fichier(s) restant(s)" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "fichiers introuvables sur le serveur !" msgstr "fichiers introuvables sur le serveur !"
@ -771,6 +777,9 @@ msgstr "secondes restantes"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Localisation titles.txt" msgstr "Localisation titles.txt"
#~ msgid "file(s) left"
#~ msgstr "fichier(s) restant(s)"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "pour l'hébergement des jaquettes" #~ msgstr "pour l'hébergement des jaquettes"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Download Boxart Bilder?" msgstr "Download Boxart Bilder?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Download abgeschlossen" msgstr "Download abgeschlossen"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "Datei(en) übrig" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "Datei(en) konnte(n) auf dem Server nicht gefunden werden!" msgstr "Datei(en) konnte(n) auf dem Server nicht gefunden werden!"
@ -771,6 +777,9 @@ msgstr "Sekunden verbleiben"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Titles.txt Pfad" msgstr "Titles.txt Pfad"
#~ msgid "file(s) left"
#~ msgstr "Datei(en) übrig"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "für das Hosten der Covers/Discarts" #~ msgstr "für das Hosten der Covers/Discarts"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr "Modifica percorso DOL"
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Scaricamento Immagine Boxart?" msgstr "Scaricamento Immagine Boxart?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Scaricamento Completato" msgstr "Scaricamento Completato"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "file mancante/i" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "file non trovato/i sul server!" msgstr "file non trovato/i sul server!"
@ -771,6 +777,9 @@ msgstr "secondi mancanti"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Percorso Titles.txt" msgstr "Percorso Titles.txt"
#~ msgid "file(s) left"
#~ msgstr "file mancante/i"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "Forhostingcovers" #~ msgstr "Forhostingcovers"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Boxart イメージをダウンロードしますか?" msgstr "Boxart イメージをダウンロードしますか?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "ダウンロードを終了しました" msgstr "ダウンロードを終了しました"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "file(s) left(残りのファイル数)" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "サーバーにファイルがありません!" msgstr "サーバーにファイルがありません!"
@ -771,6 +777,9 @@ msgstr "完了までの秒数"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Titles.txt Path" msgstr "Titles.txt Path"
#~ msgid "file(s) left"
#~ msgstr "file(s) left(残りのファイル数)"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "박스 이미지를 다운로드 할까요?" msgstr "박스 이미지를 다운로드 할까요?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "다운로드 완료" msgstr "다운로드 완료"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "파일 남음" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "파일이 서버에 없습니다!" msgstr "파일이 서버에 없습니다!"
@ -771,6 +777,9 @@ msgstr "초 남았습니다"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "" msgstr ""
#~ msgid "file(s) left"
#~ msgstr "파일 남음"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Last ned cover bilde?" msgstr "Last ned cover bilde?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Nedlasting ferdig" msgstr "Nedlasting ferdig"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "fil(er) gjenstår" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "filer ikke funnet på serveren!" msgstr "filer ikke funnet på serveren!"
@ -771,6 +777,9 @@ msgstr "sekunder gjenstår"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Titles.txt sti" msgstr "Titles.txt sti"
#~ msgid "file(s) left"
#~ msgstr "fil(er) gjenstår"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "for hosting av cover/platebilder" #~ msgstr "for hosting av cover/platebilder"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Baixar imagem da Caixa?" msgstr "Baixar imagem da Caixa?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Pronto" msgstr "Pronto"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "arquivo(s) restante(s)" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "arquivos não encontrados no servidor!" msgstr "arquivos não encontrados no servidor!"
@ -771,6 +777,9 @@ msgstr "segundos restantes"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Local Titles.txt" msgstr "Local Titles.txt"
#~ msgid "file(s) left"
#~ msgstr "arquivo(s) restante(s)"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "por hospedar Capas de Caixas/Disco" #~ msgstr "por hospedar Capas de Caixas/Disco"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr "Alterar Pasta do DOL"
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Descarregar imagem da Caixa?" msgstr "Descarregar imagem da Caixa?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Download Terminado" msgstr "Download Terminado"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "ficheiros(s) restante(s)" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "ficheiros não encontrados no servidor!" msgstr "ficheiros não encontrados no servidor!"
@ -771,6 +777,9 @@ msgstr "segundos restantes"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Pasta titles.txt" msgstr "Pasta titles.txt"
#~ msgid "file(s) left"
#~ msgstr "ficheiros(s) restante(s)"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "por alojar capas/imagens de disco" #~ msgstr "por alojar capas/imagens de disco"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Скачать обложку диска?" msgstr "Скачать обложку диска?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Скачивание завершено" msgstr "Скачивание завершено"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "осталось файлов:" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "файлы не найдены на сервере!" msgstr "файлы не найдены на сервере!"
@ -771,6 +777,9 @@ msgstr "секунд осталось"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "путь к titles.txt" msgstr "путь к titles.txt"
#~ msgid "file(s) left"
#~ msgstr "осталось файлов:"
#~ msgid "Favorite" #~ msgid "Favorite"
#~ 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "下载封面图片?" msgstr "下载封面图片?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "下载完成" msgstr "下载完成"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "剩余文件" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "服务器中无此文件!" msgstr "服务器中无此文件!"
@ -771,6 +777,9 @@ msgstr "剩余秒数"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Titles.txt 存放路径" msgstr "Titles.txt 存放路径"
#~ msgid "file(s) left"
#~ msgstr "剩余文件"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr "Cambio ruta Dol"
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "¿Descargar Imágenes?" msgstr "¿Descargar Imágenes?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Descarga completa" msgstr "Descarga completa"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "archivo(s) restante(s)" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "archivo(s) no encontrado(s) en el servidor." msgstr "archivo(s) no encontrado(s) en el servidor."
@ -771,6 +777,9 @@ msgstr "segundos restantes"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Ruta Titles.txt" msgstr "Ruta Titles.txt"
#~ msgid "file(s) left"
#~ msgstr "archivo(s) restante(s)"
#~ msgid "for hosting the covers/discarts" #~ msgid "for hosting the covers/discarts"
#~ msgstr "por alojar las caraturas/img.discos" #~ msgstr "por alojar las caraturas/img.discos"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Ladda ner omslagsbild?" msgstr "Ladda ner omslagsbild?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Nedladdning klar" msgstr "Nedladdning klar"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "filer kvar" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "Filerna hittades inte på servern!" msgstr "Filerna hittades inte på servern!"
@ -771,6 +777,9 @@ msgstr "sekunder kvar"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "" msgstr ""
#~ msgid "file(s) left"
#~ msgstr "filer kvar"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ msgstr "Ändra Omslagsmapp" #~ msgstr "Ändra Omslagsmapp"

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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "下載外盒封面圖片?" msgstr "下載外盒封面圖片?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "下載完成" msgstr "下載完成"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "剩下的檔案" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "伺服器中無此檔案!" msgstr "伺服器中無此檔案!"
@ -771,6 +777,9 @@ msgstr "剩餘秒數"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "Title檔案路徑" msgstr "Title檔案路徑"
#~ msgid "file(s) left"
#~ msgstr "剩下的檔案"
#~ msgid "Favorite" #~ msgid "Favorite"
#~ 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-06-30 17:59-0400\n" "POT-Creation-Date: 2009-06-30 20:33-0400\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -228,6 +228,9 @@ msgstr ""
msgid "Download Boxart image?" msgid "Download Boxart image?"
msgstr "Kutu resmini indirmek ister misiniz?" msgstr "Kutu resmini indirmek ister misiniz?"
msgid "Download Discart image?"
msgstr ""
msgid "Download finished" msgid "Download finished"
msgstr "Indirme tamamlandi" msgstr "Indirme tamamlandi"
@ -732,8 +735,11 @@ msgstr ""
msgid "does not exist! You Messed something up, Idiot." msgid "does not exist! You Messed something up, Idiot."
msgstr "" msgstr ""
msgid "file(s) left" msgid "file left"
msgstr "dosya kaldi" msgstr ""
msgid "files left"
msgstr ""
msgid "files not found on the server!" msgid "files not found on the server!"
msgstr "dosyalar sunucuda bulunamadi!" msgstr "dosyalar sunucuda bulunamadi!"
@ -771,6 +777,9 @@ msgstr "saniye kaldi"
msgid "titles.txt Path" msgid "titles.txt Path"
msgstr "" msgstr ""
#~ msgid "file(s) left"
#~ msgstr "dosya kaldi"
#~ msgid "Coverpath change" #~ msgid "Coverpath change"
#~ msgstr "Kapak Yolunu Degistir" #~ msgstr "Kapak Yolunu Degistir"

View File

@ -15,6 +15,7 @@
#include "../prompts/PromptWindows.h" #include "../prompts/PromptWindows.h"
#include "../language/gettext.h" #include "../language/gettext.h"
#include "../menu.h" #include "../menu.h"
#include "fatmounter.h"
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
@ -74,6 +75,7 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
else if (rows==2)pagesize = 16; else if (rows==2)pagesize = 16;
else if (rows==3)pagesize = 42; else if (rows==3)pagesize = 42;
//if (realCnt<pagesize)listOffset=5;//pagesize-(pagesize-realCnt)/2+1; //if (realCnt<pagesize)listOffset=5;//pagesize-(pagesize-realCnt)/2+1;
trigA = new GuiTrigger; trigA = new GuiTrigger;
@ -193,8 +195,8 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
coverImg[i] = new GuiImage(cover[i]); coverImg[i] = new GuiImage(cover[i]);
coverImg[i]->SetWidescreen(CFG.widescreen); coverImg[i]->SetWidescreen(CFG.widescreen);
if (rows==2)coverImg[i]->SetScale(.6);//these are the numbers for 2 rows if (Settings.gridRows==2)coverImg[i]->SetScale(.6);//these are the numbers for 2 rows
else if (rows==3)coverImg[i]->SetScale(.26);//these are the numbers for 3 rows else if (Settings.gridRows==3)coverImg[i]->SetScale(.26);//these are the numbers for 3 rows
//titleTxt[i] = new GuiText(get_title(&gameList[i]), 20, (GXColor){0,0,0, 0xff}); //titleTxt[i] = new GuiText(get_title(&gameList[i]), 20, (GXColor){0,0,0, 0xff});
@ -203,20 +205,20 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
for(int i=0; i < pagesize; i++) { for(int i=0; i < pagesize; i++) {
game[i] = new GuiButton(160,224);//for 1 row game[i] = new GuiButton(160,224);//for 1 row
if (rows==2)game[i]->SetSize(75,133);//these are the numbers for 2 rows if (Settings.gridRows==2)game[i]->SetSize(75,133);//these are the numbers for 2 rows
else if (rows==3)game[i]->SetSize(35,68);//these are the numbers for 3 rows else if (Settings.gridRows==3)game[i]->SetSize(35,68);//these are the numbers for 3 rows
game[i]->SetParent(this); game[i]->SetParent(this);
game[i]->SetAlignment(ALIGN_TOP,ALIGN_LEFT); game[i]->SetAlignment(ALIGN_TOP,ALIGN_LEFT);
game[i]->SetPosition(-200,740); game[i]->SetPosition(-200,740);
game[i]->SetImage(coverImg[((listOffset+i) % gameCnt)]); game[i]->SetImage(coverImg[((listOffset+i) % gameCnt)]);
if (rows==3)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-80);// only for 3 rows if (Settings.gridRows==3)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-80);// only for 3 rows
if (rows==2)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-50);// only for 2 rows if (Settings.gridRows==2)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-50);// only for 2 rows
game[i]->SetRumble(false); game[i]->SetRumble(false);
game[i]->SetTrigger(trigA); game[i]->SetTrigger(trigA);
game[i]->SetSoundClick(btnSoundClick); game[i]->SetSoundClick(btnSoundClick);
game[i]->SetClickable(true); game[i]->SetClickable(true);
game[i]->SetVisible(true); game[i]->SetVisible(true);
coverImg[i]->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_IN, 50); //coverImg[i]->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_IN, 50);
} }
for (int i=gameCnt-1;i<pagesize;i++){ //hide games if gameCnt is less than the number of onscreen boxes for (int i=gameCnt-1;i<pagesize;i++){ //hide games if gameCnt is less than the number of onscreen boxes
@ -226,6 +228,20 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
//if(CFG.widescreen){ //if(CFG.widescreen){
rows =Settings.gridRows;
if ((count<42)&&(rows==3))rows=2;
if ((count<16)&&(rows==2))rows=1;
if (gameCnt<6)gameCnt=6;
if (rows==1)pagesize = 6;
else if (rows==2)pagesize = 16;
else if (rows==3)pagesize = 42;
Settings.gridRows = rows;
if(isInserted(bootDevice)) {
cfg_save_global();
}
if (rows==1) if (rows==1)
{ {
if(CFG.widescreen){ if(CFG.widescreen){
@ -461,6 +477,9 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
game[38]->SetSkew(-38,-70,15,-52,15,100,-38,27); game[38]->SetSkew(-38,-70,15,-52,15,100,-38,27);
} }
// } // }
// else // else
// WindowPrompt("Oops","Your Wii must be in 16:9 mode to see the gamewall.",0, tr("OK"), 0,0); // WindowPrompt("Oops","Your Wii must be in 16:9 mode to see the gamewall.",0, tr("OK"), 0,0);
@ -638,6 +657,15 @@ void GuiGameGrid::ChangeRows(int n)
{ {
rows=n; rows=n;
Settings.gridRows = rows;
if(isInserted(bootDevice)) {
cfg_save_global();
}
for(int i=0; i<gameCnt; i++) {
delete coverImg[i];
// delete cover[i];
}
for(int i=0; i < gameCnt; i++) { for(int i=0; i < gameCnt; i++) {
coverImg[i] = new GuiImage(cover[i]); coverImg[i] = new GuiImage(cover[i]);
coverImg[i]->SetWidescreen(CFG.widescreen); coverImg[i]->SetWidescreen(CFG.widescreen);
@ -1765,6 +1793,10 @@ void GuiGameGrid::Reload(struct discHdr * l, int count)
if (count<42)rows=2; if (count<42)rows=2;
if (count<16)rows=1; if (count<16)rows=1;
Settings.gridRows = rows;
if(isInserted(bootDevice)) {
cfg_save_global();
}
//rows=1; //rows=1;
if (rows==1)pagesize = 6; if (rows==1)pagesize = 6;
else if (rows==2)pagesize = 16; else if (rows==2)pagesize = 16;

View File

@ -760,16 +760,17 @@ int MenuDiscList()
char tempCnt[40]; char tempCnt[40];
sprintf(tempCnt,"%i %s",cntMissFiles,tr("Missing files")); sprintf(tempCnt,"%i %s",cntMissFiles,tr("Missing files"));
choice = WindowPrompt(tr("Download Boxart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1); if (choice!=3)choice = WindowPrompt(tr("Download Boxart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1);
else if (choice==3)choice = WindowPrompt(tr("Download Discart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1);
if (choice == 1) if (choice == 1)
{ {
ret = ProgressDownloadWindow(choice2); ret = ProgressDownloadWindow(choice2);
if (ret == 0) { if (ret == 0) {
WindowPrompt(tr("Download finished"),0,tr("OK"),0,0,0,-1); WindowPrompt(tr("Download finished"),0,tr("OK"),0,0,0,-1);
} else { } else {
sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!")); sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!"));
WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1); WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1);
} }
} }
} }
else else

View File

@ -2001,6 +2001,11 @@ ProgressDownloadWindow(int choice2)
msg2Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP); msg2Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
msg2Txt.SetPosition(0,100); msg2Txt.SetPosition(0,100);
GuiText msg3Txt(NULL, 20, (GXColor){THEME.prompttxt_r, THEME.prompttxt_g, THEME.prompttxt_b, 255});
msg3Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
msg3Txt.SetPosition(0,160);
prTxt.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE); prTxt.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE);
prTxt.SetPosition(0, 40); prTxt.SetPosition(0, 40);
@ -2025,6 +2030,7 @@ ProgressDownloadWindow(int choice2)
promptWindow.Append(&titleTxt); promptWindow.Append(&titleTxt);
promptWindow.Append(&msgTxt); promptWindow.Append(&msgTxt);
promptWindow.Append(&msg2Txt); promptWindow.Append(&msg2Txt);
promptWindow.Append(&msg3Txt);
promptWindow.Append(&progressbarEmptyImg); promptWindow.Append(&progressbarEmptyImg);
promptWindow.Append(&progressbarImg); promptWindow.Append(&progressbarImg);
promptWindow.Append(&progressbarOutlineImg); promptWindow.Append(&progressbarOutlineImg);
@ -2043,10 +2049,18 @@ ProgressDownloadWindow(int choice2)
char serverDisc[serverCntDisc][75]; char serverDisc[serverCntDisc][75];
char server2d[serverCnt2d][75]; char server2d[serverCnt2d][75];
snprintf(server3d[m], sizeof(server3d[m]), "http://boxart.rowdyruff.net/3d/");m++; //for testing the servers
/*char serverTEST[serverCnt2d][75];
int * TESTfail;
int * TESTbad;
TESTfail = new int[serverCnt2d];
TESTbad = new int[serverCnt2d];*/
snprintf(server3d[m], sizeof(server3d[m]), "http://gxload.joschtex.com/3d/");m++; snprintf(server3d[m], sizeof(server3d[m]), "http://gxload.joschtex.com/3d/");m++;
snprintf(server3d[m], sizeof(server3d[m]), "http://wiicover.gateflorida.com/3d/");m++; snprintf(server3d[m], sizeof(server3d[m]), "http://wiicover.gateflorida.com/3d/");m++;
snprintf(server3d[m], sizeof(server3d[m]), "http://awiibit.com/3dBoxArt176x248/");m++; snprintf(server3d[m], sizeof(server3d[m]), "http://awiibit.com/3dBoxArt176x248/");m++;
snprintf(server3d[m], sizeof(server3d[m]), "http://boxart.rowdyruff.net/3d/");m++;
m=0; m=0;
snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://gxload.joschtex.com/disc/");m++; snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://gxload.joschtex.com/disc/");m++;
@ -2054,10 +2068,22 @@ ProgressDownloadWindow(int choice2)
snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://awiibit.com/WiiDiscArt/");m++; snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://awiibit.com/WiiDiscArt/");m++;
m=0; m=0;
snprintf(server2d[m], sizeof(server2d[m]), "http://wiicover.gateflorida.com/2d/");m++;
snprintf(server2d[m], sizeof(server2d[m]), "http://boxart.rowdyruff.net/flat/");m++;
snprintf(server2d[m], sizeof(server2d[m]), "http://gxload.joschtex.com/2d/");m++; snprintf(server2d[m], sizeof(server2d[m]), "http://gxload.joschtex.com/2d/");m++;
snprintf(server2d[m], sizeof(server2d[m]), "http://wiicover.gateflorida.com/2d/");m++;
snprintf(server2d[m], sizeof(server2d[m]), "http://awiibit.com/BoxArt160x224/");m++; snprintf(server2d[m], sizeof(server2d[m]), "http://awiibit.com/BoxArt160x224/");m++;
snprintf(server2d[m], sizeof(server2d[m]), "http://boxart.rowdyruff.net/flat/");m++;
//server test shit again
/*m=0;
snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://gxload.joschtex.com/");m++;
snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://wiicover.gateflorida.com/");m++;
snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://awiibit.com/");m++;
snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://boxart.rowdyruff.net/");m++;
for(int b=0;b<serverCnt2d;b++){
TESTfail[b]=0;
TESTbad[b]=0;
}*/
@ -2092,21 +2118,29 @@ ProgressDownloadWindow(int choice2)
progressbarImg.SetTile(100*i/cntMissFiles); progressbarImg.SetTile(100*i/cntMissFiles);
} }
msgTxt.SetTextf("%i %s", cntMissFiles - i, tr("file(s) left")); if (cntMissFiles - i>1)msgTxt.SetTextf("%i %s", cntMissFiles - i, tr("files left"));
else msgTxt.SetTextf("%i %s", cntMissFiles - i, tr("file left"));
msg2Txt.SetTextf("%s", missingFiles[i]); msg2Txt.SetTextf("%s", missingFiles[i]);
//download boxart image //download boxart image
char imgPath[100]; char imgPath[100];
char URLFile[100]; char URLFile[100];
char tmp[75];
sprintf(tmp,"Not Found");
struct block file = downloadfile(URLFile); struct block file = downloadfile(URLFile);
if (choice2 == 2) if (choice2 == 2)
{ {
while(tries<serverCnt3d){ while(tries<serverCnt3d){
sprintf(tmp,"%s",server3d[(offset+tries)%serverCnt3d]);
sprintf(URLFile,"%s%s",server3d[(offset+tries)%serverCnt3d],missingFiles[i]); sprintf(URLFile,"%s%s",server3d[(offset+tries)%serverCnt3d],missingFiles[i]);
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]); sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL))break; //these 2 lines are just for testing which servers suck
//if (file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446)TESTbad[(offset+tries)%serverCnt3d]++;
//if (file.data == NULL || file.size == 0)TESTfail[(offset+tries)%serverCnt3d]++;
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
@ -2114,30 +2148,40 @@ ProgressDownloadWindow(int choice2)
if(choice2 == 3) if(choice2 == 3)
{ {
while(tries<serverCntDisc){ while(tries<serverCntDisc){
sprintf(tmp,"%s",serverDisc[(offset+tries)%serverCnt3d]);
sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[i]); sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[i]);
sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[i]); sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[i]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size == 7386 || file.size <= 1174 || file.data == NULL))break; //these 2 lines are just for testing which servers suck
//if (file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446)TESTbad[(offset+tries)%serverCnt3d]++;
//if (file.data == NULL || file.size == 0)TESTfail[(offset+tries)%serverCnt3d]++;
if (!(file.size == 36864 || file.size <= 1024 || file.size == 7386 || file.size <= 1174 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
} }
if(choice2 == 1) if(choice2 == 1)
{ {
while(tries<serverCnt2d){ while(tries<serverCnt2d){
sprintf(tmp,"%s",server2d[(offset+tries)%serverCnt3d]);
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[i]); sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[i]);
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]); sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL))break; //these 2 lines are just for testing which servers suck
//if (file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446)TESTbad[(offset+tries)%serverCnt3d]++;
//if (file.data == NULL || file.size == 0)TESTfail[(offset+tries)%serverCnt3d]++;
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
} }
offset++; offset++;
msgTxt.SetTextf("%s",URLFile); msg3Txt.SetTextf("%s",tmp);
msg2Txt.SetTextf("%s", missingFiles[i]); //msg3Txt.SetTextf("%s", missingFiles[i]);
if (file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL) { if (file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL) {
cntNotFound++; cntNotFound++;
i++; i++;
} }
@ -2155,6 +2199,7 @@ ProgressDownloadWindow(int choice2)
free(file.data); free(file.data);
} }
i++; i++;
} }
if(btn1.GetState() == STATE_CLICKED) if(btn1.GetState() == STATE_CLICKED)
@ -2174,7 +2219,7 @@ ProgressDownloadWindow(int choice2)
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt3d],missingFiles[0]); sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt3d],missingFiles[0]);
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]); sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL))break; if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
@ -2185,7 +2230,7 @@ ProgressDownloadWindow(int choice2)
sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[0]); sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[0]);
sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[0]); sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[0]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL))break; if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
} }
@ -2195,11 +2240,11 @@ ProgressDownloadWindow(int choice2)
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[0]); sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[0]);
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]); sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]);
file = downloadfile(URLFile); file = downloadfile(URLFile);
if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.data == NULL))break; if (!(file.size == 36864 || file.size <= 1024 || file.size <= 1174 || file.size == 7386 || file.size == 4446 || file.data == NULL))break;
tries++; tries++;
} }
} }
if (file.size == 36864 || file.size <= 1024 || file.size == 7386 || file.size <= 1174 || file.data == NULL) { if (file.size == 36864 || file.size <= 1024 || file.size == 7386 || file.size <= 1174 || file.size == 4446 || file.data == NULL) {
} else { } else {
if(file.data != NULL) if(file.data != NULL)
{ {
@ -2212,6 +2257,13 @@ ProgressDownloadWindow(int choice2)
} }
} }
//server test shit
/*for(int b=0;b<serverCnt2d;b++){
sprintf(imgPath,"tried&failed=%d BadImages=%d", TESTfail[b], TESTbad[b]);
WindowPrompt(serverTEST[b],imgPath,"ok",0,0,0,-1);
}*/
HaltGui(); HaltGui();
mainWindow->Remove(&promptWindow); mainWindow->Remove(&promptWindow);
mainWindow->SetState(STATE_DEFAULT); mainWindow->SetState(STATE_DEFAULT);

View File

@ -335,6 +335,7 @@ void Global_Default(void)
Settings.qboot = no; Settings.qboot = no;
Settings.wiilight = 1; Settings.wiilight = 1;
Settings.patchcountrystrings = 0; Settings.patchcountrystrings = 0;
Settings.gridRows = 3;
Settings.error002 = 0; Settings.error002 = 0;
Settings.titlesOverride = 0; Settings.titlesOverride = 0;
snprintf(Settings.db_url, sizeof(Settings.db_url), empty); snprintf(Settings.db_url, sizeof(Settings.db_url), empty);
@ -938,6 +939,13 @@ void global_cfg_set(char *name, char *val)
} }
return; return;
} }
else if (strcmp(name, "gridRows") == 0) {
int i;
if (sscanf(val, "%d", &i) == 1) {
Settings.gridRows = i;
}
return;
}
else if (strcmp(name, "xflip") == 0) { else if (strcmp(name, "xflip") == 0) {
int i; int i;
if (sscanf(val, "%d", &i) == 1) { if (sscanf(val, "%d", &i) == 1) {
@ -1215,6 +1223,7 @@ bool cfg_save_global()// save global settings
fprintf(f, "cios = %d\n ", Settings.cios); fprintf(f, "cios = %d\n ", Settings.cios);
fprintf(f, "keyset = %d\n ", Settings.keyset); fprintf(f, "keyset = %d\n ", Settings.keyset);
fprintf(f, "xflip = %d\n ", Settings.xflip); fprintf(f, "xflip = %d\n ", Settings.xflip);
fprintf(f, "gridRows = %d\n ", Settings.gridRows);
fprintf(f, "qboot = %d\n ", Settings.qboot); fprintf(f, "qboot = %d\n ", Settings.qboot);
fprintf(f, "wsprompt = %d\n", Settings.wsprompt); fprintf(f, "wsprompt = %d\n", Settings.wsprompt);
fprintf(f, "parentalcontrol = %d\n ", Settings.parentalcontrol); fprintf(f, "parentalcontrol = %d\n ", Settings.parentalcontrol);

View File

@ -358,6 +358,7 @@ struct SSettings {
char db_url[200]; char db_url[200];
char db_language[100]; char db_language[100];
int db_JPtoEN; int db_JPtoEN;
int gridRows;
}; };
void CFG_LoadGlobal(void); void CFG_LoadGlobal(void);