Semi
  • Initial page
  • Why Semi?
  • Beginner's Guide
    • Brief Description
    • Setting up the Software
    • Setting up the Mod Template
    • Development Branch
    • Debugging
  • Guides
    • Adding an Item
  • Writing Mods
    • File Hierarchy
    • Metadata
    • Structure of a Mod
    • Events and Order
    • ID System
  • Spriting
    • Structure of a Sprite
    • Structure of an Animation
    • Semi Format: Sprite Collection
    • Semi Format: Sprite Animation
    • Semi Format: Editor Support
Powered by GitBook
On this page

Was this helpful?

  1. Writing Mods

File Hierarchy

PreviousAdding an ItemNextMetadata

Last updated 5 years ago

Was this helpful?

Mods have certain enforced rules when it comes to the location of files and directories within the distributable.

Currently, the bare minimum mod contains only one file, mod.yml. This file specifies certain details about the mod, most of which are to be seen by the end user. See: .

Apart from the metadata file, there are also certain files that are optional but extend the functionality of the Semi API:

  • resources - This folder contains files and directories that can be accessed through various API methods from code.

  • mod.dll - This file is the compiled .NET assembly containing executable code of the mod. The name of this file is set through the mod metadata (mod.yml file).

Metadata