Commit Graph

170 Commits

Author SHA1 Message Date
Rachel
7fb18f939f
Merge pull request #437 from ravepossum/map_bins
Dump map data binaries, texture sets, and matrices
2025-03-19 16:08:06 +00:00
RavePossum
5bb9556a4c Dump map matrices 2025-03-17 17:39:12 -04:00
Rachel
4fc59bfe4c
Merge pull request #329 from lhearachel/make-venv
Some checks are pending
build / build (push) Waiting to run
Pull Meson as a subproject
2025-03-12 08:26:37 -07:00
Rachel
44915351ee
Merge pull request #424 from ravepossum/mon_sprites
Document PokemonSprite and related structs
2025-03-12 07:59:02 -07:00
Eduardo Quezada
1d33088d8c Merge branch 'main' into document12 2025-03-09 22:11:08 -03:00
RavePossum
7c701a376d Document mon sprite magic numbers, generate otherpoke naix 2025-03-09 19:29:06 -04:00
Rachel
ce1493c36b Clone meson instead of asking users to download it
This squash also removes the calcrom webhook, which serves no purpose
at this stage of the project.
2025-03-09 16:21:19 -07:00
Rachel
8c316409f3 Fix scripts with shebangs that were not marked as executable 2025-03-08 21:43:52 -08:00
Rachel
90229682d0 Overhaul CONTRIBUTING.md + integrate editorconfig and pre-commit 2025-03-08 21:43:47 -08:00
Eduardo Quezada
7e36d72ab5 Version changes 2025-03-06 22:18:26 -03:00
h2o-DS
8f0da81c9d Merge remote-tracking branch 'upstream/main' into Pokedex_Menu_Text 2025-02-25 06:24:57 -05: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
Rachel
0ba0d64eee Use a flag to forbid using ScriptEntry after ScriptEntryEnd 2025-02-21 11:06:49 -08:00
h2o-DS
9d7b5d107b Resolve Merge Conflicts 2025-02-15 17:17:19 -05:00
mid-kid
f6a62ca3a2 Update INSTALL.md to reflect the removal of LM_LICENSE_FILE 2025-02-14 23:28:17 +01:00
mid-kid
95ae7e70dc Replace lmgr8c to beat license verification 2025-02-14 20:52:02 +01:00
cbt6
452e7af67c Unpack fld_trade.narc 2025-02-13 12:18:00 +08:00
Rachel
f6d8ad29a5
Merge pull request #356 from h2o-DS/Pokedex_Menu_Text
Some checks are pending
build / build (push) Waiting to run
Generate Foreign Dex Entries
2025-02-03 00:26:16 -08: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
e0f9fbee28 Simplify f Strings 2025-02-01 17:07:03 -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
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
7c99b08629 Refactor dependency chain on pokedex data NARCs and text banks
- All affected targets no longer take a list of source files as input
and instead derive source-files from the SPECIES environment variable.
- Text banks no longer depend on auto-generated constants, which means
that changing a constant does not implicitly soil the text bank archive.
2025-01-29 23:06:05 -08:00
Rachel
2e4e858081 Migrate remaining generated constants to metang 2025-01-29 22:43:45 -08:00
Rachel
ab09fd604e Use a static ordering for text archives + refactor terminology + unify includes 2025-01-27 20:53:13 -08:00
Rachel
8d627416f9 Refactor PCH + script dependencies and use a 2-stage pipeline 2025-01-27 20:46:36 -08:00
Rachel
26db7b2f7e Migrate constants used by battle and AI scripting to metang 2025-01-27 20:46:35 -08:00
Rachel
80215e6e71 Output a depfile while building field scripts 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
Adrienn Tindall
089afc8e94
Merge branch 'main' into main 2025-01-17 23:24:34 -05:00
Adrienn Tindall
5a7b4091dd More pokedex documentation 2025-01-14 07:37:32 -05: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
h2o-DS
89411afb93 Merge remote-tracking branch 'upstream/main' 2024-11-30 17:03:45 -05:00
h2o-DS
f671b0ee0e Removed Globs
Figured out how to pass src files from meson to python.
Removed all file names from scripts so that can all be handled in meson
2024-11-30 17:03:33 -05:00
Rachel
f003c44d02 Refactor generation of trainer data files 2024-11-18 17:49:39 -08:00
h2o-DS
38bca5acb9 Removed File Names From Script
Removed encounter_ex file names from make_pokedex_enc_platinum.py so that files are only named in meson.build
2024-11-18 00:31:35 -05:00
h2o-DS
8ff4bfa4c2 Merge remote-tracking branch 'upstream/main' 2024-11-17 19:01:46 -05:00
h2o-DS
6bcd55ef64 Merged Directories and Renamed Encounter Files
Removed encounters_ex directory, moving/merging files to encounters
Renamed encounter files to match the location name
created an order file for pl_enc_data.narc
Moved move_tutors.json from res/field to res/pokemon
2024-11-17 19:01:07 -05:00
Rachel
62d7949073 Refactor generation of event data files and packing of zone_event.narc 2024-11-15 11:51:08 -08:00