https://github.com/zpsp-dev/zsfotool
An improved version of the PSP mksfo tool in pure Zig. Used in https://github.com/zPSP-Dev/Zig-PSP
https://github.com/zpsp-dev/zsfotool
Last synced: 4 months ago
JSON representation
An improved version of the PSP mksfo tool in pure Zig. Used in https://github.com/zPSP-Dev/Zig-PSP
- Host: GitHub
- URL: https://github.com/zpsp-dev/zsfotool
- Owner: zPSP-Dev
- License: other
- Created: 2020-08-08T06:13:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T02:48:58.000Z (about 1 year ago)
- Last Synced: 2025-03-21T03:28:38.942Z (about 1 year ago)
- Language: Zig
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
zSFOTool
A cross-platform multi-tool for reading and writing PSP SFO files.
## Why zSFOTool?
This tool is meant to ship with the [Zig-PSP Toolchain](https://github.com/zPSP-Dev/Zig-PSP).
zSFOTool replaces PSPSDK's `mksfo` tool. In addition to this - it also can be used to read an SFO and display technical data!
## Usage
zSFOTool is used internally by Zig-PSP's build process to create an SFO. It also can be used standalone.
To use it standalone, you can use `sfotool read` and `sfotool write`.
To use write, you'll want to supply it: `sfotool write TITLE `
To use read, you'll need to supply: `sfotool read `
To use the JSON layout, you'll need to supply: `sfotool parse `
The JSON file must have a title, and properties. Every property has a key and a val.
```json
{
"title": "Hello World",
"properties": [
{
"key": "PARENTAL_LEVEL",
"val": 0
},
{
"key": "TITLE_0",
"val": "MyTitle"
}
]
}
```
The parser also will stop you from entering invalid properties!