Parses and fixes multiline libretro cheat files.
The following
cheat0_desc = "Infinite Lives"
cheat0_code = "AAAAAA+BBBBBB"
cheat0_enable = true
Becomes
cheat0_desc = "Infinite Lives"
cheat0_code = "AAAAAA"
cheat0_enable = true
cheat1_desc = "Infinite Lives"
cheat1_code = "AAAAAA"
cheat1_enable = true
Download and install golang.
Clone into your $GOPATH/src directory.
Run go build
in the libretro-chtfix directory.
Download a binary for your system.
Symlink or add $GOPATH/src/libretro-chtfix or the binary to your $PATH variable.
Run libretro-chtfix -in=/path/to/cheat/file.cht
CLI Options:
in: A single file to parse and fix.
out: Optional output file name. Defaults to the file specified using the in
paramater with _fixed added to the end of the file name.
dir: Will scan and parse all cheat files in a directory.
You must supply either in
or dir
Golang > 1.8
This project is licensed under the MIT License - see the LICENSE.md file for details