mon expansion in english heart gold
now you just have to put your heart gold rom in the root directory as base.nds
then, open include\config.s and take a look at the options available to you. each has a description that should guide you in using it.
from there, run:
scripts\extract
scripts\decompress
if you have a synthetic overlay, run scripts\getsynthoverlay.bat. otherwise it will be handled automatically.
scripts\make
scripts\compile
this will take your rom in whatever state of completion that it is and extract and decompress all the overlays. from there, it will replace the narcs and edit the overlays necessary to fully implement pokemon dex expansion.
legacy instructions for the old way are included below. each individual part has its own script, but you are no longer required to supply any files other than the rom as base.nds
the cries have yet to have a better solution, so it is not spoilered below. however, a gs_sound_data will be provided for insertion.
legacy instructions
put your arm9 in the root directory as arm9.bin
put your overlay 1 in the root directory as overlay9_0001.bin
put your overlay 18 in the root directory as overlay9_0018.bin
put your overlay 63 in the root directory as overlay9_0063.bin
put your overlay 96 in the root directory as overlay9_0096.bin
extract a180_0.bin (extract it from narc a180) and put it in the root directory as a180_0.bin. this is done to preserve frame animation data for each mon
put your heart gold rom in the text/ folder as "base.nds"
put your a081 narc in the root folder as a081.narc (the output will overwrite this)
run scripts/make.bat in the root directory
replace all the generated files with their equivalents in the rom. specifics can be seen below
especially refer to the cries section below
run scripts/makemonspritenarc.bat in the root directory
insert narc a004 over top of what was previously there. also insert over top of pbr/pokegra.narc
make sure that the image is png-24 format. (decrease the color depth to 256)
credits to goodri63 here on github for his GenIVSpriteReplacer which i modified to turn into a number of command line tools
run scripts/makelevelupdata.bat in the root directory
insert narc a033 over top of what was previously there
run scripts/makemondata.bat in the root directory
insert narc a002 over top of what was previously there
run scripts/makeevodata.bat in the root directory
insert narc a034 over top of what was previously there
run scripts/makeeggmoves.bat in the root directory
insert kowaza.narc over top of data/kowaza.narc - also insert kowaza.narc as narc a229 because i can't tell which one is actually used but they're literally identical
run scripts/makebabymons.bat in the root directory
insert pms.narc over top of poketool/personal/pms.narc
run scripts/maketutormoves.bat in the root directory
insert waza_oshie.narc over top of fielddata/wazaoshie/waza_oshie.bin
put your arm9 in the root directory as arm9.bin
run scripts/makemoniconnarc.bat in the root directory
make sure that the image is png-24 format. (decrease the color depth to 256)
insert arm9.bin back into the rom (make sure to recompress it in ct2) as well as narc a020 over top of what was previously there
this one i just chose to not deal with the lz10 compression. no edits can currently be made, but i put blank footprints in for plenty of new pokémon. will make editable in a while.
run scripts/makefootprintnarc.bat in the root directory
insert narc a069 over top of what was previously there
run scripts/makeheighttable.bat in the root directory
insert narc a005 over top of what was previously there
extract a180_0.bin (extract it from narc a180) and put it in the root directory as a180_0.bin. this is done to preserve frame animation data for each mon
run scripts/makespriteoffsets.bat in the root directory
insert narc a180 over top of what was previously there
todo: make a tool for visualizing this?
run scripts/makeregionaldexorder.bat in the root directory
insert narc a138 over top of what was previously there
specifically the things like the mon names, dex descriptions, weight, height, and dex categories
put your heart gold rom in the text/ folder as "base.nds"
run scripts/makemsgnarc.bat in the root directory
insert narc a027 over top of what was previously there
credits to loadingNOW for his tool, thenewpoketext. had to modify the binary to make it apply to hgss specifically, but it works alright
images don't need to be indexed
put your arm9 in the root directory as arm9.bin
put your overlay 1 in the root directory as overlay9_0001.bin
put your overlay 63 in the root directory as overlay9_0063.bin
put your overlay 96 in the root directory as overlay9_0096.bin
put your a081 narc in the root folder as a081.narc (the output will overwrite this, but needs it nonetheless)
run scripts/makeoverworldnarc.bat in the root directory.
insert narc a081 over top of what was previously there. do the same with narc a141, arm9.bin, overlay9_0001.bin, and a028_0.bin (insert it over the 0th file in narc a028).
note that the *_shiny.png files are there solely for their palettes
credits to KazoWAR for his tool that he updated in 2018, btx editor. modified it to be a command line tool that very specifically works with this project.
run scripts/makedexareadata.bat in the root directory
insert narc a133 over top of what was previously there
run scripts/makedexdata.bat in the root directory
insert narc a214 over top of what was previously there
currently, the sound directory contains wav files of each of the pokemon gens 1-5. edit as you please
note that 494 and up are going to be 544 and up to represent their index numbers in this game. just add 50 to gen 5 mons
run scripts\makecries.bat in the root directory
copy gs_sound_data.sdat from the rawdata folder. this is slightly modified gs_sound_data that has spaces for pokemon up to index 900
using nitro studio (the tool by gota7), open the sdat file and the "Wave Archive" folder and replace WAVE_ARC_PV544 and up with each new cry swar for example, WAVE_ARC_PV544 is going to be 544.swar in the swar folder that was created in the sound/ directory
in the future, i will provide one with all the pokemon that have data
credits to Barro, ProfessorDoktorGamer, and Gota7 for swav2swar, wav2sav, and nitro studio respectively