mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
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:
parent
baffea9810
commit
cebc980f63
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Downloade Boxart billede?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Download færdig"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "Fil(er) tilbage"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "Filerne blev ikke fundet på serveren!"
|
||||
@ -771,6 +777,9 @@ msgstr "Sekunder tilbage"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Titles.txt Sti"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "Fil(er) tilbage"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "CoverSti Ændringer"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr "Locatie dol wijzigen"
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Hoesjes downloaden?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Downloaden voltooid"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "Bestanden resterend"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "Bestanden niet gevonden op server!"
|
||||
@ -771,6 +777,9 @@ msgstr "seconden over:"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Locatie titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "Bestanden resterend"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "(upload van afbeeldingen)"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr ""
|
||||
|
||||
@ -732,7 +735,10 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Lataa kansikuva?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Lataus valmistunut"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "tiedosto(j)a jäljellä"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "tiedostoja ei löytynyt serveriltä!"
|
||||
@ -771,6 +777,9 @@ msgstr "sekuntia jäljellä"
|
||||
msgid "titles.txt Path"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "tiedosto(j)a jäljellä"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "kansien sijainti"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Télécharger les jaquettes ?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Téléchargement terminé"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "fichier(s) restant(s)"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "fichiers introuvables sur le serveur !"
|
||||
@ -771,6 +777,9 @@ msgstr "secondes restantes"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Localisation titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "fichier(s) restant(s)"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "pour l'hébergement des jaquettes"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Download Boxart Bilder?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Download abgeschlossen"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "Datei(en) übrig"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "Datei(en) konnte(n) auf dem Server nicht gefunden werden!"
|
||||
@ -771,6 +777,9 @@ msgstr "Sekunden verbleiben"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Titles.txt Pfad"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "Datei(en) übrig"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "für das Hosten der Covers/Discarts"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr "Modifica percorso DOL"
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Scaricamento Immagine Boxart?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Scaricamento Completato"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "file mancante/i"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "file non trovato/i sul server!"
|
||||
@ -771,6 +777,9 @@ msgstr "secondi mancanti"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Percorso Titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "file mancante/i"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "Forhostingcovers"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Boxart イメージをダウンロードしますか?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "ダウンロードを終了しました"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "file(s) left(残りのファイル数)"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "サーバーにファイルがありません!"
|
||||
@ -771,6 +777,9 @@ msgstr "完了までの秒数"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Titles.txt Path"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "file(s) left(残りのファイル数)"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "カバーを配布"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "박스 이미지를 다운로드 할까요?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "다운로드 완료"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "파일 남음"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "파일이 서버에 없습니다!"
|
||||
@ -771,6 +777,9 @@ msgstr "초 남았습니다"
|
||||
msgid "titles.txt Path"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "파일 남음"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "표지 경로 변경"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Last ned cover bilde?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Nedlasting ferdig"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "fil(er) gjenstår"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "filer ikke funnet på serveren!"
|
||||
@ -771,6 +777,9 @@ msgstr "sekunder gjenstår"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Titles.txt sti"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "fil(er) gjenstår"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "for hosting av cover/platebilder"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Baixar imagem da Caixa?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Pronto"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "arquivo(s) restante(s)"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "arquivos não encontrados no servidor!"
|
||||
@ -771,6 +777,9 @@ msgstr "segundos restantes"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Local Titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "arquivo(s) restante(s)"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "por hospedar Capas de Caixas/Disco"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr "Alterar Pasta do DOL"
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Descarregar imagem da Caixa?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Download Terminado"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "ficheiros(s) restante(s)"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "ficheiros não encontrados no servidor!"
|
||||
@ -771,6 +777,9 @@ msgstr "segundos restantes"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Pasta titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "ficheiros(s) restante(s)"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "por alojar capas/imagens de disco"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Скачать обложку диска?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Скачивание завершено"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "осталось файлов:"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "файлы не найдены на сервере!"
|
||||
@ -771,6 +777,9 @@ msgstr "секунд осталось"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "путь к titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "осталось файлов:"
|
||||
|
||||
#~ msgid "Favorite"
|
||||
#~ msgstr "Добавить в избранное"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "下载封面图片?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "下载完成"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "剩余文件"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "服务器中无此文件!"
|
||||
@ -771,6 +777,9 @@ msgstr "剩余秒数"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Titles.txt 存放路径"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "剩余文件"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "变更封面存放路径"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr "Cambio ruta Dol"
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "¿Descargar Imágenes?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Descarga completa"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "archivo(s) restante(s)"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "archivo(s) no encontrado(s) en el servidor."
|
||||
@ -771,6 +777,9 @@ msgstr "segundos restantes"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Ruta Titles.txt"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "archivo(s) restante(s)"
|
||||
|
||||
#~ msgid "for hosting the covers/discarts"
|
||||
#~ msgstr "por alojar las caraturas/img.discos"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Ladda ner omslagsbild?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Nedladdning klar"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "filer kvar"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "Filerna hittades inte på servern!"
|
||||
@ -771,6 +777,9 @@ msgstr "sekunder kvar"
|
||||
msgid "titles.txt Path"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "filer kvar"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "Ändra Omslagsmapp"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "下載外盒封面圖片?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "下載完成"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "剩下的檔案"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "伺服器中無此檔案!"
|
||||
@ -771,6 +777,9 @@ msgstr "剩餘秒數"
|
||||
msgid "titles.txt Path"
|
||||
msgstr "Title檔案路徑"
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "剩下的檔案"
|
||||
|
||||
#~ msgid "Favorite"
|
||||
#~ msgstr "新增至我的最愛"
|
||||
|
||||
|
@ -4,7 +4,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: USB Loader GX\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"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -228,6 +228,9 @@ msgstr ""
|
||||
msgid "Download Boxart image?"
|
||||
msgstr "Kutu resmini indirmek ister misiniz?"
|
||||
|
||||
msgid "Download Discart image?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download finished"
|
||||
msgstr "Indirme tamamlandi"
|
||||
|
||||
@ -732,8 +735,11 @@ msgstr ""
|
||||
msgid "does not exist! You Messed something up, Idiot."
|
||||
msgstr ""
|
||||
|
||||
msgid "file(s) left"
|
||||
msgstr "dosya kaldi"
|
||||
msgid "file left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files left"
|
||||
msgstr ""
|
||||
|
||||
msgid "files not found on the server!"
|
||||
msgstr "dosyalar sunucuda bulunamadi!"
|
||||
@ -771,6 +777,9 @@ msgstr "saniye kaldi"
|
||||
msgid "titles.txt Path"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "file(s) left"
|
||||
#~ msgstr "dosya kaldi"
|
||||
|
||||
#~ msgid "Coverpath change"
|
||||
#~ msgstr "Kapak Yolunu Degistir"
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "../prompts/PromptWindows.h"
|
||||
#include "../language/gettext.h"
|
||||
#include "../menu.h"
|
||||
#include "fatmounter.h"
|
||||
|
||||
#include <string.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==3)pagesize = 42;
|
||||
|
||||
|
||||
//if (realCnt<pagesize)listOffset=5;//pagesize-(pagesize-realCnt)/2+1;
|
||||
|
||||
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]->SetWidescreen(CFG.widescreen);
|
||||
if (rows==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
|
||||
if (Settings.gridRows==2)coverImg[i]->SetScale(.6);//these are the numbers for 2 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});
|
||||
|
||||
@ -203,20 +205,20 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
|
||||
|
||||
for(int i=0; i < pagesize; i++) {
|
||||
game[i] = new GuiButton(160,224);//for 1 row
|
||||
if (rows==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
|
||||
if (Settings.gridRows==2)game[i]->SetSize(75,133);//these are the numbers for 2 rows
|
||||
else if (Settings.gridRows==3)game[i]->SetSize(35,68);//these are the numbers for 3 rows
|
||||
game[i]->SetParent(this);
|
||||
game[i]->SetAlignment(ALIGN_TOP,ALIGN_LEFT);
|
||||
game[i]->SetPosition(-200,740);
|
||||
game[i]->SetImage(coverImg[((listOffset+i) % gameCnt)]);
|
||||
if (rows==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==3)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-80);// only for 3 rows
|
||||
if (Settings.gridRows==2)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-50);// only for 2 rows
|
||||
game[i]->SetRumble(false);
|
||||
game[i]->SetTrigger(trigA);
|
||||
game[i]->SetSoundClick(btnSoundClick);
|
||||
game[i]->SetClickable(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
|
||||
@ -226,6 +228,20 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
|
||||
|
||||
//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(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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// }
|
||||
// else
|
||||
// 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;
|
||||
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++) {
|
||||
coverImg[i] = new GuiImage(cover[i]);
|
||||
coverImg[i]->SetWidescreen(CFG.widescreen);
|
||||
@ -1765,6 +1793,10 @@ void GuiGameGrid::Reload(struct discHdr * l, int count)
|
||||
|
||||
if (count<42)rows=2;
|
||||
if (count<16)rows=1;
|
||||
Settings.gridRows = rows;
|
||||
if(isInserted(bootDevice)) {
|
||||
cfg_save_global();
|
||||
}
|
||||
//rows=1;
|
||||
if (rows==1)pagesize = 6;
|
||||
else if (rows==2)pagesize = 16;
|
||||
|
@ -760,16 +760,17 @@ int MenuDiscList()
|
||||
char tempCnt[40];
|
||||
|
||||
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)
|
||||
{
|
||||
ret = ProgressDownloadWindow(choice2);
|
||||
if (ret == 0) {
|
||||
WindowPrompt(tr("Download finished"),0,tr("OK"),0,0,0,-1);
|
||||
} else {
|
||||
sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!"));
|
||||
WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1);
|
||||
}
|
||||
sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!"));
|
||||
WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -2001,6 +2001,11 @@ ProgressDownloadWindow(int choice2)
|
||||
msg2Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
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.SetPosition(0, 40);
|
||||
|
||||
@ -2025,6 +2030,7 @@ ProgressDownloadWindow(int choice2)
|
||||
promptWindow.Append(&titleTxt);
|
||||
promptWindow.Append(&msgTxt);
|
||||
promptWindow.Append(&msg2Txt);
|
||||
promptWindow.Append(&msg3Txt);
|
||||
promptWindow.Append(&progressbarEmptyImg);
|
||||
promptWindow.Append(&progressbarImg);
|
||||
promptWindow.Append(&progressbarOutlineImg);
|
||||
@ -2043,10 +2049,18 @@ ProgressDownloadWindow(int choice2)
|
||||
char serverDisc[serverCntDisc][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://wiicover.gateflorida.com/3d/");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;
|
||||
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++;
|
||||
|
||||
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://wiicover.gateflorida.com/2d/");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);
|
||||
}
|
||||
|
||||
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]);
|
||||
|
||||
|
||||
//download boxart image
|
||||
char imgPath[100];
|
||||
char URLFile[100];
|
||||
char tmp[75];
|
||||
sprintf(tmp,"Not Found");
|
||||
struct block file = downloadfile(URLFile);
|
||||
if (choice2 == 2)
|
||||
{
|
||||
while(tries<serverCnt3d){
|
||||
sprintf(tmp,"%s",server3d[(offset+tries)%serverCnt3d]);
|
||||
sprintf(URLFile,"%s%s",server3d[(offset+tries)%serverCnt3d],missingFiles[i]);
|
||||
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]);
|
||||
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++;
|
||||
}
|
||||
|
||||
@ -2114,30 +2148,40 @@ ProgressDownloadWindow(int choice2)
|
||||
if(choice2 == 3)
|
||||
{
|
||||
while(tries<serverCntDisc){
|
||||
sprintf(tmp,"%s",serverDisc[(offset+tries)%serverCnt3d]);
|
||||
sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[i]);
|
||||
sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[i]);
|
||||
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++;
|
||||
}
|
||||
}
|
||||
if(choice2 == 1)
|
||||
{
|
||||
while(tries<serverCnt2d){
|
||||
sprintf(tmp,"%s",server2d[(offset+tries)%serverCnt3d]);
|
||||
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[i]);
|
||||
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[i]);
|
||||
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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
offset++;
|
||||
msgTxt.SetTextf("%s",URLFile);
|
||||
msg2Txt.SetTextf("%s", missingFiles[i]);
|
||||
msg3Txt.SetTextf("%s",tmp);
|
||||
//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++;
|
||||
i++;
|
||||
}
|
||||
@ -2155,6 +2199,7 @@ ProgressDownloadWindow(int choice2)
|
||||
free(file.data);
|
||||
}
|
||||
i++;
|
||||
|
||||
}
|
||||
|
||||
if(btn1.GetState() == STATE_CLICKED)
|
||||
@ -2174,7 +2219,7 @@ ProgressDownloadWindow(int choice2)
|
||||
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt3d],missingFiles[0]);
|
||||
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]);
|
||||
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++;
|
||||
}
|
||||
|
||||
@ -2185,7 +2230,7 @@ ProgressDownloadWindow(int choice2)
|
||||
sprintf(URLFile,"%s%s",serverDisc[(offset+tries)%serverCntDisc],missingFiles[0]);
|
||||
sprintf(imgPath,"%s%s", Settings.disc_path, missingFiles[0]);
|
||||
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++;
|
||||
}
|
||||
}
|
||||
@ -2195,11 +2240,11 @@ ProgressDownloadWindow(int choice2)
|
||||
sprintf(URLFile,"%s%s",server2d[(offset+tries)%serverCnt2d],missingFiles[0]);
|
||||
sprintf(imgPath,"%s%s", Settings.covers_path, missingFiles[0]);
|
||||
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++;
|
||||
}
|
||||
}
|
||||
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 {
|
||||
if(file.data != NULL)
|
||||
{
|
||||
@ -2211,7 +2256,14 @@ ProgressDownloadWindow(int choice2)
|
||||
free(file.data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//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();
|
||||
mainWindow->Remove(&promptWindow);
|
||||
mainWindow->SetState(STATE_DEFAULT);
|
||||
|
@ -335,6 +335,7 @@ void Global_Default(void)
|
||||
Settings.qboot = no;
|
||||
Settings.wiilight = 1;
|
||||
Settings.patchcountrystrings = 0;
|
||||
Settings.gridRows = 3;
|
||||
Settings.error002 = 0;
|
||||
Settings.titlesOverride = 0;
|
||||
snprintf(Settings.db_url, sizeof(Settings.db_url), empty);
|
||||
@ -938,6 +939,13 @@ void global_cfg_set(char *name, char *val)
|
||||
}
|
||||
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) {
|
||||
int i;
|
||||
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, "keyset = %d\n ", Settings.keyset);
|
||||
fprintf(f, "xflip = %d\n ", Settings.xflip);
|
||||
fprintf(f, "gridRows = %d\n ", Settings.gridRows);
|
||||
fprintf(f, "qboot = %d\n ", Settings.qboot);
|
||||
fprintf(f, "wsprompt = %d\n", Settings.wsprompt);
|
||||
fprintf(f, "parentalcontrol = %d\n ", Settings.parentalcontrol);
|
||||
|
@ -358,6 +358,7 @@ struct SSettings {
|
||||
char db_url[200];
|
||||
char db_language[100];
|
||||
int db_JPtoEN;
|
||||
int gridRows;
|
||||
};
|
||||
|
||||
void CFG_LoadGlobal(void);
|
||||
|
Loading…
Reference in New Issue
Block a user