Project Files
Porymap relies on the user maintaining a certain level of integrity with their project files. This is a list of files that porymap reads from and writes to. Generally, if porymap writes to a file, it probably is not a good idea to edit yourself unless otherwise noted.
The filepath that Porymap expects for each file can be overridden with config options. The name of each config override is listed in the table, and should begin with path/
.
For example if you wanted to rename include/constants/items.h
to headers/defines/stuff.h
, you would add path/constants_items=headers/defines/stuff.h
to your project’s porymap.project.cfg
file.
File Name |
Read |
Write |
Override |
Notes |
---|---|---|---|---|
data/maps/*/map.json |
yes |
yes |
|
|
data/maps/*/scripts.[inc|pory] |
yes |
no |
|
for finding script labels |
data/scripts/*.[inc|pory] |
yes |
no |
|
for finding script labels |
data/event_scripts.s |
no |
yes |
|
only appends new script files to end of file |
data/maps/map_groups.json |
yes |
yes |
|
|
data/layouts/layouts.json |
yes |
yes |
|
|
data/layouts/*/[border|map].bin |
yes |
yes |
|
|
src/data/tilesets/headers.h |
yes |
yes |
|
|
src/data/tilesets/graphics.h |
yes |
yes |
|
also edits palette and tile image files listed in this file |
src/data/tilesets/metatiles.h |
yes |
yes |
|
also edits metatile files listed in this file |
data/tilesets/headers.inc |
yes |
yes |
|
only if |
data/tilesets/graphics.inc |
yes |
yes |
|
only if |
data/tilesets/metatiles.inc |
yes |
yes |
|
only if |
data/tilesets/[primary|secondary]/* |
yes |
yes |
|
default tileset data location |
src/data/wild_encounters.json |
yes |
yes |
|
|
src/data/object_events/object_event_graphics_info_pointers.h |
yes |
no |
|
|
src/data/object_events/object_event_graphics_info.h |
yes |
no |
|
|
src/data/object_events/object_event_pic_tables.h |
yes |
no |
|
|
src/data/object_events/object_event_graphics.h |
yes |
no |
|
|
src/data/graphics/pokemon.h |
yes |
no |
|
for pokemon sprite icons |
src/data/heal_locations.h |
yes |
yes |
|
|
src/data/region_map/region_map_sections.json |
yes |
yes |
|
|
src/data/region_map/porymap_config.json |
yes |
yes |
|
|
include/constants/global.h |
yes |
no |
|
reads |
include/constants/map_groups.h |
no |
yes |
|
|
include/constants/items.h |
yes |
no |
|
|
include/constants/opponents.h |
yes |
no |
|
reads max trainers constant |
include/constants/flags.h |
yes |
no |
|
|
include/constants/vars.h |
yes |
no |
|
|
include/constants/weather.h |
yes |
no |
|
|
include/constants/songs.h |
yes |
no |
|
|
include/constants/heal_locations.h |
yes |
yes |
|
|
include/constants/pokemon.h |
yes |
no |
|
reads min and max level constants |
include/constants/map_types.h |
yes |
no |
|
|
include/constants/trainer_types.h |
yes |
no |
|
|
include/constants/secret_bases.h |
yes |
no |
|
pokeemerald and pokeruby only |
include/constants/event_object_movement.h |
yes |
no |
|
|
include/constants/event_objects.h |
yes |
no |
|
|
include/constants/event_bg.h |
yes |
no |
|
|
include/constants/region_map_sections.h |
yes |
no |
|
|
include/constants/metatile_labels.h |
yes |
yes |
|
|
include/constants/metatile_behaviors.h |
yes |
no |
|
|
include/fieldmap.h |
yes |
no |
|
reads tileset related constants |
src/event_object_movement.c |
yes |
no |
|
reads |
src/pokemon_icon.c |
yes |
no |
|
reads files in |