Skip to content

mishamyrt/ps2-codes-cli

Repository files navigation

PS2 Codes CLI Quality assurance

Utility to convert PS2 cheat codes. Uses ps2-codes as a backend.

Installation

The utility is available as an NPM package.

npm install -g ps2-codes-cli@latest

Usage

Converting

To convert a file, specify the input and output path and formats.

npx ps2-codes-cli raw SLUS-21361.txt pnach SLUS-21361.pnach
# The transformation was successful
# Format: pnach
# File length: 842
# Cheats count: 31

Print info

If you specify only the name of the input file, the utility will display the file information. This is useful if you do not know the code format.

npx ps2-codes-cli codes.txt
# Format: pnach
# File length: 346
# Cheats count: 3

About

🕹️ PS2 cheat codes parser and converter library

Topics

Resources

License

Stars

Watchers

Forks