* Changed the Projection Hack option in game properties to "Custom Projection Hack"

- dislocating all sensible stuff related to "values per game/pattern" outside the sourcecode.
  - giving more control to end-users across the user-friendly interface.
  - deleting/cleaning some dead variables.
  - updating all gameconfig.ini data to reflect new PHack concept (pending upload).

* Updated Italian translation
  - Includes corrections, a better strings translating and suggestions directly by Google Code's people.

+ Minor old pending changes...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6973 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
gnick79 2011-01-29 21:13:56 +00:00
parent 7f97ce79bb
commit 3078db08c7
13 changed files with 305 additions and 184 deletions

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Dolphin Emu\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-01-25 21:41-0600\n"
"PO-Revision-Date: 2011-01-18 18:00+0100\n"
"PO-Revision-Date: 2011-01-29 21:22+0100\n"
"Last-Translator: RebuMan, Dolphin Team\n"
"Language-Team: \n"
"Language: Italian\n"
@ -160,16 +160,16 @@ msgstr "&File"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:142
#, fuzzy
msgid "&Frame Advance"
msgstr "Avanzate"
msgstr "&Fotogramma per Fotogramma"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:315
#, fuzzy
msgid "&Fullscreen"
msgstr "&Schermo intero"
msgstr "&Schermo Intero"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:185
msgid "&Gamecube Pad Settings"
msgstr "Impostazioni Pad &Gamecube"
msgstr "Impostazioni Controlli &GameCube"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:183
msgid "&Graphics Settings"
@ -237,7 +237,7 @@ msgstr "&Suono"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:324
#, fuzzy
msgid "&Stop"
msgstr "&Stop"
msgstr "&Arresta"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:220
msgid "&Tools"
@ -257,7 +257,7 @@ msgstr "Impostazioni &Wiimote"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:439
msgid "(off)"
msgstr "(spento)"
msgstr "(nessuno)"
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:159
msgid "16 bit"
@ -312,7 +312,7 @@ msgstr "<Sistema>"
#: Source/Core/DolphinWX/Src/NetWindow.cpp:177
#: Source/Core/DolphinWX/Src/NetWindow.cpp:213
msgid "A NetPlay window is already open!!"
msgstr "Una finestra NetPlay risulta già aperta!!"
msgstr "Una finestra di Gioco-Online risulta già aperta!!"
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:348
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:379
@ -347,17 +347,17 @@ msgid ""
msgstr ""
"ATTENZIONE:\n"
"\n"
"NetPlay funzionerà correttamente quando utilizza le seguenti impostazioni:\n"
"La modalità di Gioco-Online funzionerà correttamente solo quando verranno utilizzate le seguenti impostazioni:\n"
" - Dual Core [SPENTO]\n"
" - Autoregolazione Audio [SPENTO]\n"
" - DSP-HLE con \"Nessun Audio\" oppure DSP-LLE\n"
" - DSP-HLE con l'opzione \"Nessun Audio\" oppure in DSP-LLE\n"
" - Impostare manualmente il numero esatto dei controller che verranno "
"utilizzati come [Controller Standard]\n"
"\n"
"Tutti i giocatori devono cercare di utilizzare le stesse impostazioni e "
"versione di Dolphin.\n"
"Disabilita tutte le schede di memoria oppure inviarle a tutti i giocatori "
"prima di iniziare.\n"
"versioni di Dolphin.\n"
"Disabilitare tutte le schede di memoria oppure condividerle inviandole a tutti i giocatori prima di "
"iniziare.\n"
"Il supporto per il Wiimote non è stato implementato.\n"
"\n"
"E' necessario inoltrare la porta TCP all'host!!"
@ -383,11 +383,11 @@ msgstr "Accellerazione"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:342
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:295
msgid "Accurate Texture Cache"
msgstr "Cache Texture di precisione"
msgstr "Cache Texture di Precisione"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:313
msgid "Accurate VBeam emulation"
msgstr ""
msgstr "Emulazione VBeam accurata"
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:210
msgid "Action"
@ -440,8 +440,8 @@ msgid ""
"Action Replay Error: Invalid size (%08x : address = %08x) in Write To "
"Pointer (%s)"
msgstr ""
"Errore Action Replay: Dimensioni non valide (%08x : indirizzo = %08x) in "
"operazioni di Scrittura Al Puntatote (%s)"
"Errore Action Replay: Dimensioni non valide (%08x : indirizzo = %08x) in operazioni di "
"Scrittura Al Puntatore (%s)"
#: Source/Core/Core/Src/ActionReplay.cpp:803
#, c-format
@ -539,7 +539,7 @@ msgstr "Tutti i file di immagine GC/Wii (gcm, iso, ciso, gcz)"
#: Source/Core/DolphinWX/Src/GameListCtrl.cpp:1287
#, fuzzy
msgid "All Gamecube GCM files (gcm)"
msgstr "Tutti i file GCM Gamecube (gcm)"
msgstr "Tutti i file GCM GameCube (gcm)"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:1264
#: Source/Core/DolphinWX/Src/FrameTools.cpp:1278
@ -599,7 +599,7 @@ msgstr "Impossibile caricare l'Apploader dal file"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:771
msgid "Apploader:"
msgstr "Programma di caricamento (Apploader):"
msgstr "Programma di Caricamento (Apploader):"
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:127
msgid "Apply"
@ -780,7 +780,7 @@ msgstr "Pulsanti"
#: Source/Core/Core/Src/HW/GCPadEmu.cpp:74
msgid "C-Stick"
msgstr "C-Stick"
msgstr "Levetta di Controllo"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:469
msgid "CPU Emulator Engine"
@ -917,7 +917,7 @@ msgstr "Cinese (Semplificato)"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:295
msgid "Chinese (Traditional)"
msgstr ""
msgstr "Cinese (Tradizionale)"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:750
msgid "Choose a DVD root directory:"
@ -954,7 +954,7 @@ msgstr "Scegli la cartella in cui 'estrarre in'"
#: Source/Core/InputCommon/Src/ControllerEmu.cpp:297
msgid "Circle Stick"
msgstr "Stick Circolare"
msgstr "Levetta Circolare"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp:52
msgid "Classic"
@ -978,8 +978,8 @@ msgid ""
"Client disconnect while game is running!! NetPlay is disabled. You must "
"manually stop the game."
msgstr ""
"Client disconnesso durante l'esecuzione del gioco!! NetPlay è disabilitato. "
"E' necessario arrestare il gioco manualmente."
"Client disconnesso durante l'esecuzione del gioco!! La modalità di Gioco-Online "
" è disabilitata. E' necessario arrestare il gioco manualmente."
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:129
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:237
@ -1160,9 +1160,9 @@ msgid ""
"backup. Please note that original Gamecube and Wii discs cannot be read by "
"most PC DVD drives."
msgstr ""
"Impossibile leggere \"%s\". Nessun disco trovato nell'unità, oppure non è un "
"backup GC/Wii. Tieni presente che la maggior parte delle unità a DVD nei PC "
"non riesce a leggere i dischi originali Gamecube/Wii."
"Impossibile leggere \"%s\". Nessun disco trovato nell'unità, oppure non è un backup "
"GC/Wii. Tieni presente che la maggior parte delle unità a DVD nei PC non riesce a leggere "
"i dischi originali GameCube/Wii."
#: Source/Core/Core/Src/CoreParameter.cpp:272
#, fuzzy, c-format
@ -1252,11 +1252,11 @@ msgstr "Creatore: "
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:427
msgid "Crop"
msgstr "Tronca"
msgstr "Taglia Immagine lungo i Bordi"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp:48
msgid "Crossfade"
msgstr "Dissolvenza incrociata"
msgstr "Dissolvenza Incrociata"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:600
#, c-format
@ -1265,7 +1265,7 @@ msgstr "Directory corrente cambiata da %s a %s dopo wxFileSelector!"
#: Source/Core/Core/Src/HW/GCPadEmu.cpp:86
msgid "D-Pad"
msgstr "D-Pad"
msgstr "Croce Direzionale"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:347
msgid "DList Cache"
@ -1425,7 +1425,7 @@ msgid ""
"Disable fog. Improves performance but causes glitches in games which rely on "
"proper fog emulation."
msgstr ""
"Disabilita nebbia. Migliora le prestazioni ma provoca difetti in giochi che "
"Disabilita nebbia. Migliora le prestazioni ma provoca difetti nei giochi che "
"richiedono l'effetto nebbia"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:87
@ -1518,7 +1518,7 @@ msgstr "Dolphin - Configurazione Wiimote Emulato"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:1091
#, fuzzy
msgid "Dolphin GCPad Configuration"
msgstr "Dolphin - Configurazione GCPad"
msgstr "Dolphin - Configurazione Controlli GC"
#: Source/Plugins/Plugin_VideoOGL/Src/main.cpp:181
#, fuzzy
@ -1585,19 +1585,19 @@ msgstr "Fittizia"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:415
msgid "Dump EFB Target"
msgstr "Trasferisci/salva Target EFB"
msgstr "Trasferisci/Salva Oggetti EFB"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:416
msgid "Dump Frames"
msgstr "Trasferisci/salva Frames"
msgstr "Trasferisci/Salva Fotogrammi"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:413
msgid "Dump Textures"
msgstr "Trasferisci/salva Textures"
msgstr "Trasferisci/Salva Textures"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:97
msgid "Dump game textures to User/Dump/Textures/<game id>/"
msgstr "Trasferisci/salva textures di gioco in User/Dump/Textures/<game id>/"
msgstr "Effettua il trasferimento (dumping) delle textures di gioco in User/Dump/Textures/<game id>/"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:272
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:297
@ -1674,7 +1674,7 @@ msgstr "Processo dell'Emulatore già in esecuzione"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:250
msgid "Emulate format changes"
msgstr "Emula i cambiamenti di formato"
msgstr "Emula i Cambiamenti di Formato"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:82
msgid ""
@ -1765,7 +1765,7 @@ msgstr "Attiva Audio HLE"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:430
msgid "Enable Hotkeys"
msgstr "Attiva Scorciatoie da tastiera"
msgstr "Attiva Tasti di Scelta Rapida"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:306
msgid "Enable Idle Skipping"
@ -1803,11 +1803,11 @@ msgstr "Attiva WideScreen"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:355
msgid "Enable Wireframe"
msgstr "Attiva Wireframe (rappr. Vettoriale)"
msgstr "Attiva Rappres. Vettoriale"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:269
msgid "Enable cache"
msgstr "Attiva cache"
msgstr "Attiva Cache"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:316
msgid ""
@ -1835,9 +1835,10 @@ msgid ""
"Unit. Accurate to the hardware, but slow to emulate. (ON = Compatible, OFF = "
"Fast)"
msgstr ""
"Attiva Traduzione Indirizzi dei Blocchi di memoria (BAT), una funzione "
"dell'Unita di Gestionedella Memoria. Accresce l'accuratezza dell'hw emulato, "
"ma è lento da emulare (Attivo = Compatibile, Disattivato = Veloce)"
"Attiva Traduzione Indirizzi dei Blocchi in Memoria (BAT), una funzione dell'Unita "
"di Gestione della Memoria.\n"
"Accresce l'accuratezza dell'hardware emulato, ma è lento da eseguire (Attivo = Compatibile, "
"Disattivato = Veloce)"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:70
msgid ""
@ -1941,8 +1942,7 @@ msgstr "Errore caricamento %s: impossibile leggere le informazioni"
msgid ""
"Error loading plugin %s: can't find file. Please re-select your plugins."
msgstr ""
"Errore caricamento plugin %s: impssibile trovare il file. Per favore ri-"
"seleziona i tuoi plugins."
"Errore caricamento plugin %s: impossibile trovare il file. Per favore riseleziona i tuoi plugins."
#: Source/Core/DolphinWX/Src/Main.cpp:403
#: Source/Plugins/Plugin_VideoDX9/Src/main.cpp:79
@ -2011,7 +2011,7 @@ msgstr "Esporta Salvataggio"
#: Source/Core/DolphinWX/Src/GameListCtrl.cpp:970
msgid "Export Wii save (Experimental)"
msgstr "Esporta Salvataggi Wii (sperimentale)"
msgstr "Esporta salvataggi Wii (sperimentale)"
#: Source/Core/DolphinWX/Src/MemcardManager.cpp:797
msgid "Export all saves"
@ -2360,7 +2360,7 @@ msgstr "File GCI(*.gci)"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:370
msgid "GCPad"
msgstr "GCPad"
msgstr "Controlli GC"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:452
msgid "Game ID:"
@ -2388,17 +2388,17 @@ msgstr "Configurazione di Gioco"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:451
msgid "Gamecube"
msgstr "Gamecube"
msgstr "GameCube"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:997
#: Source/Core/DolphinWX/Src/MemcardManager.cpp:219
#, fuzzy
msgid "Gamecube Memory Cards (*.raw,*.gcp)"
msgstr "Schede di Memoria Gamecube (*.raw,*.gcp)"
msgstr "Schede di Memoria GameCube (*.raw,*.gcp)"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:370
msgid "Gamecube Pad settings"
msgstr "Impostazioni Pad Gamecube"
msgstr "Impostazioni Controlli GameCube"
#: Source/Core/DolphinWX/Src/CheatsWindow.cpp:122
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:287
@ -2531,12 +2531,12 @@ msgstr "Host"
#: Source/Core/DolphinWX/Src/HotkeyDlg.h:44
msgid "Hotkey Configuration"
msgstr "Configurazione Scorciatoie da tastiera"
msgstr "Configurazione Tasti di Scelta Rapida"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:525
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:206
msgid "Hotkeys"
msgstr "Scorciatoie da tastiera"
msgstr "Tasti di Scelta Rapida"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:303
msgid "Hungarian"
@ -2576,7 +2576,7 @@ msgstr "Impostazioni IPL"
#: Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp:241
msgid "IR"
msgstr "Puntamento"
msgstr "Puntamento IR"
#: Source/Core/DolphinWX/Src/UDPConfigDiag.cpp:25
msgid "IR Pointer"
@ -2607,8 +2607,8 @@ msgstr "Icona"
msgid ""
"If the FPS is erratic, this option may help. (ON = Compatible, OFF = Fast)"
msgstr ""
"Attiva l'Unità di Gestione della Memoria (MMU), necessaria per alcuni "
"giochi. (Attivo = Compatibile, Disabilitato = Veloce)"
"Se il framerate risulta incoerente o incostante, questa opzione potrebbe porre "
"rimedio. (Attivo = Compatibile, Disabilitato = Veloce)"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:399
msgid ""
@ -2671,7 +2671,7 @@ msgstr "Input"
#: Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp:28
msgid "Input Source"
msgstr "Sorgente d'ingresso"
msgstr "Sorgente d'Ingresso"
#: Source/Core/DolphinWX/Src/WXInputBase.cpp:60
msgid "Insert"
@ -2714,7 +2714,7 @@ msgstr "Installazione WAD per il Menu Wii..."
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:236
msgid "Integral [recommended]"
msgstr "Integrale [consigliato]"
msgstr "Integrale [consigliata]"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:512
msgid "Interface Settings"
@ -2831,13 +2831,13 @@ msgid ""
"Can cause slowdown, but some games need this option enabled to work properly."
msgstr ""
"Tiene traccia delle textures in base ai pixel effettivi nella texture "
"stesse.\n"
"Può causare rallentamenti, ma alcuni giochi necessitano di quesa opzione per "
"stessa.\n"
"Può causare rallentamenti, ma alcuni giochi necessitano di questa opzione per "
"funzionare in modo corretto."
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:213
msgid "Key"
msgstr "Tasto"
msgstr "Combinaz. Tasti"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:289
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:306
@ -2879,7 +2879,7 @@ msgstr "Sinistra"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp:60
msgid "Left Stick"
msgstr "Stick Sinistro"
msgstr "Levetta Sinistra"
#: Source/Core/DolphinWX/Src/InputConfigDiag.cpp:712
msgid ""
@ -2913,7 +2913,7 @@ msgstr "Carica Textures ad alta risoluzione"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:214
msgid "Load Native Mipmaps"
msgstr "Carica Mip maps precalcolate"
msgstr "Carica Mip Maps precalcolate"
#: Source/Core/DolphinWX/Src/LuaWindow.cpp:111
msgid "Load Script..."
@ -2940,7 +2940,7 @@ msgid ""
"Loading native mipmaps is the more accurate behavior, but might also "
"decrease performance (your mileage might vary though)."
msgstr ""
"Carica Mip maps native invece di generarle.\n"
"Carica Mip Maps native invece di generarle.\n"
"Caricare le mip maps in formato nativo è il metodo più accurato e preciso, "
"ma ciò potrebbe anche diminuire le prestazioni."
@ -2997,7 +2997,7 @@ msgstr "File MadCatz Gameshark(*.gcs)"
#: Source/Core/Core/Src/HW/GCPadEmu.cpp:73
msgid "Main Stick"
msgstr "Stick Principale"
msgstr "Levetta Principale"
#: Source/Core/DolphinWX/Src/ISOProperties.cpp:456
msgid "Maker ID:"
@ -3082,7 +3082,7 @@ msgid ""
"Modify textures to show the format they're using.\n"
"This is only useful for debugging purposes."
msgstr ""
"Modifica le textures per mostrare il formato che stanno usando.\n"
"Modifica le textures per mostrare a video il formato che stanno usando.\n"
"Utile solo per il debug."
#: Source/Core/DolphinWX/Src/LogWindow.cpp:95
@ -3231,7 +3231,7 @@ msgstr "Nessun Paese (SDK)"
#: Source/Core/DolphinWX/Src/GameListCtrl.cpp:308
msgid "No ISOs or WADS found"
msgstr "Nessun ISO o WADS trovati"
msgstr "Nessun ISO o WAD trovata"
#: Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp:540
#, c-format
@ -3341,7 +3341,7 @@ msgstr "Apri"
#: Source/Core/DolphinWX/Src/GameListCtrl.cpp:972
msgid "Open &containing folder"
msgstr "Apri &percorso"
msgstr "Apri &percorso file"
#: Source/Core/DolphinWX/Src/GameListCtrl.cpp:969
msgid "Open Wii &save folder"
@ -3401,8 +3401,8 @@ msgid ""
"Other client disconnected while game is running!! NetPlay is disabled. You "
"manually stop the game."
msgstr ""
"Altro client disconnesso a gioco in corso!! NetPlay viene disabilitato. "
"Arrestare manualmente il gioco."
"Altro client disconnesso a gioco in corso!! La modalità di Gioco-Online viene "
"disabilitata. Arrestare manualmente il gioco."
#: Source/Core/DolphinWX/Src/InputConfigDiag.cpp:499
msgid "Output"
@ -3419,7 +3419,7 @@ msgstr "Pad"
#: Source/Core/DolphinWX/Src/NetWindow.cpp:557
msgid "Pad "
msgstr "Pad"
msgstr "Pad "
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp:34
msgid "Pads"
@ -3519,22 +3519,22 @@ msgstr "Polacco"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:623
#, fuzzy
msgid "Port 1"
msgstr "Porta :"
msgstr "Porta 1:"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:624
#, fuzzy
msgid "Port 2"
msgstr "Porta :"
msgstr "Porta 2:"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:625
#, fuzzy
msgid "Port 3"
msgstr "Porta :"
msgstr "Porta 3:"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:626
#, fuzzy
msgid "Port 4"
msgstr "Porta :"
msgstr "Porta 4:"
#: Source/Core/DolphinWX/Src/NetWindow.cpp:74
#: Source/Core/DolphinWX/Src/NetWindow.cpp:106
@ -3737,7 +3737,7 @@ msgstr "Destra"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp:61
#, fuzzy
msgid "Right Stick"
msgstr "Stick Destro"
msgstr "Levetta Destra"
#: Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp:270
#: Source/Core/Core/Src/HW/GCPadEmu.cpp:82
@ -3823,7 +3823,7 @@ msgstr "Ricerca..."
#: Source/Core/DolphinWX/Src/FrameTools.cpp:365
msgid "ScrShot"
msgstr "Screenshot"
msgstr "Istantanea"
#: Source/Core/DolphinWX/Src/WXInputBase.cpp:103
msgid "Scroll Lock"
@ -3989,7 +3989,7 @@ msgstr "Mostra &Console"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:228
msgid "Show &Logwindow"
msgstr "Mostra finestra di &Log"
msgstr "Mostra Finestra di &Log"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:225
msgid "Show &Statusbar"
@ -4157,12 +4157,12 @@ msgstr "Ingresso"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:572
#, fuzzy
msgid "Slot A"
msgstr "Ingresso"
msgstr "Ingresso A"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:573
#, fuzzy
msgid "Slot B"
msgstr "Ingresso"
msgstr "Ingresso B"
#: Source/Core/DolphinWX/Src/WXInputBase.cpp:59
msgid "Snapshot"
@ -4216,15 +4216,14 @@ msgstr ""
"elevata migliora la qualità visiva, ma risulta decisamente pesante\n"
"a discapito delle prestazioni con il rischio di causare anomalie in alcuni "
"giochi.\n"
"- Frazionaria: Utilizza la risoluzione dello schermo invece della "
"risoluzione nativa. La qualità è scalata in base alle dimensioni\n"
" del monitor/finestra, così come l'impatto sulle prestazioni.\n"
"- Integrale: Questa è come la precedente, ma arrotonda in eccesso all'intero "
"successivo le dimensioni della risoluzione nativa.\n"
" Dovrebbe sembrare e apparire più accurata, ma di solito è anche più "
"lenta.\n"
"- Le altre opzioni a risoluzione fissa sono per una scelta visiva "
"qualitativamente indipendente alla dimensione del display."
"- Frazionaria: Utilizza la risoluzione dello schermo invece della risoluzione "
"nativa. La qualità è scalata in base alle dimensioni\n del monitor/finestra, "
"così come l'impatto sulle prestazioni.\n"
"- Integrale: Questa è come la precedente, ma arrotonda per eccesso all'intero successivo le dimensioni "
"della risoluzione nativa.\n Dovrebbe sembrare e apparire più accurata, ma di "
"solito è anche più lenta.\n"
"- Le altre opzioni a risoluzione fissa sono per una scelta visiva qualitativamente indipendente "
"alla dimensione del display."
#: Source/Core/DolphinWX/Src/Main.cpp:133
msgid "Specify a video plugin"
@ -4240,7 +4239,7 @@ msgstr "Aumenta la velocità di trasferimento del Disco"
#: Source/Core/InputCommon/Src/ControllerEmu.cpp:243
msgid "Square Stick"
msgstr "Stick Quadrato"
msgstr "Levetta Quadrata"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:74
msgid "Standard Controller"
@ -4254,7 +4253,7 @@ msgstr "Start"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:201
msgid "Start &NetPlay"
msgstr "Avvia &NetPlay"
msgstr "Avvia Gioco-&Online"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:137
msgid "Start Re&cording"
@ -4262,7 +4261,7 @@ msgstr "Avvia Re&gistrazione"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:505
msgid "Start Renderer in Fullscreen"
msgstr "Avvia Rendering a Schermo intero"
msgstr "Avvia Rendering a Schermo Intero"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:409
msgid "Start the rendering window in fullscreen mode."
@ -4274,14 +4273,14 @@ msgstr "Stato"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp:53
msgid "Stick"
msgstr "Stick"
msgstr "Levetta"
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:193
#: Source/Core/DolphinWX/Src/FrameTools.cpp:363
#: Source/Core/DolphinWX/Src/LuaWindow.cpp:113
#: Source/Core/DolphinWX/Src/NetWindow.cpp:306
msgid "Stop"
msgstr "Stop"
msgstr "Arresta"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:166
msgid "Stretch to Window"
@ -4298,7 +4297,7 @@ msgstr "-"
#: Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp:78
#, c-format
msgid "Successfully exported file to %s"
msgstr "Esportazione file in %s avvenuta con successo"
msgstr "Esportazione file in %s riuscita"
#: Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp:57
#, fuzzy
@ -4340,11 +4339,11 @@ msgstr "Semipiano destro"
#: Source/Core/DolphinWX/Src/FrameTools.cpp:327
#: Source/Core/DolphinWX/Src/FrameTools.cpp:365
msgid "Take Screenshot"
msgstr "Genera un'istantanea"
msgstr "Genera un'Istantanea di Gioco"
#: Source/Core/DolphinWX/Src/InputConfigDiag.cpp:503
msgid "Test"
msgstr "Test"
msgstr "Prova"
#: Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp:265
msgid "Texture"
@ -4356,7 +4355,7 @@ msgstr "Formato Texture"
#: Source/Core/Core/Src/CoreParameter.cpp:209
msgid "The WAD has been installed successfully"
msgstr "Installazione WAD avvenuta con successo"
msgstr "Installazione WAD riuscita"
#: Source/Core/Core/Src/ActionReplay.cpp:197
msgid "The address is invalid"
@ -4364,7 +4363,7 @@ msgstr "L'indirizzo non è valido"
#: Source/Core/DolphinWX/Src/MemcardManager.cpp:517
msgid "The checksum was successfully fixed"
msgstr "La somma di controllo è stata ripristinata con successo"
msgstr "Tentativo di ripristino della somma di controllo riuscito"
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:1152
msgid "The chosen directory is already in the list"
@ -4428,7 +4427,7 @@ msgstr ""
#: Source/Core/DolphinWX/Src/NetPlayClient.cpp:46
msgid "The server and client's NetPlay versions are incompatible!"
msgstr "Le versioni del server e del client NetPlay non sono compatibili!"
msgstr "Le versioni del server e del client Gioco-Online non sono compatibili!"
#: Source/Core/DolphinWX/Src/NetPlayClient.cpp:43
msgid "The server is full!"
@ -4472,8 +4471,8 @@ msgid ""
"These settings override core Dolphin settings.\n"
"Undetermined means the game uses Dolphin's setting."
msgstr ""
"Queste impostazioni sovrascrivono quelle base di Dolphin. \n"
"'Indeterminato' significa che il gioco utilizza l'impostazione di Dolphin."
"Queste impostazioni sovrascrivono quelle generiche di Dolphin. \n"
"Per impostazione 'indeterminata' si intende che il gioco utilizza l'impostazione di Dolphin."
#: Source/Core/Core/Src/ActionReplay.cpp:356
msgid ""
@ -4552,7 +4551,7 @@ msgstr "Titolo"
#: Source/Core/DolphinWX/Src/HotkeyDlg.cpp:191
#: Source/Core/DolphinWX/Src/FrameTools.cpp:364
msgid "Toggle Fullscreen"
msgstr "Commuta a Schermo intero"
msgstr "Commuta a Schermo Intero"
#: Source/Core/DolphinWX/Src/LogWindow.cpp:129
msgid "Toggle all"
@ -4593,12 +4592,12 @@ msgstr ""
#: Source/Core/DolphinWX/Src/ConfigMain.cpp:312
msgid "Turkish"
msgstr ""
msgstr "Turco"
#: Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp:29
#, fuzzy
msgid "Turntable"
msgstr "Giradischi DJ"
msgstr "Giradischi da DJ"
#: Source/Core/DolphinWX/Src/PatchAddEdit.cpp:71
msgid "Type"
@ -5145,7 +5144,7 @@ msgstr "| OR"
#~ msgstr "&Carattere..."
#~ msgid "&Frame Stepping"
#~ msgstr "&Fotogramma per fortogramma"
#~ msgstr "&Fotogramma per Fotogramma"
#~ msgid "&Generate symbol map"
#~ msgstr "&Genera simbolo mappa"
@ -5242,7 +5241,7 @@ msgstr "| OR"
#~ msgstr "AOSound"
#~ msgid "Accurate texture cache"
#~ msgstr "Accurate Texture Cache"
#~ msgstr "Cache Texture di Precisione"
#~ msgid "Active"
#~ msgstr "Attivo"
@ -5267,7 +5266,7 @@ msgstr "| OR"
#, fuzzy
#~ msgid "Adjust window size"
#~ msgstr "Regola dimensioni finestra"
#~ msgstr "Autoregola Dimensioni Finestra"
#~ msgid "Alternate RFI"
#~ msgstr "Istruzioni RFI alternative"
@ -5397,7 +5396,7 @@ msgstr "| OR"
#~ "option may fix the game."
#~ msgstr ""
#~ "Se un gioco si blocca, funziona solo in modalità Interprete altrimenti "
#~ "Dolphin va in crash, questa operazione potrebbe correggere il problema"
#~ "Dolphin va in crash,\nquesta operazione potrebbe correggere il problema"
#~ msgid "JIT block viewer"
#~ msgstr "Visualizzatore di blocchi JIT"
@ -5516,7 +5515,7 @@ msgstr "| OR"
#~ msgstr "TLUT Cmd"
#~ msgid "Take Screenshot\t"
#~ msgstr "Genera uno screenshot\t"
#~ msgstr "Genera Istantanea\t"
#~ msgid "Texture Cmd"
#~ msgstr "Texture Cmd"

