🏠
Baserom Directories

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

Directories


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.

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.

setup Directory

A folder with files used by the scripts used to setup the baserom.

ItemDescription
functionsContains some Powershell files that are functions used by the main script.
listsThe baserom's list files that are copied into each tool directory during set-up.
pixiContains a file to fix PIXI ASM during setup to resolve a conflict with UberASM Tool.
usertoolbarThe files for the baserom's custom user toolbar that is used with Lunar Magic.
baserom_setup.ps1The main setup Powershell script.
tool_defines.ps1A Powershell file that defines tool versions, download links and files.


shared Directory

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

ItemDescription
callistoFiles used by Callisto across all resources.
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. .
CallistoContains the Callisto build tool.
FlipsContains Floating IPS tool for creating BPS patches.
GPSContains the GPS block insertion tool and related files.
LunarMagicFolder 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.