Commit Graph

60 Commits

Author SHA1 Message Date
RavePossum
5bb9556a4c Dump map matrices 2025-03-17 17:39:12 -04:00
Rachel
8c316409f3 Fix scripts with shebangs that were not marked as executable 2025-03-08 21:43:52 -08:00
cbt6
4f1e58ee21 Use map header constants in field events 2025-02-25 11:19:53 +08:00
cbt6
2b50c2ee48 Use bg event dir constants in field events 2025-02-25 11:17:07 +08:00
cbt6
aabc9efc77 Use trainer type constants in field events 2025-02-25 11:15:35 +08:00
cbt6
a8aa814e85 Use object event constants in field events 2025-02-25 11:13:29 +08:00
cbt6
bdc430f8b1 Use movement type constants in field events 2025-02-25 11:12:06 +08:00
cbt6
452e7af67c Unpack fld_trade.narc 2025-02-13 12:18:00 +08:00
Rachel
7e5f0e62b8 Port trainer data archive packing to C++ 2025-01-31 19:42:24 -08:00
Rachel
2e4e858081 Migrate remaining generated constants to metang 2025-01-29 22:43:45 -08:00
Rachel
26db7b2f7e Migrate constants used by battle and AI scripting to metang 2025-01-27 20:46:35 -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
Rachel
7361ba16b2 Update species data structures 2025-01-21 22:46:39 -08:00
Rachel
c0f35c0910 Migrate evolution methods to metang 2025-01-21 22:46:39 -08:00
Rachel
92cd212dea Integrate metang as a subproject + migrate species data constants 2025-01-21 22:46:38 -08:00
Rachel
465d8cae75 Document and clean-up Pokemon_GetEvolutionTargetSpecies 2025-01-21 22:46:38 -08:00
iriv24
c3328afd54 Add script to repack ppark.narc, delete res/prebuilt/arc/ppark.narc 2025-01-12 00:24:26 -05:00
Rachel
c8cf600719 Replace knarc with libnarc 2024-12-31 20:15:30 -08:00
h2o-DS
8adde9b5e5 Refactored encdata_ex 2024-12-08 15:50:57 -05:00
Rachel
f003c44d02 Refactor generation of trainer data files 2024-11-18 17:49:39 -08:00
Rachel
62d7949073 Refactor generation of event data files and packing of zone_event.narc 2024-11-15 11:51:08 -08:00
Rachel
64ad9e3dd9 Extract direct to_bytes conversions from encounter.py to shareable lib 2024-11-15 11:50:59 -08:00
Rachel
364945a85f Refactor generation of encounter data files and packing of pl_enc_data.narc 2024-11-11 11:38:37 -08:00
cbt6
74feb9477a Name BgEvent struct 2024-06-09 10:03:28 +08:00
Rachel
f6cfe2d046 Atomize individual generated constants-headers 2024-05-18 22:53:57 -07:00
cbt6
394c802aa4 "movement_range_y" -> "movement_range_z" 2024-04-14 12:58:14 +08:00
Rachel
86021bdfc2 Flip y and z nomenclature in events structure 2024-04-06 09:48:58 -07:00
cbt6
51182992f4 Change assertion to explicitly raise error 2024-04-03 09:54:46 +08:00
cbt6
ee17cf87c7 Dump field events 2024-04-03 00:48:01 +08:00
Bepis
7e2ab88011
Rename forms to movesets 2024-02-12 05:03:33 +11:00
Bepis
661aa74990
Determine required pokedex expansion constants 2024-02-12 05:03:33 +11:00
Rachel
05288e102d Delete leftover json2bin consts definitions 2024-02-06 22:32:43 -08:00
Rachel
4dcd0bdd7b Migrate movedata.py to constgen headers 2024-02-06 22:32:43 -08:00
Rachel
fc3d1f102b Migrate trainer_data.py to constgen headers 2024-02-06 22:32:40 -08:00
Rachel
646db45f4a Migrate pokemon_wotbl_data.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
71d2e0fa1b Migrate pokemon_personal_data.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
3f630c978e Migrate pl_poke_data.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
58fbb5c3aa Migrate evo.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
2021ba8eaa Migrate encounters.py to constgen headers 2024-02-06 22:29:26 -08:00
Rachel
b4d2a18077 Use an env for json2bin to support constgen modules 2024-02-06 22:29:26 -08:00
Rachel
30f15cf146 Update json2bin for python3.8 compatibility 2024-01-27 13:49:49 -08:00
Rachel
f7632b1d53 Wire up OK build for decompiled height.narc and pl_poke_data.narc 2023-11-28 13:29:07 -08:00
Rachel
30d80d6df3 Refactor json2bin to support single-file output mode 2023-11-28 13:16:32 -08:00
Khandoker Munif Ahmed
08454c8857 Build evo.narc from data files in res/pokemon
Begin archiving evolution methods

Make suggested chagnes

Update rom.rsf to use evo.py and fix some bugs with evo.py

Update pokemon data files to append EVO and MOVE to evolution entries

use updated j2b register function for evo.py
2023-11-18 18:02:24 -08:00
Rachel
771e19e1d0 Add json2bin support for different processing modes for optional fields 2023-11-03 22:25:03 -07:00
Rachel
6ef491cf70 Build matching trpoke.narc from source files 2023-11-02 20:57:19 -07:00
Rachel
48ee765515 Build matching trdata.narc from source files 2023-11-02 20:57:15 -07:00
wildfire
7b787bcff3 Fix wotbl script, add byte align function to j2b 2023-09-30 20:08:56 +01:00
wildfire
d0b3d627e3 Misc cleanup 2023-09-30 18:53:46 +01:00
wildfire
6d1c2fabbe Build wotbl.narc using mon data 2023-09-30 18:53:45 +01:00