View File

@ -138,10 +138,8 @@ void CPUInfo::Detect()
if (max_std_fn >= 1) {
__cpuid(cpu_id, 0x00000001);
logical_cpu_count = (cpu_id[1] >> 16) & 0xFF;
if ((cpu_id[3] >> 28) & 1) {
// wtf, we get here on my core 2
HTT = true;
}
// HTT is valid for intel processors only.
HTT = ((cpu_id[3] >> 28) & 1) && vendor == VENDOR_INTEL;
if ((cpu_id[3] >> 25) & 1) bSSE = true;
if ((cpu_id[3] >> 26) & 1) bSSE2 = true;
if ((cpu_id[2]) & 1) bSSE3 = true;
@ -175,7 +173,7 @@ void CPUInfo::Detect()
if (apic_id_core_id_size == 0) {
// New mechanism for modern CPUs.
num_cores = logical_cpu_count;
if (HTT && vendor == VENDOR_INTEL) {
if (HTT) {
__cpuid(cpu_id, 0x00000004);
int cores_x_package = ((cpu_id[0] >> 26) & 0x3F) + 1;
cores_x_package = ((logical_cpu_count % cores_x_package) == 0) ? cores_x_package : 1;
@ -202,7 +200,7 @@ std::string CPUInfo::Summarize()
else
{
sum = StringFromFormat("%s, %i cores", cpu_string, num_cores);
if (HTT && vendor == VENDOR_INTEL) sum += StringFromFormat(" (%i logical IDs per physical core)", logical_cpu_count);
if (HTT) sum += StringFromFormat(" (%i logical IDs per physical core)", logical_cpu_count);
}
if (bSSE) sum += ", SSE";
if (bSSE2) sum += ", SSE2";

View File

@ -38,7 +38,7 @@ struct CPUInfo
bool CPU64bit;
bool Mode64bit;
bool hyper_threaded;
bool HTT;
int num_cores;
int logical_cpu_count;
@ -55,7 +55,6 @@ struct CPUInfo
bool bAES;
bool bLAHFSAHF64;
bool bLongMode;
bool HTT;
// Call Detect()
explicit CPUInfo();

View File

@ -69,6 +69,7 @@ BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
EVT_MENU(IDM_EXTRACTAPPLOADER, CISOProperties::OnExtractDataFromHeader)
EVT_MENU(IDM_EXTRACTDOL, CISOProperties::OnExtractDataFromHeader)
EVT_CHOICE(ID_LANG, CISOProperties::OnChangeBannerLang)
EVT_CHECKBOX(ID_PHACKENABLE, CISOProperties::OnCheckBoxClicked)
END_EVENT_TABLE()
CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& position, const wxSize& size, long style)
@ -347,14 +348,22 @@ void CISOProperties::CreateGUIControls(bool IsWad)
UseZTPSpeedupHack->SetToolTip(_("Enable this to speed up The Legend of Zelda: Twilight Princess. Disable for ANY other game."));
DListCache = new wxCheckBox(m_GameConfig, ID_DLISTCACHE, _("DList Cache"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
// Hack
Hacktext = new wxStaticText(m_GameConfig, ID_HACK_TEXT, _("Projection Hack for: "), wxDefaultPosition, wxDefaultSize);
arrayStringFor_Hack.Add(_("None"));
arrayStringFor_Hack.Add(_("Zelda Twilight Princess Bloom hack"));
arrayStringFor_Hack.Add(_("Sonic and the Black Knight"));
arrayStringFor_Hack.Add(_("Bleach Versus Crusade"));
arrayStringFor_Hack.Add(_("Skies of Arcadia"));
arrayStringFor_Hack.Add(_("Metroid Other M"));
Hack = new wxChoice(m_GameConfig, ID_HACK, wxDefaultPosition, wxDefaultSize, arrayStringFor_Hack, 0, wxDefaultValidator);
sbPHackSettings = new wxStaticBoxSizer(wxVERTICAL, m_GameConfig, _("Custom Projection Hack"));
PHackEnable = new wxCheckBox(m_GameConfig, ID_PHACKENABLE, _("Enable"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE, wxDefaultValidator);
PHackEnable->SetToolTip(_("Customize some Orthographic Projection parameters."));
szrPHackSettings = new wxFlexGridSizer(3,5,5);
PHackZNearText = new wxStaticText(m_GameConfig, ID_PHACK_ZNear_TEXT, _("zNear Correction: "), wxDefaultPosition, wxDefaultSize);
PHackZNear = new wxTextCtrl(m_GameConfig, ID_PHACK_ZNear, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
PHackZNear->SetToolTip(_("Adds the specified value to zNear Parameter.\nTwo ways to express the floating point values.\nExample: entering '\'200'\' or '\'0.0002'\' directly, it produces equal effects, the acquired value will be '\'0.0002'\'.\nValues: (0->+/-Integer) or (0->+/-FP[6 digits of precision])\n\nNOTE: Check LogWindow/Console for the acquired values."));
PHackSZNear = new wxCheckBox(m_GameConfig, ID_PHACK_SZNear, _("(-)+zNear"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE, wxDefaultValidator);
PHackSZNear->SetToolTip(_("Changes sign to zNear Parameter (after correction)"));
PHackZFarText = new wxStaticText(m_GameConfig, ID_PHACK_ZFar_TEXT, _("zFar Correction: "), wxDefaultPosition, wxDefaultSize);
PHackZFar = new wxTextCtrl(m_GameConfig, ID_PHACK_ZFar, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
PHackZFar->SetToolTip(_("Adds the specified value to zFar Parameter.\nTwo ways to express the floating point values.\nExample: entering '\'200'\' or '\'0.0002'\' directly, it produces equal effects, the acquired value will be '\'0.0002'\'.\nValues: (0->+/-Integer) or (0->+/-FP[6 digits of precision])\n\nNOTE: Check LogWindow/Console for the acquired values."));
PHackSZFar = new wxCheckBox(m_GameConfig, ID_PHACK_SZFar, _("(-)+zFar"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE, wxDefaultValidator);
PHackSZFar->SetToolTip(_("Changes sign to zFar Parameter (after correction)"));
PHackExP = new wxCheckBox(m_GameConfig, ID_PHACK_ExP, _("Extra Parameter"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE, wxDefaultValidator);
PHackExP->SetToolTip(_("Extra Parameter useful in '\'Metroid: Other M'\' only."));
// Emulation State
sEmuState = new wxBoxSizer(wxHORIZONTAL);
@ -391,8 +400,18 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sbVideoOverrides->Add(UseXFB, 0, wxEXPAND|wxLEFT, 5);
sbVideoOverrides->Add(UseZTPSpeedupHack, 0, wxEXPAND|wxLEFT, 5);
sbVideoOverrides->Add(DListCache, 0, wxEXPAND|wxLEFT, 5);
sbVideoOverrides->Add(Hacktext, 0, wxEXPAND|wxLEFT, 5);
sbVideoOverrides->Add(Hack, 0, wxEXPAND|wxLEFT, 5);
sbVideoOverrides->AddSpacer(5);
sbVideoOverrides->Add(sbPHackSettings, 0, wxEXPAND);
sbPHackSettings->Add(PHackEnable, 0, wxEXPAND|wxLEFT, 5);
sbPHackSettings->AddSpacer(15);
sbPHackSettings->Add(szrPHackSettings, 0, wxEXPAND|wxLEFT, 5);
szrPHackSettings->Add(PHackZNearText, 0, wxALIGN_CENTER_VERTICAL);
szrPHackSettings->Add(PHackZNear, 1, wxEXPAND);
szrPHackSettings->Add(PHackSZNear, 0, wxEXPAND|wxLEFT, 5);
szrPHackSettings->Add(PHackZFarText, 0, wxALIGN_CENTER_VERTICAL);
szrPHackSettings->Add(PHackZFar, 1, wxEXPAND);
szrPHackSettings->Add(PHackSZFar, 0, wxEXPAND|wxLEFT, 5);
szrPHackSettings->Add(PHackExP, 0, wxEXPAND);
sbGameConfig->Add(sbCoreOverrides, 0, wxEXPAND);
sbGameConfig->Add(sbWiiOverrides, 0, wxEXPAND);
@ -400,7 +419,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sConfigPage->Add(sbGameConfig, 0, wxEXPAND|wxALL, 5);
sEmuState->Add(EmuStateText, 0, wxALIGN_CENTER_VERTICAL);
sEmuState->Add(EmuState, 0, wxEXPAND);
sEmuState->Add(EmuIssues,1,wxEXPAND);
sEmuState->Add(EmuIssues, 1, wxEXPAND);
sConfigPage->Add(sEmuState, 0, wxEXPAND|wxALL, 5);
m_GameConfig->SetSizer(sConfigPage);
@ -552,6 +571,22 @@ void CISOProperties::CreateGUIControls(bool IsWad)
Layout();
}
void CISOProperties::OnCheckBoxClicked(wxCommandEvent& event)
{
bool choice = (bool)event.GetInt();
if (event.GetId() == ID_PHACKENABLE)
{
PHackSZNear->Enable(choice);
PHackSZFar->Enable(choice);
PHackZNearText->Enable(choice);
PHackZNear->Enable(choice);
PHackZFarText->Enable(choice);
PHackZFar->Enable(choice);
PHackExP->Enable(choice);
}
}
void CISOProperties::OnClose(wxCloseEvent& WXUNUSED (event))
{
if (!SaveGameConfig())
@ -920,8 +955,37 @@ void CISOProperties::LoadGameConfig()
else
DListCache->Set3StateValue(wxCHK_UNDETERMINED);
GameIni.Get("Video", "ProjectionHack", &iTemp, 0/*None*/);
Hack->SetSelection(iTemp);
GameIni.Get("Video", "ProjectionHack", &bTemp);
PHackEnable->Set3StateValue((wxCheckBoxState)bTemp);
PHackSZNear->Enable(bTemp);
PHackSZFar->Enable(bTemp);
PHackZNearText->Enable(bTemp);
PHackZNear->Enable(bTemp);
PHackZFarText->Enable(bTemp);
PHackZFar->Enable(bTemp);
PHackExP->Enable(bTemp);
GameIni.Get("Video", "PH_SZNear", &bTemp);
PHackSZNear->Set3StateValue((wxCheckBoxState)bTemp);
GameIni.Get("Video", "PH_SZFar", &bTemp);
PHackSZFar->Set3StateValue((wxCheckBoxState)bTemp);
GameIni.Get("Video", "PH_ExtraParam", &bTemp);
PHackExP->Set3StateValue((wxCheckBoxState)bTemp);
GameIni.Get("Video", "PH_ZNear", &sTemp);
if (!sTemp.empty())
{
PHackZNear->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
bRefreshList = true;
}
GameIni.Get("Video", "PH_ZFar", &sTemp);
if (!sTemp.empty())
{
PHackZFar->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
bRefreshList = true;
}
GameIni.Get("EmuState", "EmulationStateId", &iTemp, 0/*Not Set*/);
EmuState->SetSelection(iTemp);
@ -1041,7 +1105,14 @@ bool CISOProperties::SaveGameConfig()
else
GameIni.Set("Video", "DlistCachingEnable", DListCache->Get3StateValue());
GameIni.Set("Video", "ProjectionHack", Hack->GetSelection());
GameIni.Set("Video", "ProjectionHack", PHackEnable->Get3StateValue());
GameIni.Set("Video", "PH_SZNear", PHackSZNear->Get3StateValue());
GameIni.Set("Video", "PH_SZFar", PHackSZFar->Get3StateValue());
GameIni.Set("Video", "PH_ExtraParam", PHackExP->Get3StateValue());
GameIni.Set("Video", "PH_ZNear", (const char*)PHackZNear->GetValue().mb_str(*wxConvCurrent));
GameIni.Set("Video", "PH_ZFar", (const char*)PHackZFar->GetValue().mb_str(*wxConvCurrent));
GameIni.Set("EmuState", "EmulationStateId", EmuState->GetSelection());
GameIni.Set("EmuState", "EmulationIssues", (const char*)EmuIssues->GetValue().mb_str(*wxConvCurrent));

View File

@ -63,6 +63,7 @@ class CISOProperties : public wxDialog
wxStaticBoxSizer *sbCoreOverrides;
wxStaticBoxSizer *sbWiiOverrides;
wxStaticBoxSizer *sbVideoOverrides;
wxStaticBoxSizer *sbPHackSettings;
wxBoxSizer *sEmuState;
wxBoxSizer *sPatches;
wxBoxSizer *sPatchButtons;
@ -92,10 +93,8 @@ class CISOProperties : public wxDialog
wxCheckBox *ForceFiltering,
*EFBCopyEnable, *EFBAccessEnable, *EFBToTextureEnable,
*SafeTextureCache, *DstAlphaPass, *UseXFB, *UseZTPSpeedupHack,
*DListCache;
*DListCache, *PHackEnable, *PHackSZNear, *PHackSZFar, *PHackExP;
wxStaticText *Hacktext;
wxArrayString arrayStringFor_Hack;
wxChoice *Hack;
wxButton *EditConfig;
wxStaticText *EmuStateText;
@ -129,12 +128,16 @@ class CISOProperties : public wxDialog
wxStaticText *m_MakerText;
wxStaticText *m_CommentText;
wxStaticText *m_BannerText;
wxStaticText *PHackZNearText;
wxStaticText *PHackZFarText;
wxTextCtrl *m_Name;
wxTextCtrl *m_GameID;
wxTextCtrl *m_Country;
wxTextCtrl *m_MakerID;
wxTextCtrl *m_Date;
wxTextCtrl *m_FST;
wxTextCtrl *PHackZNear;
wxTextCtrl *PHackZFar;
wxArrayString arrayStringFor_Lang;
wxChoice *m_Lang;
wxTextCtrl *m_ShortName;
@ -146,6 +149,8 @@ class CISOProperties : public wxDialog
wxTreeItemId RootId;
wxImageList *m_iconList;
wxFlexGridSizer *szrPHackSettings;
Gecko::CodeConfigPanel *m_geckocode_panel;
enum
@ -180,8 +185,14 @@ class CISOProperties : public wxDialog
ID_USEXFB,
ID_ZTP_SPEEDUP,
ID_DLISTCACHE,
ID_HACK_TEXT,
ID_HACK,
ID_PHACKENABLE,
ID_PHACK_SZNear,
ID_PHACK_SZFar,
ID_PHACK_ZNear_TEXT,
ID_PHACK_ZNear,
ID_PHACK_ZFar_TEXT,
ID_PHACK_ZFar,
ID_PHACK_ExP,
ID_ENABLEPROGRESSIVESCAN,
ID_ENABLEWIDESCREEN,
ID_EDITCONFIG,
@ -248,6 +259,7 @@ class CISOProperties : public wxDialog
void OnExtractDataFromHeader(wxCommandEvent& event);
void SetRefresh(wxCommandEvent& event);
void OnChangeBannerLang(wxCommandEvent& event);
void OnCheckBoxClicked(wxCommandEvent& event);
GameListItem *OpenGameListItem;

View File

@ -434,7 +434,7 @@ void TextureCache::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer,
case 3: // Z16
colmat[1] = colmat[5] = colmat[9] = colmat[12] = 1.0f;
cbufid = 13;
cbufid = 24;
break;
case 11: // Z16 (reverse order)

View File

@ -20,6 +20,7 @@
#include "MathUtil.h"
#include <cmath>
#include <sstream>
#include "Statistics.h"
@ -52,24 +53,77 @@ void UpdateViewport();
namespace
{
// Control Variables
static bool g_ProjHack0;
static ProjectionHack g_ProjHack1;
static ProjectionHack g_ProjHack2;
static ProjectionHack g_ProjHack3;
static bool g_ProjHack3;
} // Namespace
void UpdateProjectionHack(int iPhackvalue)
float PHackValue(std::string sValue)
{
bool bProjHack1 = 0, bPhackvalue1 = 0, bPhackvalue2 = 0, bPhackvalue3 = 0;
float fhackvalue1 = 0, fhackvalue2 = 0;
switch(iPhackvalue)
float f = 0;
bool fp = false;
const char *cStr = sValue.c_str();
char *c = new char[strlen(cStr)+1];
std::istringstream sTof("");
for (unsigned int i=0; i<=strlen(cStr); ++i)
{
case PROJECTION_HACK_NONE:
bProjHack1 = 0;
bPhackvalue1 = 0;
bPhackvalue2 = 0;
bPhackvalue3 = 0;
if (i == 20)
{
c[i] = '\0';
break;
}
c[i] = (cStr[i] == ',') ? '.' : *(cStr+i);
if (c[i] == '.')
fp = true;
}
cStr = c;
sTof.str(cStr);
sTof >> f;
if (!fp) f /= 0xF4240;
delete [] c;
return f;
}
void UpdateProjectionHack(int iPhackvalue[], std::string sPhackvalue[])
{
float fhackvalue1 = 0, fhackvalue2 = 0;
float fhacksign1 = 1.0, fhacksign2 = 1.0;
bool bProjHack3 = false;
char *sTemp[2];
if (iPhackvalue[0] == 0)
goto hackDisabled;
NOTICE_LOG(VIDEO, "\t\t--- Ortographic Projection Hack ON ---");
fhacksign1 *= (iPhackvalue[1] == 1) ? -1.0f : fhacksign1;
sTemp[0] = (iPhackvalue[1] == 1) ? " * (-1)" : "";
fhacksign2 *= (iPhackvalue[2] == 1) ? -1.0f : fhacksign2;
sTemp[1] = (iPhackvalue[2] == 1) ? " * (-1)" : "";
fhackvalue1 = PHackValue(sPhackvalue[0]);
NOTICE_LOG(VIDEO, "- zNear Correction = (%f + zNear)%s", fhackvalue1, sTemp[0]);
fhackvalue2 = PHackValue(sPhackvalue[1]);
NOTICE_LOG(VIDEO, "- zFar Correction = (%f + zFar)%s", fhackvalue2, sTemp[1]);
sTemp[0] = "DISABLED";
bProjHack3 = (iPhackvalue[3] == 1) ? true : bProjHack3;
if (bProjHack3)
sTemp[0] = "ENABLED";
NOTICE_LOG(VIDEO, "- Extra Parameter: %s", sTemp[0]);
hackDisabled:
// Set the projections hacks
g_ProjHack1 = ProjectionHack(fhackvalue1,fhacksign1);
g_ProjHack2 = ProjectionHack(fhackvalue2,fhacksign2);
g_ProjHack3 = bProjHack3;
/*
case PROJECTION_HACK_ZELDA_TP_BLOOM_HACK:
bPhackvalue1 = 1;
bProjHack1 = 1;
@ -95,7 +149,7 @@ void UpdateProjectionHack(int iPhackvalue)
case PROJECTION_HACK_METROID_OTHER_M: //temp fix for black screens during cut scenes
bPhackvalue3 = 1;
break;
/* // Unused - kept for reference
// Unused - kept for reference
case PROJECTION_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME:
bPhackvalue1 = 1;
fhackvalue1 = 0.8f;
@ -124,13 +178,6 @@ void UpdateProjectionHack(int iPhackvalue)
bProjHack1 = 1;
break;
*/
}
// Set the projections hacks
g_ProjHack0 = bProjHack1;
g_ProjHack1 = ProjectionHack(bPhackvalue1 == 0 ? false : true, fhackvalue1);
g_ProjHack2 = ProjectionHack(bPhackvalue2 == 0 ? false : true, fhackvalue2);
g_ProjHack3 = ProjectionHack(bPhackvalue3,0);
}
void VertexShaderManager::Init()
@ -344,8 +391,8 @@ void VertexShaderManager::SetConstants()
g_fProjectionMatrix[8] = 0.0f;
g_fProjectionMatrix[9] = 0.0f;
g_fProjectionMatrix[10] = (g_ProjHack1.enabled ? -(g_ProjHack1.value + xfregs.rawProjection[4]) : xfregs.rawProjection[4]);
g_fProjectionMatrix[11] = (g_ProjHack2.enabled ? -(g_ProjHack2.value + xfregs.rawProjection[5]) : xfregs.rawProjection[5]) + (g_ProjHack0 ? 0.1f : 0.0f);
g_fProjectionMatrix[10] = (g_ProjHack1.value + xfregs.rawProjection[4]) * g_ProjHack1.sign;
g_fProjectionMatrix[11] = (g_ProjHack2.value + xfregs.rawProjection[5]) * g_ProjHack2.sign;
g_fProjectionMatrix[12] = 0.0f;
g_fProjectionMatrix[13] = 0.0f;
@ -358,7 +405,7 @@ void VertexShaderManager::SetConstants()
*/
g_fProjectionMatrix[14] = 0.0f;
g_fProjectionMatrix[15] = (g_ProjHack3.enabled && xfregs.rawProjection[0] == 2.0f ? 0.0f : 1.0f); //causes either the efb copy or bloom layer not to show if proj hack enabled
g_fProjectionMatrix[15] = (g_ProjHack3 && xfregs.rawProjection[0] == 2.0f ? 0.0f : 1.0f); //causes either the efb copy or bloom layer not to show if proj hack enabled
SETSTAT_FT(stats.g2proj_0, g_fProjectionMatrix[0]);
SETSTAT_FT(stats.g2proj_1, g_fProjectionMatrix[1]);

View File

@ -20,26 +20,16 @@
#include "VertexShaderGen.h"
enum
{
PROJECTION_HACK_NONE = 0,
PROJECTION_HACK_ZELDA_TP_BLOOM_HACK = 1,
PROJECTION_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2,
PROJECTION_HACK_BLEACH_VERSUS_CRUSADE = 3,
PROJECTION_HACK_SKIES_OF_ARCADIA = 4,
PROJECTION_HACK_METROID_OTHER_M = 5,
};
struct ProjectionHack
{
bool enabled;
float sign;
float value;
ProjectionHack() { }
ProjectionHack(bool new_enabled, float new_value)
: enabled(new_enabled), value(new_value) {}
ProjectionHack(float new_sign, float new_value)
: sign(new_sign), value(new_value) {}
};
void UpdateProjectionHack(int hackIdx);
void UpdateProjectionHack(int iParams[], std::string sParams[]);
// The non-API dependent parts.
class VertexShaderManager

View File

@ -110,7 +110,6 @@ void VideoConfig::Load(const char *ini_file)
iniFile.Get("Hacks", "EFBScaledCopy", &bCopyEFBScaled, true);
iniFile.Get("Hacks", "EFBCopyCacheEnable", &bEFBCopyCacheEnable, false);
iniFile.Get("Hacks", "EFBEmulateFormatChanges", &bEFBEmulateFormatChanges, true);
iniFile.Get("Hacks", "ProjectionHack", &iPhackvalue, 0);
iniFile.Get("Hardware", "Adapter", &iAdapter, 0);
if (iAdapter == -1)
@ -159,7 +158,17 @@ void VideoConfig::GameIniLoad(const char *ini_file)
if (iniFile.Exists("Video", "UseRealXFB"))
iniFile.Get("Video", "UseRealXFB", &bUseRealXFB);
if (iniFile.Exists("Video", "ProjectionHack"))
iniFile.Get("Video", "ProjectionHack", &iPhackvalue);
iniFile.Get("Video", "ProjectionHack", &iPhackvalue[0], 0);
if (iniFile.Exists("Video", "PH_SZNear"))
iniFile.Get("Video", "PH_SZNear", &iPhackvalue[1], 0);
if (iniFile.Exists("Video", "PH_SZFar"))
iniFile.Get("Video", "PH_SZFar", &iPhackvalue[2], 0);
if (iniFile.Exists("Video", "PH_ExtraParam"))
iniFile.Get("Video", "PH_ExtraParam", &iPhackvalue[3], 0);
if (iniFile.Exists("Video", "PH_ZNear"))
iniFile.Get("Video", "PH_ZNear", &sPhackvalue[0], "");
if (iniFile.Exists("Video", "PH_ZFar"))
iniFile.Get("Video", "PH_ZFar", &sPhackvalue[1], "");
if (iniFile.Exists("Video", "UseNativeMips"))
iniFile.Get("Video", "UseNativeMips", &bUseNativeMips);
if (iniFile.Exists("Video", "ZTPSpeedupHack"))
@ -228,7 +237,6 @@ void VideoConfig::Save(const char *ini_file)
iniFile.Set("Hacks", "EFBScaledCopy", bCopyEFBScaled);
iniFile.Set("Hacks", "EFBCopyCacheEnable", bEFBCopyCacheEnable);
iniFile.Set("Hacks", "EFBEmulateFormatChanges", bEFBEmulateFormatChanges);
iniFile.Set("Hacks", "ProjectionHack", iPhackvalue);
iniFile.Set("Hardware", "Adapter", iAdapter);

View File

@ -121,15 +121,12 @@ struct VideoConfig
bool bEFBCopyCacheEnable;
bool bEFBEmulateFormatChanges;
bool bOSDHotKey;
bool bHack;
bool bCopyEFBToTexture;
bool bCopyEFBScaled;
bool bSafeTextureCache;
int iSafeTextureCache_ColorSamples;
int iPhackvalue;
bool bPhackvalue1, bPhackvalue2;
float fhackvalue1, fhackvalue2;
bool bProjHack1;
int iPhackvalue[4];
std::string sPhackvalue[2];
float fAspectRatioHackW, fAspectRatioHackH;
bool bZTPSpeedHack; // The Legend of Zelda: Twilight Princess
bool bEnablePixelLigting;

View File

@ -27,7 +27,7 @@
namespace DX11
{
#define MAX_COPY_BUFFERS 24
#define MAX_COPY_BUFFERS 25
ID3D11Buffer* efbcopycbuf[MAX_COPY_BUFFERS] = {};
TextureCache::TCacheEntry::~TCacheEntry()

View File

@ -232,7 +232,7 @@ void Initialize(void *init)
g_Config.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_dx9.ini").c_str());
g_Config.GameIniLoad(globals->game_ini);
UpdateProjectionHack(g_Config.iPhackvalue); // DX9 projection hack could be disabled by commenting out this line
UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue); // DX9 projection hack could be disabled by commenting out this line
UpdateActiveConfig();
g_VideoInitialize.pWindowHandle = (void*)EmuWindow::Create((HWND)g_VideoInitialize.pWindowHandle, g_hInstance, _T("Loading - Please wait."));

View File

@ -74,7 +74,7 @@
void VideoConfig::UpdateProjectionHack()
{
::UpdateProjectionHack(g_Config.iPhackvalue);
::UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue);
}