Skip to content

[ZH] Fix: Optionally sync arrow key mappings for Select Prev/Next Unit/Worker with Generals for Brazilian, Chinese, French, German, Italian, Korean, Polish #2769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/Brazilian/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -587,7 +599,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -597,7 +614,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -607,7 +629,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/Chinese/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -587,7 +599,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -597,7 +614,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -607,7 +629,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/French/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -587,7 +599,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -597,7 +614,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -607,7 +629,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/German/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -587,7 +599,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -597,7 +614,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -607,7 +629,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/Italian/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -587,7 +599,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -597,7 +614,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -607,7 +629,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
27 changes: 27 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/Korean/CommandMap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -584,10 +584,22 @@ 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

; Patch104p @fix xezon 10/05/2025 Sync arrow key mappings with Generals the way
; this was intended, but only for the optional bundle to not disturb the legacy players.

CommandMap SELECT_NEXT_UNIT
Key = KEY_RIGHT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -597,7 +609,12 @@ End
CommandMap SELECT_PREV_UNIT
Key = KEY_LEFT
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand All @@ -607,7 +624,12 @@ End
CommandMap SELECT_NEXT_WORKER
Key = KEY_UP
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectNextUnitDescription
Expand All @@ -617,7 +639,12 @@ End
CommandMap SELECT_PREV_WORKER
Key = KEY_DOWN
Transition = DOWN
;patch104p-core-begin
Modifiers = NONE
;patch104p-core-end
;patch104p-optional-begin
Modifiers = CTRL
;patch104p-optional-end
UseableIn = GAME
Category = SELECTION
Description = GUI:SelectPrevUnitDescription
Expand Down
Loading