Decodes and encodes keycap_config.xml file, found in a bunch of Sega games like Crazy Taxi, Sonic Adventure DX, Valkyria Chronicles, and others. It stores generated keyboard and Xbox controller button icons to be used in-game.
- Run the game at least once with input device of your choice, so it generates
keycap_config.xmlwith all the required icons - Drag and drop
keycap_config.xmlon thekeycapConfig.exe. This will create a folder calledoutput-[current date] - Find icons in generated folders that you want to change. Icons are in
.DDS, so you will need to use either GIMP, which supports DDS out of the box, or download Nvidia plugin for Photoshop. - Once you overwrite icons you want to change, drag and drop your
output-[current date]on thekeycapConfig.exe. This will create a file calledkeycap_config-[current date].xml - Remove
-[current date]from file's name and replace originalkeycap_config.xmlwith it - Game can potentially overwrite our file, which we don't want, so it's best to right click your
keycap_config.xml, go to properties, and check "Read-only" checkbox
Note
Edited icons might not appear in some places (i.e. configuration app, save file menu in Valkyria Chronicles).
Just drag-and-dropping files and folders on the executable should work, but you can also use it with your terminal emulator.
If you git cloned this repo instead of using executable, replace every mention of keycapConfig with deno task run.
keycapConfig <xml_file> [output_directory]By default, output directory will be set to ./output-[current_time]
Examples:
keycapConfig ./keycap_config.xml
keycapConfig ./keycap_config.xml ./outputkeycapConfig <directory> [output_file]By default, output file will be set to ./keycap_config-[current_time]
Examples:
keycapConfig ./output
keycapConfig ./output ./keycap_config.xmlThe Unlicense.