• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Documentation on the RPG Maker Xp map format?

pokemonmasteraaron

The blind Pokémon Master!
  • 323
    Posts
    14
    Years
    Does anybody know where I can find information on the rmxp map file format for editting in a hex editor?
    I was curious, because I am blind and cannot map using the graphical map interface but if I could perhaps create an editor or simply make the maps in binary. So, does anybody know if such documentation exists?
     
    Well, for starters you can load maps using:

    Code:
    map = load_data(filename)

    If I do remember correctly the map's tile data is stored in the Table: data

    Code:
    map.data[x position, y position, layer 0 being the lowest and 2 being the highest] = tile id

    You could then save the data like this:

    Code:
    save_data(filename, map)

    so a complete code would be like this:

    Code:
    filename = "Data/Map001.rxdata"
    map = load_data(filename)
    map.data[0,1,2] = 384
    save_data(filename, map)

    Anyways, this is the easiest way you could possibly edit your map's data without the editor.
     
    This isn't quite what I am looking for.
    I need information on the rxdata map format so that I could modify it or create it from scratch.
     
    Hey there, I did make some progress with this; I was looking into converting the data for Pokengine before I left that project.

    I have a thread here: https://pokengine.org/phorums/?viewthread=1741 that might be useful to you - one of the components of my importer is a Ruby script that converts the Marshal data to the more readable YAML. The rest is python scripting to convert the maps to Pokengine format.

    Good luck!
     
    Back
    Top