Remy Oukaour
76ed8b1f37
Revert "python3 sort_map.py pokecrystal.map sorted.sym"
...
This reverts commit 88d32fe42c
.
2018-01-09 00:30:36 -05:00
Remy Oukaour
9069a395db
Measure total free space
2018-01-03 16:08:23 -05:00
Remy Oukaour
095dcec9ca
No explicit bank "$00" for ROM0, WRAM0, OAM, or HRAM
2018-01-03 15:55:56 -05:00
Remy Oukaour
f9f1046447
sort_map.py → map2sym.py (like dos2unix, pdf2ps, etc)
2018-01-03 15:46:39 -05:00
Remy Oukaour
83f7400671
More example lines
2018-01-03 15:41:15 -05:00
Remy Oukaour
78c818e4c9
for/write → writelines
2018-01-03 15:35:25 -05:00
Remy Oukaour
c85e4f3d52
rgblink → sort_map.py
2018-01-03 15:31:03 -05:00
Remy Oukaour
418d81b99b
Docstring and no print()
2018-01-03 15:25:40 -05:00
Remy Oukaour
59e6baee1e
Support Python 2 or 3
2018-01-03 15:00:53 -05:00
Remy Oukaour
0d1f2d6710
Add example .map lines
2018-01-03 14:57:10 -05:00
Remy Oukaour
c07ffc7633
Handle unused banks (notably OAM and HRAM)
2018-01-03 14:52:32 -05:00
Remy Oukaour
927d392a02
Size in hex
2018-01-03 14:46:37 -05:00
Remy Oukaour
88d32fe42c
python3 sort_map.py pokecrystal.map sorted.sym
2018-01-03 14:41:17 -05:00
yenatch
9af2aee640
rebuild gfx and md5 when common.h changes
2017-12-28 01:25:46 -05:00
yenatch
40305f205e
fix unused fread return value warnings
2017-12-28 01:25:25 -05:00
Remy Oukaour
01bd8ac94c
Move old baserom.gbc 'compare' scripts to tools/
2017-12-15 20:12:00 -05:00
Remy Oukaour
3e5b6322e1
Don't bother supporting numbered lists
2017-12-13 16:57:29 -05:00
Remy Oukaour
feef75c5df
Document more bugs and glitches
...
Add a toc.py script to auto-generate tables of contents in Markdown files
2017-12-13 16:46:31 -05:00
yenatch
543d67b647
Build tools with -O3.
...
This improves build time by about 20%.
2017-09-24 15:08:44 -04:00
yenatch
94577d9553
fix warnings in lzcomp and md5
2017-09-24 01:07:08 -04:00
yenatch
0aee932b5f
Add warnings for tools
2017-09-24 01:07:05 -04:00
yenatch
59a27d5907
tools/gfx: Replace --width with --png
2017-09-24 01:07:02 -04:00
yenatch
50d163895d
Remove comma from png_dimensions usage
2017-08-20 12:33:36 -04:00
yenatch
c719ff4f0b
Fix unused variable warnings
2017-08-20 12:33:12 -04:00
yenatch
885af5e543
Refactor scan_includes
2017-08-20 12:32:15 -04:00
IIMarckus
80888726b9
Check some errors (not enough).
...
malloc can always fail. Check to avoid null dereference.
malloc(0) is well defined but leads to an eventual crash on some systems.
Check it too.
2017-06-29 22:45:30 -06:00
IIMarckus
2ebbe91fe8
Fix uninitialized value.
2017-06-29 22:14:12 -06:00
yenatch
7b3f0693d5
tools: Default to gcc.
...
This gives Cygwin users an easier time at the expense of defaulting to gcc.
2017-06-29 18:26:04 -04:00
SnDream
3c8d034a6f
pokemon_animation's variable is not initialized ( #374 )
2017-06-25 02:49:57 -04:00
yenatch
121e931750
Add tools/gfx and tools/md5 to gitignore
2017-06-24 20:46:11 -04:00
yenatch
5dfe27125b
Merge branch 'master' into tools-makefile-integration
2017-06-24 20:42:25 -04:00
yenatch
1f8bc7772b
Fix insecure fprintf
2017-06-24 19:32:35 -04:00
yenatch
0fbc74a8c7
Fix implicit stdint
2017-06-24 19:02:02 -04:00
yenatch
f03b898250
Add a md5 tool to avoid md5sum dependency.
...
md5sum is missing in macOS and (presumably) BSD.
An alternative would have been to use sha1sum instead, but it's probably
a good idea to have as few dependencies as possible, so this doesn't
happen again.
fixes #364
2017-06-24 18:42:28 -04:00
yenatch
ed99a86864
Fix implicit getopt
2017-06-24 16:47:11 -04:00
yenatch
80f7477c33
Fix tools/gfx
2017-06-24 16:42:44 -04:00
yenatch
41ae3610f6
pngs in gfx/fx
...
- gave up on wind.png
- add --remove-yflip
2017-06-24 00:47:55 -04:00
yenatch
1f81d1851f
pngs in gfx/
2017-06-23 19:56:24 -04:00
yenatch
bcb58c2939
Add --interleave to tools/gfx and refactor.
...
For images composed of 8x16 sprites.
The width has to be manually passed in. If this were an rgbgfx feature this would not be necessary.
Fixes 647f9b4452
2017-06-21 23:49:45 -04:00
yenatch
a71005fafa
Remove debug statement from tools/gfx
2017-06-18 00:54:02 -04:00
yenatch
cd3d125861
Add `gfx` tool for graphics postprocessing
2017-06-18 00:09:25 -04:00
Ben10do
848b3ba3ec
Fix warnings about assignments in ‘if’ statements
...
Assignments in ‘if’ statements cause a warning in Clang, asking you to enclose the assignment in brackets (to show that it was intentional).
2017-06-09 22:42:05 +01:00
Ben10do
b34b1a5b0c
Add .gitignore for compiled tools
2017-06-09 22:06:07 +01:00
Ben10do
202cea9705
- Make the tools implicitly when making the ROM
...
- Add a clean target to the tools Makefile
- Run said clean target when cleaning the pokecrystal directory
2017-06-09 21:55:09 +01:00
yenatch
e78034eb8c
Use a separate makefile for tools
...
- Fix crystal11
- Fix a bug where the dependency checks would run regardless of target
Fixes 0bd74cdd73
2017-05-29 19:15:34 -04:00
yenatch
c81a7aa162
pokemon_animation_graphics: remove declarations from for loops
2017-05-28 23:52:23 -04:00
yenatch
d9c329eb3c
pokemon_animation_graphics: stdint.h
2017-05-28 23:49:12 -04:00
yenatch
6cce673501
Fix the pokemon animation tools.
...
Fixed a lot of serious bugs. These tools were not functional.
Also added a --girafarig flag for a special case.
2017-05-28 23:22:10 -04:00
yenatch
fe38946b0e
scan_includes: add --strict so it doesn't have to be default
2017-05-28 01:12:16 -04:00
yenatch
27ba16d827
Fix pokemon_animation_graphics
2017-05-28 01:11:32 -04:00