Commit Graph

25 Commits

Author SHA1 Message Date
h2o-DS
57fbaeca7e
Unopack pokefoot.narc and Document pokedex_footprint (#513)
* generate pokefoot.narc

Unpacked pokefoot.narc
Each species folder now contains a `footprint.png`
Documented `pokedex_foot`

* Check parent folders

Added a check to make sure the species folders exist for the NCGR files.

* Function Names

Gave pokedex_foot functions more accurate names

* format header

* pal crlf

Force palettes to crlf

* naix

Added naix and order file generation for pokefoot.narc
make_pokefoot uses species constants instead of subdirs
renamed pokedex_foot and its functions

* fix merge
2025-05-21 23:50:52 -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
h2o-DS
fb1f061a1c Language Codes
Changed languages to ISO-639 codes
Gave forms pokedex data fields
moved name to pokedex data
pokedex_text_banks -> species_text_banks
2025-02-02 21:32:17 -05:00
h2o-DS
ac56f124e1 Foreign_Dex
Added foreign languages to res/pokemon/<species>/data/json pokedex_data
Removed prebuilt pokedex gmm files
Renamed message banks 698-723
2025-02-01 16:49:28 -05: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
Rachel
7361ba16b2 Update species data structures 2025-01-21 22:46:39 -08:00
iriv24
f4659a7cfd Rework pal park area constants 2025-01-11 21:39:17 -05:00
iriv24
0bd790908e Add data from binary into species' data.json files 2025-01-10 22:09:00 -05:00
h2o-DS
e77596d92d Applied Polish
Implemented camelCase
Use unicode characters in data.json
Removed double escape from data.json
Gave names to generated message files
2024-09-23 17:25:32 -04:00
h2o-DS
e1aeb030c7 Generate Pokedex Messages 2024-09-06 15:56:22 -04:00
h2o-DS
ab38b6a7d2 Translation and Giratina forms
Changed zukan to pokedex where possible.
Organized pokedex data for each pokemon
added functionality for zukan_data_gira
2024-09-01 16:00:47 -04:00
h2o-DS
a9c85d657b Decompile zukan_data NARC 2024-08-31 16:12:08 -04:00
Bepis
5ddf64676d Add footprint pokemon data 2024-05-19 22:34:02 -07:00
Bepis
738cd9f392 Add move tutor data to species data.json 2024-05-19 22:28:36 -07:00
Rachel
69608af4a4 Re-dump pl_otherpoke with separated JASC palette files 2024-05-12 01:04:25 -07:00
Rachel
2095f847ae Redump pl_pokegra with separated JASC palette files 2024-05-12 00:03:45 -07:00
Rachel
71d2e0fa1b Migrate pokemon_personal_data.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
f5a0e6e8f6 Dump data from pl_poke_data and height NARCs to sprite_data.json for each species 2023-11-28 13:21:44 -08:00
wildfire
158326b022 Fix mon data move enum names 2023-09-30 18:53:45 +01:00
lhearachel
94c136de5c Wire up OK build for pl_otherpoke 2023-09-25 19:38:05 -07:00
lhearachel
1d1193eab5 Wire up OK build for pl_pokegra 2023-09-25 19:29:15 -07:00
lhearachel
32a76db2ac Dump sprites from pl_pokegra and pl_otherpoke
All sprites are optimized using optipng v0.7.7 and the following args:
    -clobber
    -force
    -strip all
    -o7
    -np
2023-09-25 19:29:11 -07:00
Rachel
d7a65cd001 Wire up OK build from icon PNGs 2023-09-23 23:23:16 -07:00
Rachel
f4c7f17073 Dump the contents of pl_poke_icon
All files were generated via nitrogfx. PNGs were generated using the following
options:

  -palette res/poketool/icongra/icon_palette.NCLR
  -palindex <index of the palette as specified by entry in Unk_020F0780>
  -width 4
  -scanfronttoback (with the exception of species_000.png)

All PNGs have been run through optipng with -o7 and -strip all, excluding
species_000. This file seemingly does not match after optimization.
2023-09-23 21:41:45 -07:00
wildfire
5b23f9b0cf Add data files for building pl_personal.narc 2023-09-19 17:55:24 +01:00