Coder Social home page Coder Social logo

fe-info's Introduction

Fire Emblem Info Files

About

These files contain labeled RAM and ROM data, along with struct and enum definitions. They're used for the data maps website: https://laqieer.github.io/fe-maps/

Structure

  • yaml - Info files in YAML format; large files are split for easier editing
  • json - Combined YAML files in JSON format; used for the data maps website
  • tools
    • utils.py - Functions for working with YAML data
    • validator.py - Script for validating data and converting to JSON
    • dumper.py - Script for finding and outputing data from a ROM file
    • constants.py - Defines constants used by other scripts
    • decomp.py - Script for finding data from decomp project and outputing to YAML

Game directories are fe6 for Binding Blade and fe8 for The Sacred Stones.

Data Format

  • ram / rom
    • desc
    • label
    • type
    • addr
    • size (optional)
    • count (optional, assume count=1 if not specified)
    • enum (optional)
  • code
    • desc
    • label
    • addr
    • size
    • mode (thumb or arm)
    • params
    • return

Primitive Types

  • u8 - Unsigned 8 bit integer
  • s8 - Signed 8 bit integer
  • flags8 - 8 bit integer used for bit flags
  • bool - u8 that only takes values 0 (false) or 1 (true)
  • u16 - Unsigned 16 bit integer
  • s16 - Signed 16 bit integer
  • flags16 - 16 bit integer used for bit flags
  • u32 - Unsigned 32 bit integer
  • s32 - Signed 32 bit integer
  • ptr - 32 bit pointer to an address
  • ascii - 8 bit ASCII character
  • char - 16 bit in-game text character
  • lz - LZ77 compressed
  • gfx - Graphics, 32 bytes per tile
  • tilemap - Tilemap, 2 bytes per tile
  • palette - Palette, 32 bytes per row
  • thumb - 16 bit THUMB code
  • arm - 32 bit ARM code

fe-info's People

Contributors

biosp4rk avatar laqieer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.