From 0dba2477e61805999f52877133a66cd66d8ae319 Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Sat, 10 May 2025 19:37:19 +0200 Subject: [PATCH 1/2] [GEN][ZH] Refactor arrow key mapping definitions in all language ini files --- .../Data/English/CommandMap.ini | 19 +++++++++---------- .../Data/Russian/CommandMap.ini | 19 +++++++++---------- .../Data/Spanish/CommandMap.ini | 19 +++++++++---------- .../Data/Swedish/CommandMap.ini | 19 +++++++++---------- .../Data/Ukrainian/CommandMap.ini | 19 +++++++++---------- .../GameFilesCore/Data/Chinese/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/French/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/German/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/Italian/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/Korean/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/Polish/CommandMap.ini | 4 ++++ .../GameFilesCore/Data/Spanish/CommandMap.ini | 4 ++++ 12 files changed, 73 insertions(+), 50 deletions(-) diff --git a/Patch104pZH/GameFilesEdited/Data/English/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/English/CommandMap.ini index ec09fda70..8793108c4 100644 --- a/Patch104pZH/GameFilesEdited/Data/English/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/English/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO diff --git a/Patch104pZH/GameFilesEdited/Data/Russian/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/Russian/CommandMap.ini index ec09fda70..8793108c4 100644 --- a/Patch104pZH/GameFilesEdited/Data/Russian/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/Russian/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO diff --git a/Patch104pZH/GameFilesEdited/Data/Spanish/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/Spanish/CommandMap.ini index c13e32643..3a102fe1f 100644 --- a/Patch104pZH/GameFilesEdited/Data/Spanish/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/Spanish/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO diff --git a/Patch104pZH/GameFilesEdited/Data/Swedish/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/Swedish/CommandMap.ini index ec09fda70..8793108c4 100644 --- a/Patch104pZH/GameFilesEdited/Data/Swedish/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/Swedish/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO diff --git a/Patch104pZH/GameFilesEdited/Data/Ukrainian/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/Ukrainian/CommandMap.ini index ec09fda70..8793108c4 100644 --- a/Patch104pZH/GameFilesEdited/Data/Ukrainian/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/Ukrainian/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO diff --git a/Patch108pCCG/GameFilesCore/Data/Chinese/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/Chinese/CommandMap.ini index 8109f78f8..759c42800 100644 --- a/Patch108pCCG/GameFilesCore/Data/Chinese/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/Chinese/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/French/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/French/CommandMap.ini index f2e655323..04bd21ee4 100644 --- a/Patch108pCCG/GameFilesCore/Data/French/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/French/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/German/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/German/CommandMap.ini index 8109f78f8..759c42800 100644 --- a/Patch108pCCG/GameFilesCore/Data/German/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/German/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/Italian/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/Italian/CommandMap.ini index 1ca18f96a..2e90f545e 100644 --- a/Patch108pCCG/GameFilesCore/Data/Italian/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/Italian/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/Korean/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/Korean/CommandMap.ini index 8109f78f8..759c42800 100644 --- a/Patch108pCCG/GameFilesCore/Data/Korean/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/Korean/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/Polish/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/Polish/CommandMap.ini index 1ca18f96a..2e90f545e 100644 --- a/Patch108pCCG/GameFilesCore/Data/Polish/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/Polish/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN diff --git a/Patch108pCCG/GameFilesCore/Data/Spanish/CommandMap.ini b/Patch108pCCG/GameFilesCore/Data/Spanish/CommandMap.ini index 1ca18f96a..2e90f545e 100644 --- a/Patch108pCCG/GameFilesCore/Data/Spanish/CommandMap.ini +++ b/Patch108pCCG/GameFilesCore/Data/Spanish/CommandMap.ini @@ -574,6 +574,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End +; select next/prev worker/unit now requires the CTRL key plus arrow keys +; arrow keys were freed up to allow these buttons for use in scrolling +; this was changed at the request of Harvard Bonin -SCC 6/12/03 + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN From 5dc052b5f1327100b5a05f96673aac34b4a68b48 Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Sat, 10 May 2025 23:30:53 +0200 Subject: [PATCH 2/2] Also add Arabic --- .../Data/Arabic/CommandMap.ini | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Patch104pZH/GameFilesEdited/Data/Arabic/CommandMap.ini b/Patch104pZH/GameFilesEdited/Data/Arabic/CommandMap.ini index c13e32643..3a102fe1f 100644 --- a/Patch104pZH/GameFilesEdited/Data/Arabic/CommandMap.ini +++ b/Patch104pZH/GameFilesEdited/Data/Arabic/CommandMap.ini @@ -581,11 +581,10 @@ CommandMap SELECT_MATCHING_UNITS DisplayName = GUI:TypeSelect End -; ; select next/prev worker/unit now requires the CTRL key plus arrow keys ; arrow keys were freed up to allow these buttons for use in scrolling ; this was changed at the request of Harvard Bonin -SCC 6/12/03 -; + CommandMap SELECT_NEXT_UNIT Key = KEY_RIGHT Transition = DOWN @@ -606,24 +605,24 @@ CommandMap SELECT_PREV_UNIT DisplayName = GUI:SelectPrevUnit End -CommandMap SELECT_PREV_WORKER - Key = KEY_DOWN +CommandMap SELECT_NEXT_WORKER + Key = KEY_UP Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectPrevUnitDescription - DisplayName = GUI:SelectPrevUnit + Description = GUI:SelectNextUnitDescription + DisplayName = GUI:SelectNextUnit End -CommandMap SELECT_NEXT_WORKER - Key = KEY_UP +CommandMap SELECT_PREV_WORKER + Key = KEY_DOWN Transition = DOWN Modifiers = CTRL UseableIn = GAME Category = SELECTION - Description = GUI:SelectNextUnitDescription - DisplayName = GUI:SelectNextUnit + Description = GUI:SelectPrevUnitDescription + DisplayName = GUI:SelectPrevUnit End CommandMap SELECT_HERO