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
Rangi
865d623846
Remove unused nonmatching files for electro_ball.png and sgb_border.bin
...
electro_ball.png needed to preserve one whitespace tile which tools/gfx would normally remove. Preserving a list of tile indexes has been added as a general feature to tools/gfx.
sgb_border.bin needed to remove the 20x18 center area of $00 bytes. This is achievable with the standard tr utility.
2020-04-08 12:14:37 -04:00
Rangi
9076d63d62
Merge pull request #705 from Rangi42/master
...
Upgrade to rgbds 0.4.0, and do miscellaneous fixes
2020-04-06 12:41:44 -04:00
mid-kid
e225d296b7
Bump tools/unnamed.py to RGBDS object version 13
2020-04-06 14:58:49 +02:00
Rangi
0ee9d7a48b
Upgrade to rgbds 0.4.0
...
- fail for rgbds < 0.4.0
- `rst <Label>`
- `ds <count>, <byte>`
- `shift <N>`
- ASCII "\r"
- Sorted .sym file
2020-04-04 15:15:02 -04:00
Lior Halphon
2af6c63253
Fix bad round, memset VLA
2020-04-02 22:02:20 +03:00
Lior Halphon
79f3f3f4d5
Indentation conventions, use C99 variable length arrays
2020-04-02 21:10:20 +03:00
Lior Halphon
7878dd6d4b
Fix several out-of-bound reads; fix a memory leak
2020-04-02 20:59:19 +03:00
Rangi
c87f8512a4
Add tools/used_space.py to visualize the ROM based on the .map file
2020-03-11 17:10:06 -04:00
Rangi
8eba39dd52
Add tools/used_space.py to visualize the ROM based on the .map file
2020-03-11 15:06:34 -04:00
mid-kid
9a927c1b3e
Merge pull request #685 from mid-kid/master
...
Moshi moshi? minoru enhansumentsu desu
2020-02-21 21:11:36 +01:00
mid-kid
18013b468a
Fix tools/unnamed.py for new rgbds object format
2020-02-21 01:48:17 +01:00
mid-kid
9f2c2627f5
Make tools/sort_symfile.sh case insensitive
...
Development versions of rgblink now output lowercase
2020-02-13 18:31:10 +01:00
mid-kid
24c058bc0a
Fix tools/unnamed.py for new rgbds object format
2020-02-04 23:19:41 +01:00
mid-kid
54b87ecea8
Document in-battle move selection menu scrolling glitch
...
What a mouthful...
2019-06-09 00:17:35 +02:00
Rangi
1e5c95d8d4
Silence gcc warnings, even in Travis
...
-Wno-missing-field-initializers is needed because of false positives over {0} initialization
2019-02-16 16:24:47 -05:00
Rangi
8577d78f4d
Merge pull request #599 from mid-kid/master
...
Add tool to find unnamed symbols: Take 2
2019-02-09 18:35:39 -05:00
mid-kid
1bc1673794
Fix python 3.6 support for unnamed.py
2019-02-10 00:17:19 +01:00
mid-kid
9fde0912c3
unnamed.py: Add completion percentage
...
People love percentages. Gotta show our powerlevel.
2019-01-01 11:41:48 +01:00
Rangi
583838a39d
Make tools/gfx.py executable
2018-12-31 18:55:35 -05:00
mid-kid
3b97a15ea3
Add tool to find unnamed symbols
...
This tool should help us identify which are the symbols that still need
proper names, and in which files they're located.
2019-01-01 00:28:51 +01:00
Rangi
e3bc378492
Keep gfx.py with other tools, and remove its dependency on the 'extras' submodule
2018-12-31 17:17:55 -05:00
mid-kid
0af682d38a
chmod +x tools/free_space.awk
2018-11-05 22:26:18 +01:00
luckytyphlosion
850ef245f3
Fix toc.py line endings (for travis-ci)
2018-09-20 11:32:53 -04:00
Rangi
eb1e3636bb
Use labels instead of constants for HRAM
...
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-25 14:28:22 -04:00
Rangi
ca08ffce6e
Avoid warnings from gcc without having to silence them all
2018-08-18 22:42:46 -04:00
aaaaaa123456789
5a55d629e1
Update lzcomp to the latest version and fix Makefiles accordingly
2018-08-04 23:43:59 -03:00
Rangi
e90857dea1
Add tools/free_space.awk
2018-07-17 20:07:39 -04:00
Rangi
462bae31d9
Silence -Wimplicit-fallthrough
2018-06-20 22:14:50 -04:00
mid-kid
ef5e4e43c7
Fix md5.c for Windows
...
Solves #520
2018-06-07 13:37:11 +02:00
yenatch
e58688c09b
sort_symfile: don't need to use sort -o with a temp file
2018-06-05 07:22:25 -04:00
yenatch
1baea408e2
sort_symfile: don't overwrite the symfile with an intermediate file
2018-06-05 07:15:16 -04:00
Ben10do
2dd2ec97f1
Don’t use GNU extensions when calling sed
...
Apparently, GNU sed has a few extensions that aren’t supported by the version of BSD sed that currently comes with Macs.
This would cause sort_symfile.sh to fail on macOS, causing the build to appear to fail at the last minute.
Admittedly, I’m not very familiar with sed, but this seems to do the trick on both macOS and Ubuntu.
- The input file must be last in the arguments list.
- The -i option, allowing the same file for input and output, doesn’t appear to be supported. Instead, I’m writing the output to a temporary file, and replacing the original file with that temporary file.
- Apparently ‘\w’ isn’t supported, so I’m simply using ‘.’ instead, as it appears to match “0_ROM0@” etc. just as well.
2018-06-03 16:24:23 +01:00
yenatch
fe4377ce53
Merge pull request #501 from mid-kid/reorg
...
Organize the engine/ directory
2018-04-04 21:04:14 -04:00
mid-kid
81fff9bb80
Fix file permissions
...
I have no idea why this was a thing (do people store this repo on FAT32
flash drives or something?), but quite a bit of files had a permission
of 755. This isn't really a problem, but it's inconsistent and weird.
2018-04-01 17:05:10 +02:00
yenatch
8efa0dcfb0
Fix scan_includes matching the word "include" in strings.
2018-03-10 18:20:31 -05:00
Remy Oukaour
346a93c00f
Shebang
2018-01-14 23:51:24 -05:00
yenatch
f185cc9b77
sort the symfile by symbol type
2018-01-01 22:40:35 -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
yenatch
b78ba89f5f
Refactor scan_includes.
2017-04-28 01:41:06 -04:00
yenatch
2ab468268a
Add C build tools.
2016-08-24 21:56:07 -04:00