16 Commits

Author SHA1 Message Date
Rangi 7a7881d0d6 Sync the make_patch tool with poketcg 2026-08-13 17:31:52 -04:00
Rangi 06ec23ccee Fix some issues with C tools, and build them with -std=c17 (#1259) 2026-06-12 12:02:39 -04:00
Rangi 1eb49f8980 Tools accept - as a placeholder filename for stdin or stdout (#1257) 2026-06-08 12:51:11 -04:00
Rangi 0d3a44b923 Fix tools/make_patch.c to be endian-independent (#1252) 2026-06-07 01:21:15 -04:00
Rangi b91ba4fe9b Don't hard-code the Stadium data handling in tools/make_patch.c (#1206)
Instead, have a `--ignore addr:size` option that's set in the Makefile
2025-11-12 13:40:58 -05:00
Rangi 3e2121b21a Support < and > prefixes for high and low bytes in VC patch templates (#1172) 2025-03-08 11:14:56 -05:00
vulcandth 0124a1ea9e Use exported constants for VC patch (#1161) 2024-12-27 13:10:30 -05:00
Sylvie 5a53e297cf Sort Pokemon and trainer sprite palettes, with Makefile-specified exceptions (#1137)
This avoids the need to define their order via indexed PNG palettes

It also avoids the need to use gb-asm-tools' palfix.py on custom sprites

Fixes #1136
2024-10-16 10:48:00 -04:00
Rangi42 746a06f1de Use bankless symbols for VC constants
This is valid according to the .sym file spec:
<https://rgbds.gbdev.io/sym/>
2024-08-04 21:04:25 -04:00
Rangi eb28b5ae56 Only patch Stadium data for a 2MB ROM 2022-12-03 11:10:55 -05:00
Rangi 89a888277a Revise macros in tools 2022-10-12 21:43:00 -04:00
Rangi 5a7ddb3272 Port and document make_patch.c features needed for pokered 2022-03-26 17:22:09 -04:00
Rangi a4bc0ab74f Error messages end with newlines 2022-03-13 14:04:36 -04:00
Rangi 732acf1d4f Allow {patch offset length} (necessary for pokegold) 2022-03-12 22:50:42 -05:00
Rangi f33a041930 Allow alternate labels for patch names 2022-03-12 22:38:29 -05:00
vulcandth 31c3c94d64 Build the Virtual Console patch with make crystal11_vc (#882)
Fixes #813
2022-03-12 18:34:04 -05:00