🏠
Baserom Directories

The Romhack Races baserom is a Callisto-based project so the directory structure is best set-up for using that tool.

Directories


buildtool Directory

This folder contains Callisto, which is the build tool used by the baserom to assemble your project. Here you can find the configuration files for Callisto, in .toml format, as well as any other build tool related files for the baserom.

Baserom resource configuration files:

ItemDescription
exports.tomlA baserom configuration file to tell it what to export and where.
modules.tomlDefinitions for the Callisto modules used by the baserom.
patches.tomlThe full list of Asar patches used during build time. Edit this list to add or remove patches from your project.
variables.tomlContains defined variables for your project. Here you can rename your project.

Callisto-specific configuration files:

ItemDescription
build.tomlThe overall build settings for the whole project. Contains the options for the initial clean patch, build order and output directories & format.
colors.tomlA default configuration file for Callisto to configure the colors of it's command-line user-interface.
tools.tomlA configuration file that has all the options for the tools that Callisto will run during build order.
user.tomlCan have any other preferred user settings, like emulator setup.

docs Directory

All the readme files for the baserom (like the one you're currently reading) and those for other included resources and tools are stored here for your convenience.

ItemDescription
baserom_readmeThe folder containing all the baserom's readme files.
retry_systemThe readme files for the retry system.
toolsAll the documentation for each tool will have been moved here after initialization.

export Directory

This folder contains all modified resources exported by Callisto from Lunar Magic. Things in this folder are your

ItemDescription
globalFolder for all global resources in a rom that are exported by callisto.
levelsPretty self-evident, all the exported level files.
all_map16.map16A full export of your project's Map16.
shared_palettes.palA full export of your project's shared palette.
This folder is only present in version 5.10 or later of the baserom.

resources Directory

All the build resources for you project are in here. Patches, initial setup files, map16, palettes, etc.

ItemDescription
initial_patchesContains a clean BPS patch for each FastROM and SA-1 that are used by Callisto when building the rom.
map16Import-able Map16 template files for a bunch of things in the baserom.
original_graphicsA back-up of the original, unmodified vanilla graphics in case they are needed.
palettesImport-able palette files for things in the baserom, namely the Poison Mushroom and Pink berry.
patchesAll of the Asar patches that Callisto applies at build time.

shared Directory

This folder contains files that are shared between tools and resources, typically variable definitions and configuration files.

ItemDescription
definesA folder of common definitions for resources.
freeram.asmA file containing all used FreeRAM as shared defines.

tools Directory

This folder is where all the baserom tools are kept as well as any files and resources they use. If you are adding things to your project, you are adding them to the folders in this folder.

Do not run the tools from these folder directly. Callisto takes care of running all tools when using it.

ItemDescription
addmusickThe folder for AddMusicK and related files. .
flipsContains Floating IPS tool for creating BPS patches.
gpsContains the GPS block insertion tool and related files.
initA folder with files used by the initialization script.
lunar_magicFolder for Lunar Magic.
pixiContains the PIXI sprite insertion tool and related files.
uberasmtoolContains UberASMTool and all related files.

workspace Directory

This folder is where your project lives and is the output directory for the build process. It will contain your project's rom, its Graphcs and ExGraphics, as well as any auxillary files used by the tools.

ItemDescription
ExGraphicsFolder containing all the baserom ExGraphics.
GraphicsFolder containing all the exported vanilla graphics.
sysLMRestoreNot included in the baserom, but will appear when starting work in Lunar Magic as part of its restore feature.
*.dscFile that has all the block descriptions that show up in Lunar Magic. Generated by GPS.
*.extmodThis is a bit of metadata generated by UberASMTool stating its version number.
*.m16Internal Map16 data for how vanilla sprites display in Lunar Magic.
*.mscFile generated by AddMusicK that Lunar Magic uses to display custom music in its menus.
*.mw2Contains metadata for displaying sprites with their graphics in Lunar Magic.
*.mwtMetadata file that Lunar Magic uses to display sprites in the list of "Collections of Custom Sprites". Generated by PIXI.
*.s16Internal Map16 data for how custom sprites display in Lunar Magic. Updated by PIXI.
*.smcThis is your hack.
*.sscFile that has all the sprites descriptions that appear in Lunar Magic. Generated by PIXI.