.

Twilight Princess quick item selection

If you plan on playing Legend of Zelda: Twilight Princess on a PC (with the Dolphin emulator), you may find this mod useful. Unlike e.g. Ocarina of Time / Majora’s Mask, this game allocates only two slots for items, which means lots of time wasted going through menus to switch them.

With this mod, you can select any item directly by pressing a single key.

Setup instructions:

  1. This mod is for the North America GameCube version (GZ2E01), so make sure you have that one.

  2. Add and enable the ActionReplay code to the emulator:

    F84343FD 00000010
    E84343FC 00000018
    04001844 00000000
    00000000 86001847
    004343FC 00000001
    84001844 8040625C
    04001848 8040C02C
    384343FD 00000020
    84001848 00000001
    00000000 86001848
    00001844 01000001
    04001844 804343FC
    04001848 804061CB
    384343FD 00000020
    84001848 00000001
    00000000 86001848
    00001844 01000001
    0000184C 000000FF
    04001844 8000184C
    04001848 804061CF
    384343FD 00000020
    84001848 00000001
    00000000 86001848
    00001844 01000001
    
  3. Create and enable a Dolphin input profile configuration file with the following contents:

    [Profile]
    Device = XInput2/0/Virtual core pointer
    Triggers/R = Shift_R
    Buttons/A = `2` | `4` | `6` | `8` | `0` | equal | W | R | Y | I | P | bracketright
    Buttons/B = `3` | `4` | `7` | `8` | minus | equal | E | R | U | I | apostrophe | bracketright
    Buttons/X = `5` | `6` | `7` | `8` | Q | W | E | R | O | P | apostrophe | bracketright
    Buttons/Y = `9` | `0` | minus | equal | Q | W | E | R
    Buttons/Start = T | Y | U | I | O | P | apostrophe | bracketright
    Buttons/Z = `1` | `2` | `3` | `4` | `5` | `6` | `7` | `8` | `9` | `0` | minus | equal | Q | W | E | R | T | Y | U | I | O | P | apostrophe | bracketright
    

    (This profile uses the top 24 alphanumeric keys on a QWERTY keyboard. If you’d like to customize it, you can edit and re-run the program used to generate the profile.)

  4. You should now be able to select items by pressing a single key. Holding Shift will cause the item to be selected into the secondary item slot. (Note that the order of the items is somewhat arbitrary, and does not correspond to the order they are found in the game.)

Enjoy!

To get this to work, I had to make some fixes to Dolphin’s cheat system. Research notes and some auxiliary code can be found in this gist.

Note: this article is back-dated, and was originally written on 2018-11-06.

Comments