~Hakurei Shrine~ > Help Me, Eirin!
Touhou Input Display (thinput) - Release v2.1.0
Drake:
Download: https://mega.nz/#!5sNFHYAT!KFsHGu8ZQnZNiPEvCT_yG4JvlqTxOwb9OdEbrel9kgQ
A tiny tiny clever tool that reads the memory of Touhou games and gives a display of the game's inputs.
Auto-detects the running game based on its executable name.
Because it reads the game's memory, you can display the inputs of replays as well. It also isn't dependent on a specific key mapping or button config, or what input device you use at all. How fancy.
Currently supported games range from th06 to th165.
Instructions:
- Launch Touhou game, run thinput.
Configuration:
[Window]
- KeyUpImg: Path to the image used for the keys not pushed. Relative to the working directory.
- KeyDownImg: Path to the image used for the keys pushed down. Relative to the working directory.
- BGColor: Color value for the background. Just use hex color values (e.g. FFFFFF).
[Buttons]
- key = left, top, width, height
- left and top are x,y coordinates of where to position the key image; width and height specify the key image size (which can be resized). Window expands to fit.
- You can change these positions if you want a different button layout.
- To "remove" a button from view, just put it at some negative coordinates.
[AddressList]
- Each line lists a game's executable name, the address of its input bit vector, and the map of buttons to the corresponding bit flags.
- You can add or remove as many entries as you want, just make sure it works.
- Valid addresses start with 0x followed by 6~8 hex digits.
- The button map is 8 numbers, each one corresponding to a button. In order they represent Shot, Bomb, Slow, Up, Down, Left, Right, Skip.
The number represents which bit flag in the vector that button activates. Look at the config file for examples.
- Using this config allows us to add new executable names (e.g. th11boss.exe) and to offer forward-compatibility for new games.
Known Bugs:
- None at the moment!
This was originally a small personal project for displaying my keyboard input that turned into something else.
monhan:
Wow, thanks, Drake! This should help knowing what the hell happened during lucky dodges.
cactu:
Thanks. Is it supposed to work in full screen or not?
Drake:
Not really, unfortunately. It seems exceedingly difficult and arcane to render other windows on top of fullscreen d3d applications, so I'm not going to bother wasting my time trying.
chum:
It doesn't start for me (assuming It's because I'm on XP)