Important Things
Storing Cheats
Cheat databases are stored in CDB files created with cdb-util, which will convert cheat lists following this simple format:
Code:
"Game Name"
Enable
90000000 88888888
Cheat 1
27654321 12345678
Cheat 2
12345678 98765432
Cheat Section
Cheat 3
11111111 00000000

// Comment line
Enable Codes
9-type enable codes (9xxxxxxx yyyyyyyy) are supported, and the first cheat for every game must contain an enable code. If an F-type enable code is used instead (which is common for older games), it will be silently ignored and a hook will be installed automatically by the code engine. Many games have been tested with the auto-hook function, but its best if a 9-type enable code is used.

Code Format
All cheats must be in "RAW" format; Cheat Device can't decrypt or read any other formats (ARMAX, CB1-6, CB7+, AR2, GS, etc.). However, you can use
tools such as OmniConvert to convert any of these formats to RAW.

Settings File
Settings are stored in an ini file named "CheatDevicePS2.ini", which needs to be located in the directory Cheat Device is run from. The cheat database path and additional boot paths are set here. See the included settings file for an example.

cdb-util v1.2 - convert cheat codes to/from a CDB database
Usage:
Create CDB from text cheats:  cdb-util c <text file 1> [text file 2] ... <cdb file>
Extract text cheats from CDB: cdb-util e <cdb file> <text file>

Uses libcheats by Mathias Lafeldt (see https://github.com/mlafeldt/libcheats). libcheats is licensed under the MIT license.

v1.2 - July 28, 2015
 * Added CDB extraction to convert a CDB file to text cheats
 * Changed project name to cdb-util
 * Simplified messages

v1.1 - April 6, 2015
 * Added support for combining multiple code lists into CDB
 * Game list is now sorted before creating CDB

v1.0 - April 4, 2015
 * Initial Release