Rangi
1ba73f225c
Use -flto for all tools
2022-03-15 17:29:15 -04:00
Rangi
61faca1f91
Remove pokemontools and gfx.py; update PyPNG and standardize on Python 3
2022-03-14 19:38:06 -04:00
Rangi
cfa47e8c78
Add a bpp2png
tool to replace gfx.py for converting 1/2bpp to PNG ( #889 )
2022-03-14 19:31:20 -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
Rangi
1a6b051119
Slightly refactor some C tools
2022-03-08 21:47:23 -05:00
Rangi
e888b2f826
Rename *_verbose
functions to idiomatic x*
2022-03-02 21:39:13 -05:00
Rangi
824d6bbaf2
Remove unused #include <unistd.h>
2022-02-28 19:28:09 -05:00
Rangi
2cc17f780a
Explain why make_frames works
2022-02-21 08:58:22 -05:00
Rangi
be7a5e09b5
Factor out usage_exit into into tools/common.h
2021-09-21 17:37:43 -04:00
Rangi
2691c9f5c8
Small refactoring and optimization to tools/gfx.c
2021-09-21 17:16:14 -04:00
Rangi
314c5fc9ab
Rewrite tools/gfx.c
2021-09-20 21:44:41 -04:00
mid-kid
7d40476e14
Drop C standard for tools/ to C11
...
Nothing has changed in c17 beyond minor standards corrections, so
there's no advantage in specifying c17 over c11.
2021-09-07 15:34:38 +02:00
Rangi
868e28f309
Update usage doc comments for some tools/*.py scripts
2021-09-02 18:48:17 -04:00
Rangi
021702628c
Rewrite tools/pokemon_animation.c
2021-09-02 18:37:36 -04:00
Rangi
a18f83b911
Rewrite tools/pokemon_animation_graphics.c, and keep void usage
and void parse_args
at the top of tools' files
2021-09-02 17:15:50 -04:00
Rangi
c8f06f45d5
Use an error_exit
macro for tools
2021-09-02 03:04:40 -04:00
Rangi
0d1a029e81
Rewrite tools/scan_includes.c to use common.h and factor out a parse_args function
2021-09-02 02:34:06 -04:00
Rangi
313deab552
Rewrite tool png_dimensions.c, and start using common.h more
2021-09-02 00:21:10 -04:00
Rangi
8f88e04401
Remove unused tool palette.c
2021-09-02 00:20:46 -04:00
Rangi
1e9befdf18
Comment explaining what the "base" Stadium data is for
2021-07-10 21:43:12 -04:00
Rangi
b1dbadbdd3
Require rgbds 0.5.1
...
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-05-09 12:26:28 -04:00
Rangi
316fa4b695
Use rgbds 0.5.0
2021-04-19 16:31:37 -04:00
Rangi
7fd23ae918
Run tools/palfix.py on gfx
2021-03-18 22:30:21 -04:00
Rangi
52bcd78290
palfix.py outputs 2-bit grayscale if possible
2021-03-15 18:21:33 -04:00
Rangi
ee36bd9342
Add tools/palfix.py, and make Python tools executable
2021-03-15 16:47:35 -04:00
Rangi
e485280a8a
Require rgbds 0.4.2
...
This allows [\1] to work when \1 is hl, bc, or de
The object file format has changed along with the version number
2020-12-09 12:21:46 -05:00
Rangi
ad6effee82
Don't hardcode CRCs within Crystal base data
2020-11-30 11:32:19 -05:00
Rangi
4ca9f45db7
Fix tools/free_space.py
2020-11-21 21:14:32 -05:00
Rangi
80f7504f49
tools/sym_comments.py can comment labels with their sym file addresses
2020-10-14 11:22:34 -04:00
Rangi
e475ce6fda
tools/unnamed.py -r . -l N prints up to N unnamed symbols next to their filenames
2020-10-04 21:03:24 -04:00
mid-kid
89c47f2170
Ignore tools/stadium
2020-07-24 14:32:25 +02:00
Rangi
2c5055f610
Generate the Stadium 2 checksum data with pfero's tool instead of raw INCBINs
2020-07-23 23:49:17 -04:00
Rangi
b17255fe3f
tools/unnamed.py supports rgbds 0.4.1 object files
2020-07-22 09:17:10 -04:00
Rangi
2e8b4836b0
Fix tools/unnamed.py
2020-07-13 20:54:33 -04:00
Rangi
9e4a00af45
Get all unnamed symbols with make DEBUG=1
2020-07-07 21:09:05 -04:00
Rangi
022f9e6af1
Reformat gfx/trade/game_boy.png and fix tools/gfx --preserve
2020-06-28 19:56:06 -04:00
aaaaaa123456789
267352c4d8
Update lzcomp
2020-06-28 05:20:05 -03:00
Rangi
1185c1b610
Mention pokecrystal in tools/unnamed.py output
2020-06-15 11:58:17 -04:00
Rangi
4a294824b0
Merge branch 'master' of https://github.com/pret/pokecrystal
2020-06-03 12:24:54 -04:00
Rangi
5e9de74735
Merge pull request #727 from ISSOtm/free_space
...
Rewrite tools/free_space.awk
2020-06-03 12:24:21 -04:00
ISSOtm
b4893a3656
Rewrite tools/free_space.awk
...
- Add parameter to allow printing information per bank
- Fix bug where RAM sections would be deducted from free ROM space
- Make input format more lenient (case-insensitivity, lax spacing)
- Marked gawk requirement (`strtonum` extension) in shebang line
2020-06-02 20:56:26 +02:00
Rangi
97b182f357
Replace free_space.awk with free_space.py
2020-06-02 09:25:23 -04:00
Rangi
84959e35b5
Merge pull request #722 from entrpntr/fix-used-space
...
Update used_space.py and mapreader.py tools for rgbds v0.4.0.
2020-06-02 08:33:15 -04:00
Rangi
159cef004f
Update lzcomp
2020-05-24 12:29:05 -04:00
Rangi
c1c671d84b
Remove unused tools/md5.c
2020-05-23 15:46:47 -04:00
aaaaaa123456789
2b7237e299
Match LZ compressed files ( #724 )
...
Replace lzcomp with new version and match all LZ compressed files
2020-05-23 13:30:04 -04:00
entrpntr
c37e8a65d8
Update used_space.py and mapreader.py tools for rgbds v0.4.0.
2020-05-19 22:51:29 -04:00