-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Converting to FR Tilesets
LOuroboros edited this page Mar 17, 2024
·
2 revisions
credit to ghoulslash
It's common to want the replace emerald's graphics with FR styled ones, including tilesets. This tutorial goes over the process of how to convert pokeemerald's tilesets with those from Fire Red/pokefirered
This tutorial explains how to copy a tileset from pokefirered over to pokeemerald and convert it to the correct metatile_attributes size.
Copy the defines at the top from the file in pokefirered like so:
#define NUM_TILES_IN_PRIMARY 640
#define NUM_TILES_TOTAL 1024
#define NUM_METATILES_IN_PRIMARY 640
#define NUM_METATILES_TOTAL 1024
#define NUM_PALS_IN_PRIMARY 7
TODO fill in
-
If you want to convert all tilesets in your data directory:
- Grab this script and place it in your root directory: https://github.com/ghoulslash/tools/blob/master/decomps/convert_tilesets.py
- Run it like so:
py convert_tilesets.py
from the root directory
-
If you want to rip a tileset from an existing ROM
- Grab this script: https://github.com/ghoulslash/tools/blob/master/decomps/tileset_ripper.py
- Place your ROM in the same directory
- Run it like so:
tileset_ripper.py <path to FireRed ROM> <tileset header offset> <name to dump to> <number of metatiles, optional>
-
If you want to convert a single tileset:
- Grab this script: https://github.com/ghoulslash/tools/blob/master/decomps/convert_metatile_attributes.py
- Run it like so:
./convert_metatile_attribytes.py <tileset dir name> <primary vs. secondary>