https://github.com/mishamyrt/ps2-codes-cli
đšī¸ PS2 cheat codes parser and converter library
https://github.com/mishamyrt/ps2-codes-cli
aethersx2 ps2 utility
Last synced: 3 months ago
JSON representation
đšī¸ PS2 cheat codes parser and converter library
- Host: GitHub
- URL: https://github.com/mishamyrt/ps2-codes-cli
- Owner: mishamyrt
- License: gpl-3.0
- Created: 2022-10-10T21:41:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T09:50:36.000Z (almost 4 years ago)
- Last Synced: 2025-02-24T23:42:45.185Z (over 1 year ago)
- Topics: aethersx2, ps2, utility
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PS2 Codes CLI [](https://github.com/mishamyrt/ps2-codes-cli/actions/workflows/qa.yaml)
Utility to convert PS2 cheat codes. Uses [ps2-codes](https://github.com/mishamyrt/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.
```sh
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.
```sh
npx ps2-codes-cli codes.txt
# Format: pnach
# File length: 346
# Cheats count: 3
```