Skip to content

Pack authoring

A pack is a folder the game loads at startup: characters and their images, and optionally items, traits, jobs, default art and scripts. You can ship any subset. This section documents every format the game reads, and the two ways of producing them. If you are looking for how to play rather than how to author, go to the player guide.

With the Content Editor. A desktop app that creates packs, characters, items, traits and jobs and tags artwork, writing all the files for you. You do not need to read any format page to use it. Start at Content Editor; the same page says exactly what it can and cannot edit yet.

By hand. A text editor plus the pack validator. Everything the editor writes is plain XML and documented here, and the editor and hand-written files mix freely: the editor only rewrites the field you change and leaves the rest of the file as it found it.

Formats, one page each. The sidebar lists them all; these are the ones you will keep open:

  • Common mistakes: symptom, cause, fix, for every trap a first pack falls into.
  • Tools: the pack validator, which catches most of them before the game does.
  • gamelog.txt, next to the game executable: the loader writes a line for every pack it finds, loads or skips, and every <When> or script error with a file and line.

The game ships worked examples in examples/packs/, next to resources/. The game does not load them. To try one, copy it into resources/packages/ and give the folder and its Id a name of your own. (Before 1.21 they sat in resources/packages/ and loaded like any pack.) Every field in this reference is used for real in one of them:

Folder Shows
Sample_Full Everything in one pack: characters, traits, items, random templates, a meet script
Sample_GirlsOnly Characters and images only
Sample_ItemsOnly Items with no characters
Sample_TraitsOnly Traits with no characters
Sample_WithDeps A pack that requires another pack
Sample_Addon An addon extending another pack, with fallback art for its target
Tifa_MeetExample A meet scene whose choices change the character’s stats
resources/packages/defaults/sfw_defaults A Type="Defaults" pack with named image pools (this one is live: it supplies the default images)
Sample_Building A bathhouse the player can buy, with its own attendant job (needs game 1.21, not released yet)

If something here is wrong, confusing or missing, say so on the community channels linked from the download page. The reference improves when modders push back.