Commit Graph

36 Commits

Author SHA1 Message Date
Rachel
1a68c758eb
Integrate metroskrew as the default compiler (#482)
Some checks are pending
build / build (push) Waiting to run
* Remove extraneous `include/` directory level from brightness_controller

* Wrap WSL_ACCESSING_WINDOWS detection in realpath

* Integrate metroskrew as the default compiler

* Remove tools/cw contents
2025-05-09 22:00:48 -07:00
Rachel
7f67d6f9c0
Replace makerom and makebanner with nitrorom (#478) 2025-04-21 07:00:33 -07:00
Eduardo Quezada
7e36d72ab5 Version changes 2025-03-06 22:18:26 -03:00
Rachel
5957413979 Move footprint header generation into datagen-species 2025-01-29 23:19:17 -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
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
92cd212dea Integrate metang as a subproject + migrate species data constants 2025-01-21 22:46:38 -08:00
SetiQyu
15ddab2656 Add FreeBSD compatibility 2025-01-16 23:48:52 +01:00
Rachel
54e8db486c Update required Meson version to 1.5.0
Changes to the field scripting compiler to depend on `trdata.naix` use a
`CustomTargetIndex` in the `generator`'s `depends` kwarg. This support
was added in 1.5.0, as per tags on mesonbuild/meson PR #12956.
2025-01-09 11:12:50 -08:00
Joshua Smith
d43f2c4e67 add build option to enable or disable debugging code 2024-10-23 13:52:36 -05:00
Joshua Smith
133f80ac2b partial overlay breakpoint support via GDB 2024-10-20 13:43:19 -05:00
Joshua Smith
33ac4aa146 integrate debugedit tool into meson build process 2024-10-20 13:43:19 -05:00
Nomura
2137819bce Use makelcf from NitroSDK subproject 2024-08-10 22:03:52 +02:00
Rachel
f5702cd16f Generate tutorable moves table; use source data in make_species_tables.py 2024-05-19 22:55:57 -07:00
Bepis
0ed8f42727 Species table generation code 2024-05-19 22:28:32 -07:00
Rachel
f6cfe2d046 Atomize individual generated constants-headers 2024-05-18 22:53:57 -07:00
Rachel
1bc1c14772 Use generated sub_seq.naix header in C sources 2024-05-07 19:46:01 -07:00
Rachel
02df643380 Compute relative paths for directories in battle script build 2024-02-17 16:17:52 -08:00
Rachel
a454546dac Test checksums of all filesystem entries on build 2024-02-12 08:07:25 -08:00
Rachel
ec549c8f6f Wire up OK build for battle-script NARCs 2024-01-23 21:26:45 -08:00
Rachel
7bf253a4d6 Move enum-based battle constants to constgen schema 2024-01-08 20:50:36 -08:00
pikalaxalt
20c904846f
Export debugging symbols 2024-01-06 21:51:51 -05:00
Rachel
1f277a9071 Use include_directories and build headers in build dir 2023-12-22 17:31:06 -06:00
Rachel
5506b54588 Add support for build on Mac OSX <= 10.14 2023-10-23 00:27:55 -07:00
Nomura
a4809c2133 Include sdk subprojects as wraps 2023-09-04 15:39:07 +02:00
Nomura
cbba05cbf9 Move NitroDWC add-in libs to a separate subproject 2023-08-29 19:34:01 +02:00
Nomura
9c796efb35 Move msl under cw and link prebuilt libraries 2023-08-15 22:32:19 +02:00
Nomura
8fd523cb43 Move subprojects to 'subprojects' directory 2023-08-01 00:02:16 +02:00
Nomura
b37088cc54 Decompile wild encounters 2023-07-27 20:22:38 +02:00
mid-kid
b47b886efa Remove BUILD_DIR from makerom rsf
Makerom is executed relative to the build dir, we can rely on that.
2023-07-25 20:54:38 +02:00
Nomura
7d7bc8f6d1 Assets copied to build directory and listed in rsf 2023-07-25 17:48:17 +02:00
mid-kid
6f7185a311 Jerry-rig fixrom into the pokeplatinum target by using a shell snippet
This is as "proper" as it gets. The alternative is using an intermediate file.
2023-07-20 03:47:43 +02:00
mid-kid
69ad69e2ed Remove unnecessary build system fixes 2023-07-20 03:10:58 +02:00
Nomura
040fa22df8 Finalize Meson build system 2023-07-18 19:58:03 +02:00