From 5b6cb643c7378250f1d832c48158d0b1fc3c6e1d Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 24 Feb 2024 23:46:47 -0500 Subject: [PATCH] Update the options menu to use pfLocalization. This means that we no longer need to round trip the localized strings through Python, improving performance and reducing code bloat in xOptionsMenu.py. As a drive by, I changed the monitor calibration instructions to scale with resolution, so they should be more legible on high resolution displays. --- ...UI_District_AdvancedGameSettingsDialog.prp | 4 +- .../dat/GUI_District_AudioSettingsDialog.prp | 4 +- compiled/dat/GUI_District_CalibrationGUI.prp | 4 +- .../GUI_District_GraphicsSettingsDialog.prp | 4 +- compiled/dat/GUI_District_KeyMapDialog.prp | 4 +- .../GUI_District_NavigationSettingsDialog.prp | 4 +- compiled/dat/GUI_District_OptionsMenuGUI.prp | 4 +- .../dat/GUI_District_OptionsMenuRestart.prp | 4 +- compiled/dat/GUI_District_OrientationGUI.prp | 4 +- .../dat/GUI_District_ReleaseNotesDialog.prp | 4 +- compiled/dat/GUI_District_StartupHelpGUI.prp | 4 +- compiled/dat/OptionsMenuEnglish.loc | 44 +++++++++++++++++++ compiled/dat/OptionsMenuFrench.loc | 30 +++++++++++++ compiled/dat/OptionsMenuGerman.loc | 36 +++++++++++++-- compiled/dat/OptionsMenuItalian.loc | 36 +++++++++++++-- compiled/dat/OptionsMenuSpanish.loc | 31 +++++++++++++ sources/KI/xKIGUI.max | 4 +- 17 files changed, 195 insertions(+), 30 deletions(-) diff --git a/compiled/dat/GUI_District_AdvancedGameSettingsDialog.prp b/compiled/dat/GUI_District_AdvancedGameSettingsDialog.prp index 34b59039..922b3f89 100644 --- a/compiled/dat/GUI_District_AdvancedGameSettingsDialog.prp +++ b/compiled/dat/GUI_District_AdvancedGameSettingsDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:88f9a3932e4ff31fef30343aa80d2b8a03d7d47e297682252f418f23d040c85e -size 69926 +oid sha256:cf5d0cfd0db0a9ade27f80eb63b08d6b5897a081b335637dca592167d7088a5d +size 70650 diff --git a/compiled/dat/GUI_District_AudioSettingsDialog.prp b/compiled/dat/GUI_District_AudioSettingsDialog.prp index 56ad3022..78aa2b76 100644 --- a/compiled/dat/GUI_District_AudioSettingsDialog.prp +++ b/compiled/dat/GUI_District_AudioSettingsDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:64d479aaf4d80c0feb927aba7921f7e46a7cbce528ac69e76c6dd3ccac1eae60 -size 93120 +oid sha256:b886bf622aa7a59f6904aaa1570881e5445ca033499d161fbcae1c6da4eb3126 +size 94144 diff --git a/compiled/dat/GUI_District_CalibrationGUI.prp b/compiled/dat/GUI_District_CalibrationGUI.prp index 20a775dc..b2d528ec 100644 --- a/compiled/dat/GUI_District_CalibrationGUI.prp +++ b/compiled/dat/GUI_District_CalibrationGUI.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:06ff4247fac442770a08486960f96aad9324751a7c11006538fce625e32a8a5b -size 554723 +oid sha256:e91455cc9ae472706d6ffaccae1170edfb2a743f1a38017d42eac0051cbc9f99 +size 554791 diff --git a/compiled/dat/GUI_District_GraphicsSettingsDialog.prp b/compiled/dat/GUI_District_GraphicsSettingsDialog.prp index 82bea183..8e92fe04 100644 --- a/compiled/dat/GUI_District_GraphicsSettingsDialog.prp +++ b/compiled/dat/GUI_District_GraphicsSettingsDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8cdb7a1a9ccfdbf46675ec2d95b81669f89a41680f3bf3e7f51cebd1c411d7d8 -size 103083 +oid sha256:488a1547127c2a819486a06e826f5cb03350222823d2b87eb242c487f77d185a +size 104261 diff --git a/compiled/dat/GUI_District_KeyMapDialog.prp b/compiled/dat/GUI_District_KeyMapDialog.prp index 8a3dee38..c4f178ce 100644 --- a/compiled/dat/GUI_District_KeyMapDialog.prp +++ b/compiled/dat/GUI_District_KeyMapDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42b65b4ec422e88f04e4b1e717ace9d90588589eb21cb4649d58e5e16d66cb5c -size 115493 +oid sha256:a5ee6a3aa35520753f2001e721d958509ffa18c66b47b8c6db5ed0a6dcac9b7a +size 116949 diff --git a/compiled/dat/GUI_District_NavigationSettingsDialog.prp b/compiled/dat/GUI_District_NavigationSettingsDialog.prp index ae0c2b3f..46c82c3d 100644 --- a/compiled/dat/GUI_District_NavigationSettingsDialog.prp +++ b/compiled/dat/GUI_District_NavigationSettingsDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:789e3808a339c701923c4280fcbb4e4612bee97eb414450ce563f1888f64d4a5 -size 67218 +oid sha256:3de5de2e36aaeaa4eb16047692ea295680b43b0e5e181c8ce5c4316362c2282c +size 67318 diff --git a/compiled/dat/GUI_District_OptionsMenuGUI.prp b/compiled/dat/GUI_District_OptionsMenuGUI.prp index 8d4f52ff..bff044f9 100644 --- a/compiled/dat/GUI_District_OptionsMenuGUI.prp +++ b/compiled/dat/GUI_District_OptionsMenuGUI.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb17443ca37cb3e17083446b17f804b568ca342106522118cdd53816a71e6184 -size 210588 +oid sha256:f94ec3552f32450d57f0452faf6c86f5a57dea8dd039e04499758c486d5231b5 +size 210638 diff --git a/compiled/dat/GUI_District_OptionsMenuRestart.prp b/compiled/dat/GUI_District_OptionsMenuRestart.prp index e5da9733..b8c823dd 100644 --- a/compiled/dat/GUI_District_OptionsMenuRestart.prp +++ b/compiled/dat/GUI_District_OptionsMenuRestart.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b61fd9de201763cd2341acd08f39e3fb7bd2e63bbf41b5944bc02552236c3704 -size 22507 +oid sha256:47d5fb49fdb89287e3887d430b6cdbb5f10e8c665d21604ed9d308d9dd68dfb7 +size 22557 diff --git a/compiled/dat/GUI_District_OrientationGUI.prp b/compiled/dat/GUI_District_OrientationGUI.prp index 4ffe00d1..db7de628 100644 --- a/compiled/dat/GUI_District_OrientationGUI.prp +++ b/compiled/dat/GUI_District_OrientationGUI.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52a2e05d414c0c28e8001eafb8d3b649059d267e506cc83e2c2afd8fe5e73f2a -size 386582 +oid sha256:d6568ebcb4fdaa1d868e5c01c7ec187727b349df84bcaec8b74b7abff3fe3133 +size 386648 diff --git a/compiled/dat/GUI_District_ReleaseNotesDialog.prp b/compiled/dat/GUI_District_ReleaseNotesDialog.prp index 896c5131..815ef05c 100644 --- a/compiled/dat/GUI_District_ReleaseNotesDialog.prp +++ b/compiled/dat/GUI_District_ReleaseNotesDialog.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a30a71e9f67fc17660c9de1ff5c4676b17c9d403c7e51481411b339742edf745 -size 24286 +oid sha256:cc0fd0f16b5daff8680100648fdb9b4b2ffafccc4cd7477b5d3aade554250328 +size 24386 diff --git a/compiled/dat/GUI_District_StartupHelpGUI.prp b/compiled/dat/GUI_District_StartupHelpGUI.prp index f00192e2..18159c80 100644 --- a/compiled/dat/GUI_District_StartupHelpGUI.prp +++ b/compiled/dat/GUI_District_StartupHelpGUI.prp @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:358fcf47819f93362f8b0e7fedbc8cbbe78b10152934435197b96de59648de0e -size 1457234 +oid sha256:b1e3c3fa855a16b42b724bc58f65034adaf2ace4a9d6f501271e0e1d161593d7 +size 1457292 diff --git a/compiled/dat/OptionsMenuEnglish.loc b/compiled/dat/OptionsMenuEnglish.loc index e0c127b1..5cc0f5a3 100644 --- a/compiled/dat/OptionsMenuEnglish.loc +++ b/compiled/dat/OptionsMenuEnglish.loc @@ -1,6 +1,23 @@ + + + Enable EFX + + + Enable Subtitles + + + Enable Voice Chat + + + Microphone Level + + + Output Device + + Advanced Settings @@ -35,6 +52,9 @@ My Voice + + NPC Voices + Other Player's Voice @@ -64,11 +84,35 @@ + + Anisotropic Filtering + + + Anti-Aliasing + + + Graphics Quality + + + Video Resolution + Video Quality and Texture Quality changes will not take effect until Uru is restarted. Would you like to quit? + + Texture Quality + + + Vertical Sync + + + Windowed + + + (On Mac press Command + Return) + diff --git a/compiled/dat/OptionsMenuFrench.loc b/compiled/dat/OptionsMenuFrench.loc index 83781496..0134cf93 100644 --- a/compiled/dat/OptionsMenuFrench.loc +++ b/compiled/dat/OptionsMenuFrench.loc @@ -35,6 +35,8 @@ Ma voix + + Voix des autres joueurs @@ -63,6 +65,34 @@ Marcher et regarder + + + Filtrage anisotropique + + + Anti-crénelage + + + Qualité graphique + + + Résolution vidéo + + + + + Qualité textures + + + Synchro verticale + + + Fenêtré + + + (On Mac press Command + Return) + + Contacter le Service client >> diff --git a/compiled/dat/OptionsMenuGerman.loc b/compiled/dat/OptionsMenuGerman.loc index d8ba3bf2..894e1c13 100644 --- a/compiled/dat/OptionsMenuGerman.loc +++ b/compiled/dat/OptionsMenuGerman.loc @@ -35,6 +35,9 @@ Eigene Stimme + + NPC Voices + Andere Stimmen @@ -63,6 +66,33 @@ Gehen und Schwenken + + + Anisotropische Filterung + + + Antialiasing + + + Grafikqualität + + + Grafikauflösung + + + + + Texturen-Qualität + + + Auf Vsync warten + + + Im Fenster + + + + Kunden-Support >> @@ -161,6 +191,9 @@ Umsehen - Maus bei gedrückter rechter Maustaste URU Vorschau + + Optionen + Spieleinstellungen @@ -203,9 +236,6 @@ Umsehen - Maus bei gedrückter rechter Maustaste Videos - - Optionen - diff --git a/compiled/dat/OptionsMenuItalian.loc b/compiled/dat/OptionsMenuItalian.loc index fa3e013a..855c3b7d 100644 --- a/compiled/dat/OptionsMenuItalian.loc +++ b/compiled/dat/OptionsMenuItalian.loc @@ -35,6 +35,9 @@ Tua voce + + NPC Voices + Voce altri giocatori @@ -63,6 +66,33 @@ Cammina e panoramica + + + Filtro anisotropico + + + Antialias + + + Qualità grafica + + + Risoluzione video + + + + + Qualità texture + + + Sync verticale + + + In finestra + + + + Contatto Servizio Clienti >> @@ -161,6 +191,9 @@ Guardarsi intorno - Mouse destro + Trascinare Anteprima di URU + + Alle Opzioni + Impostazioni gioco @@ -203,9 +236,6 @@ Guardarsi intorno - Mouse destro + Trascinare Video - - Alle Opzioni - diff --git a/compiled/dat/OptionsMenuSpanish.loc b/compiled/dat/OptionsMenuSpanish.loc index 4df217a3..59370e27 100644 --- a/compiled/dat/OptionsMenuSpanish.loc +++ b/compiled/dat/OptionsMenuSpanish.loc @@ -35,6 +35,8 @@ Mi voz + + Voz del otro jugador @@ -63,6 +65,35 @@ Caminar y ver + + + Filtro anisotrópico + + + + + Calidad de los gráficos + + + Resolución de vídeo + + + Video Quality and Texture Quality changes will not take effect until Uru is restarted. + +Would you like to quit? + + + Calidad de las texturas + + + Sincr. vertical + + + En ventana + + + + Contactar con el Servicio de Atención al Cliente >> diff --git a/sources/KI/xKIGUI.max b/sources/KI/xKIGUI.max index eb98756d..5280b0ef 100644 --- a/sources/KI/xKIGUI.max +++ b/sources/KI/xKIGUI.max @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:44f1bc73846fbff49f0deaefdd9370c0158d129087cf7785441a0e8a911d7c96 -size 11075584 +oid sha256:3980136c18e5fd32c51a35fb2dc4f1a7e564b7e65444c167a218e3498b60fc7e +size 11079680