Validate a cartridge
validate_cartridgeCheck a Slopbox cartridge (a whole game as one text file, the format of cart.slopped.site: meta lines, then [palette] [sprite] [map] [sound] [music] [shader] [text] [game] sections) with the same validator the Slopbox Game Builder and the console run. Use when writing or fixing a cartridge before playing it. Returns whether it is valid, every problem with its line and section, and what it contains; nothing is stored or played. The full spec: https://cart.slopped.site/spec.md (for people: https://cart.slopped.site/docs/). How to write a good one: https://cart.slopped.site/skills/writing-cartridges/SKILL.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The cartridge, exactly as the file: it starts with the line "cart 1". |