Commit Graph

22 Commits

Author SHA1 Message Date
Rachel
d92f23036b tools: Replace use of datagen_species.cpp with speciesproc.c
Some checks are pending
build / build (push) Waiting to run
2026-03-20 22:26:04 -07:00
Rachel
8be36972e3
Replace narc subproject with vendored nitroarc (#969) 2026-02-23 16:35:08 -08:00
Kalaay
0a883cb6c4
rename all instances of difficulty values and "power" to iv_scale for clarity (#952) 2026-02-20 11:56:06 -08:00
CharlesFolz4
2ab806248e Fix generated object event include guards 2026-02-04 20:31:08 -05:00
RavePossum
6c51ad190f
Unify more PokemonSprite references (#807) 2025-10-29 17:41:17 -04:00
CharlesFolz4
a45b648a40
Generate event object ids (#784)
Some checks failed
build / build (push) Has been cancelled
2025-09-27 12:06:03 -07:00
scbroede
3d88a2b728
move frontier trainer messages to individual files (#719) 2025-08-31 19:09:50 -07:00
scbroede
1474478c46
move frontier trainer names to individual files (#707)
Some checks failed
build / build (push) Has been cancelled
2025-08-26 21:40:13 -07:00
scbroede
feb3dd49c0
generate trainer names text bank from trainer data (#700) 2025-08-23 17:21:45 -07:00
scbroede
5bb32ff3ec
unpack trtbl.narc and trtblofs.narc (#656) 2025-08-23 11:47:37 -07:00
Rachel
cedef43489 Implement JSON text banks in msgenc and fix program errors 2025-08-17 15:48:40 -07:00
h2o-DS
e6fa1b9819
Move Footprint Types to Species Data Files (#664) 2025-08-04 14:22:00 -07:00
h2o-DS
2daed9b09e
Move Egg Moves and Icon Palettes to Species Data (#635) 2025-07-28 10:17:07 -07:00
h2o-DS
e29eb0b295
Generate Dex Sizes and Polish Species Related Scripts (#617) 2025-07-15 10:18:32 -07:00
tillgeissler
69497b4d00
Unpack Battle Tower trainers and Pokemon sets (#514)
Some checks failed
build / build (push) Has been cancelled
* Unpack b_pl_btdpm.narc

* fix nature name NATURE_QUIRKY

* Unpack pl_btdtr.narc

* Refactor frontier pokemon structure

* Remove prebuilt pl_btdtr.narc

* Replace frontier trainers setIds by available set names

* Add datagen_frontier.cpp to pack pl_btdpm.narc and pl_btdtr.narc

* Cleanup json2bin changes

* fix formatting
2025-06-15 10:37:47 -07:00
h2o-DS
0cba5ddceb
Generate pms.narc (#502)
Some checks failed
build / build (push) Has been cancelled
* Generate pms

Added offspring field to species data files
Added pms.narc to datagen_species

* Document Comments

Added pms.narc to header comments

* Remove Hardcode

* Optimization
2025-05-07 20:46:30 -07:00
Rachel
1240a632ce Directly exit when failing to read datagen inputs 2025-04-29 11:46:20 -07:00
Rachel
307b39125e Enrich datagen's JSON errors 2025-04-28 02:10:36 -07:00
narf0708@gmail.com
4aa9f3cef8 Add exception handling to json data parsing 2025-04-27 18:16:54 -04:00
Rachel
7e5f0e62b8 Port trainer data archive packing to C++ 2025-01-31 19:42:24 -08:00
Rachel
5957413979 Move footprint header generation into datagen-species 2025-01-29 23:19:17 -08:00
Rachel
2c410b8046 Replace python scripts for packing species archives with C++
This new code is responsible for packing the following archives:

- `pl_personal` -> basic information for each species: stats, types, etc.
- `evo` -> evolution lines for each species
- `wotbl` -> by-level learnsets for each species
- `ppark` -> catching show data for each species
- `height` -> y-offsets for front and back sprites for each species
- `pl_poke_data` -> sprite-rendering data for each species: animation
  ID, frame data, shadow size and offsets, etc.

Additionally, the following headers are generated:

- `res/pokemon/tutorable_moves.h` -> A listing of moves taught by each
  tutor and how much each move costs to be tutored
- `res/pokemon/species_learnsets_by_tutor.h` -> An array of bitmasks for
  each species designating which moves can be tutored to that species
2025-01-21 22:46:39 -08:00