- 2
- Posts
- 5
- Years
- Seen Dec 15, 2019
So, as someone who is new at this it took me a while to understand the instructions in Install.md and then figure out the other things I needed to do that weren't mentioned there. I am using msys2 to make the basic Pokeemerald to be sure it works before I git clone the Battle Engine, Poke Expansion, and Item Expansion.
I have the devkitARM, I have the libraries I need installed with msys2, I've made lots of progress with figuring out errors on my own and getting further into being able to work on my personal hack. I even went and set up Cygwin elsewhere to see if I would get the same error, and I do. So close, yet so far. Can someone explain to me what this error means, I am totally stomped because I should be able to make with no problems at this point. Anyway, here is the error:
tools/jsonproc/jsonproc.exe src/data/wild_encounters.json src/data/wild_encounters.json.txt src/data/wild_encounters.h
tools/gbagfx/gbagfx.exe graphics/weather/0.pal graphics/weather/0.gbapal
JSONPROC_ERROR: [inja.exception.render_error] function 'trackVar' (2) not found
make: *** [json_data_rules.mk:6: src/data/wild_encounters.h] Error 1
make: *** Deleting file 'src/data/wild_encounters.h
How do I fix this? Thank you for your time in advance.
EDIT: For additional info, I am using the latest tools from PokeRuby tools. Guess I'll take a look at the files involved, and into the JSONPROC tool and Inja. I don't understand coding but I'll figure out this error eventually, and on my own if I have to. the json_data_rules.mk might have an interesting lead and something new for me to try.
EDIT 2: Guess what? I fixed the issue and finally can make pokeemerald.gba. Thankfully I didn't have to do anything crazy like trying to figure out how to build the jsonproc tool from scratch. The problem is, the jsonproc folder from the PokeRuby tools has an outdated file: jsonproc.cpp. The only folder with the correct jsonproc files is the pokeemerald-master. It's jsonproc.cpp is 4kb while the rest are only 3kb and give the error during make.
For any one who has this issue in the future: Copy the tools from PokeRuby, then make sure you are using the jsonproc files from the pokeemerald-master. The jsonproc.cpp in battle_engive_v2, item_expansion, and pokemon_expansion and PokeRuby will give the error.
I have the devkitARM, I have the libraries I need installed with msys2, I've made lots of progress with figuring out errors on my own and getting further into being able to work on my personal hack. I even went and set up Cygwin elsewhere to see if I would get the same error, and I do. So close, yet so far. Can someone explain to me what this error means, I am totally stomped because I should be able to make with no problems at this point. Anyway, here is the error:
tools/jsonproc/jsonproc.exe src/data/wild_encounters.json src/data/wild_encounters.json.txt src/data/wild_encounters.h
tools/gbagfx/gbagfx.exe graphics/weather/0.pal graphics/weather/0.gbapal
JSONPROC_ERROR: [inja.exception.render_error] function 'trackVar' (2) not found
make: *** [json_data_rules.mk:6: src/data/wild_encounters.h] Error 1
make: *** Deleting file 'src/data/wild_encounters.h
How do I fix this? Thank you for your time in advance.
EDIT: For additional info, I am using the latest tools from PokeRuby tools. Guess I'll take a look at the files involved, and into the JSONPROC tool and Inja. I don't understand coding but I'll figure out this error eventually, and on my own if I have to. the json_data_rules.mk might have an interesting lead and something new for me to try.
EDIT 2: Guess what? I fixed the issue and finally can make pokeemerald.gba. Thankfully I didn't have to do anything crazy like trying to figure out how to build the jsonproc tool from scratch. The problem is, the jsonproc folder from the PokeRuby tools has an outdated file: jsonproc.cpp. The only folder with the correct jsonproc files is the pokeemerald-master. It's jsonproc.cpp is 4kb while the rest are only 3kb and give the error during make.
For any one who has this issue in the future: Copy the tools from PokeRuby, then make sure you are using the jsonproc files from the pokeemerald-master. The jsonproc.cpp in battle_engive_v2, item_expansion, and pokemon_expansion and PokeRuby will give the error.
Last edited: