haven1433 / HexManiacAdvance

A tool for editing tables, text, scripts, images, and other data in Pokemon GBA games
MIT License
231 stars 52 forks source link

Map editor does not work if there are new maps #106

Closed MatHiro0 closed 1 year ago

MatHiro0 commented 1 year ago

Hi, I'm having issues with the map editor. I tested with a slightly modified rom and seems to work fine, but in my hack (which has new maps and new maps banks), the map editor doesn't even appear. I tried editing the .toml file of my rom to match the new amount of maps, but couldn't fix the problem. Also, I'm only able to find the map editor (in the vanilla rom) by pressing Ctrl+G. Is that right?

haven1433 commented 1 year ago

(The map editor is a very new feature and hasn't been tested with many existing roms, just the vanilla games.)

There are a number of tables that need to be recognized properly in order for the map editor to work correctly, such as pokemon sprites, overworld sprites, the trainer table, and the map table. Compared to a vanilla game, what tables are not appearing correctly in HMA for your rom?

Other than the goto menu, you should also be able to access the map editor by looking at that map from the data.maps.banks table in the table tool.

(We can continue to debug via GitHub if you like, but Discord tends to be better for conversations / dialogs. You can find an invite to the development server via the help menu if you prefer.)

haven1433 commented 1 year ago

Closing for lack of activity.

MatHiro0 commented 1 year ago

Sorry for the "little" delay to response, but I managed to fix it by editing others things in the .toml, though I don't remember exactly what was...

Thanks for helping and for this amazing tool!