Skip to content

zPSP-Dev/zSFOTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 <output.SFO>

To use read, you'll need to supply: sfotool read <input.SFO>

To use the JSON layout, you'll need to supply: sfotool parse <input.json> <output.SFO> The JSON file must have a title, and properties. Every property has a key and a val.

{
    "title": "Hello World",
    "properties": [
        {
            "key": "PARENTAL_LEVEL",
            "val": 0
        },
        {
            "key": "TITLE_0",
            "val": "MyTitle"
        }
    ]
}

The parser also will stop you from entering invalid properties!

About

An improved version of the PSP mksfo tool in pure Zig. Used in https://github.com/zPSP-Dev/Zig-PSP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages