Skip to content

linkoid/Stardew.YetAnother.ContentPatcher

Repository files navigation

YAML Adapter for Content Patcher

YAML Adapter for Content Patcher | YAML GitHub License

Stardew Valley | Modding SMAPI | C# Content Patcher | JSON

YAML Adapter for Content Patcher is a framework that allows creating Content Patcher content packs using human-friendly YAML instead of JSON.

Installation

  1. Install the latest version of SMAPI.
  2. Install the latest version of Content Patcher.
  3. Install this mod from Nexus Mods.
  4. Unzip any YACP content packs into Mods to install them.
  5. Run the game using SMAPI.

For Mod Authors

YACP works exactly the same as Content Patcher. The only things that change are the use of content.yaml files instead of content.json, and the YAML syntax.

For details on using Content Patcher, refer to the Content Patcher Author Guide.

For details on using YAML with Content Patcher, refer to the example content.yaml file.

Migrating from JSON

An existing content.json file can quickly be converted to a content.yaml file using YACP's online JSON converter.

Examples

Example mod file structure:

📁 Mods/
    📁 [YACP] YourModName/
        🗎 content.yaml
        🗎 manifest.json
        📁 assets/
            🗎 example.png

Example content.yaml file:

Format: 2.3.0
Changes:
- Action: Load
  Target: Portraits/Abigail
  FromFile: "assets/example.png"

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published