Skip to content

Commit 66fca53

Browse files
committed
docs: Add installation instructions for .wnd patch files
1 parent 7c4c133 commit 66fca53

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Patch/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Custom Hotkey Remapping - Installation
2+
3+
This patch adds in-game hotkey remapping for unit/building production keys per faction (USA, China, GLA).
4+
5+
## Installation
6+
7+
After building the game from source, copy the `.wnd` files to your Zero Hour installation:
8+
9+
```
10+
Patch/Window/Menus/KeyboardOptionsMenu.wnd → <ZH Install>/Window/Menus/KeyboardOptionsMenu.wnd
11+
Patch/Window/Menus/OptionsMenu.wnd → <ZH Install>/Window/Menus/OptionsMenu.wnd
12+
```
13+
14+
Replace `<ZH Install>` with your Zero Hour directory, for example:
15+
```
16+
C:\Program Files (x86)\EA Games\Command and Conquer Generals Zero Hour\
17+
```
18+
19+
The loose `.wnd` files will override the ones inside `WindowZH.big` automatically.
20+
21+
## What it does
22+
23+
- Adds a **Keyboard Options** button to the Options menu
24+
- Opens a new menu with:
25+
- **Category dropdown** (Control, Information, Interface, ... + Unit Keys: USA/China/GLA/Other)
26+
- **Command list** showing all hotkeys for the selected category
27+
- **Description and current key** display
28+
- **Text input** to type a new key
29+
- **Assign** and **Reset All** buttons
30+
- Hotkey overrides are saved per CommandButton name and persist across sessions

0 commit comments

Comments
 (0)