Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ivan-1f/phichain/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Project system manages Phichain chart projects, including metadata and file organization. A project consists of a directory containing chart data, music files, illustrations, and metadata.Types
Project
The main project type that represents an opened chart project.The path to the project directory
Project metadata including composer, charter, and song information
A unique identifier for this project session, generated when the project is opened
ProjectMeta
Metadata about the chart and song.The music composer’s name
The chart creator’s name
The illustration artist’s name
The song/chart name
The difficulty level (e.g., “EZ”, “HD”, “IN”, “AT”)
ProjectPath
A wrapper around the project directory path.The root directory path of the project
Project Structure
A valid Phichain project must have the following structure:Opening Projects
Working with Project Paths
TheProjectPath type provides helper methods to access project files:
JSON Serialization
meta.json Format
Error Handling
OpenProjectError
Errors that can occur when opening a project:Notes
- The
idfield is generated randomly each time a project is opened and is used to distinguish different sessions of the same project - Music files can have any of the following extensions:
.wav,.mp3,.ogg,.flac - Illustration files can have any of the following extensions:
.png,.jpg,.jpeg - The illustration file is optional; all other files are required