Closed axel7083 closed 9 months ago
When loading a ROM in a given directory the editor will look for a file called objects.json.
objects.json
If it exist, and properly formatted, it will load the objects inside in the ObjectDatabase.
If you define objects with the same id that one already defined inside the default objectdb.xml, yours will be used. I am using json, because XML is bad.
If you define objects with the same id that one already defined inside the default objectdb.xml, yours will be used.
objectdb.xml
I am using json, because XML is bad.
hack-directory/ ├─ ROM.nds ├─ objects.json
[{ "id": 350, "actorid": 416, "category": 1, "name": "Peach NPC (dl)", "internalname": "@CUSTOM%data/custom_obj/peach_npc/peach_low.bmd", "description": "A custom Peach NPC", "dlreq": "@CUSTOM%data/dynamic/peach_npc.dylb" }]
When loading a ROM in a given directory the editor will look for a file called
objects.json
.If it exist, and properly formatted, it will load the objects inside in the ObjectDatabase.
Folder structure
Example
objects.json