summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2018-06-20Silence -Wimplicit-fallthroughRangi
2018-06-07Fix md5.c for Windowsmid-kid
Solves #520
2018-06-05sort_symfile: don't need to use sort -o with a temp fileyenatch
2018-06-05sort_symfile: don't overwrite the symfile with an intermediate fileyenatch
2018-06-03Don’t use GNU extensions when calling sedBen10do
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-04-04Merge pull request #501 from mid-kid/reorgyenatch
Organize the engine/ directory
2018-04-01Fix file permissionsmid-kid
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-03-10Fix scan_includes matching the word "include" in strings.yenatch
2018-01-14ShebangRemy Oukaour
2018-01-01sort the symfile by symbol typeyenatch
2017-12-28rebuild gfx and md5 when common.h changesyenatch
2017-12-28fix unused fread return value warningsyenatch
2017-12-15Move old baserom.gbc 'compare' scripts to tools/Remy Oukaour
2017-12-13Don't bother supporting numbered listsRemy Oukaour
2017-12-13Document more bugs and glitchesRemy Oukaour
Add a toc.py script to auto-generate tables of contents in Markdown files
2017-09-24Build tools with -O3.yenatch
This improves build time by about 20%.
2017-09-24fix warnings in lzcomp and md5yenatch
2017-09-24Add warnings for toolsyenatch
2017-09-24tools/gfx: Replace --width with --pngyenatch
2017-08-20Remove comma from png_dimensions usageyenatch
2017-08-20Fix unused variable warningsyenatch
2017-08-20Refactor scan_includesyenatch
2017-06-29Check some errors (not enough).IIMarckus
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-29Fix uninitialized value.IIMarckus
2017-06-29tools: Default to gcc.yenatch
This gives Cygwin users an easier time at the expense of defaulting to gcc.
2017-06-25pokemon_animation's variable is not initialized (#374)SnDream
2017-06-24Add tools/gfx and tools/md5 to gitignoreyenatch
2017-06-24Merge branch 'master' into tools-makefile-integrationyenatch
2017-06-24Fix insecure fprintfyenatch
2017-06-24Fix implicit stdintyenatch
2017-06-24Add a md5 tool to avoid md5sum dependency.yenatch
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-24Fix implicit getoptyenatch
2017-06-24Fix tools/gfxyenatch
2017-06-24pngs in gfx/fxyenatch
- gave up on wind.png - add --remove-yflip
2017-06-23pngs in gfx/yenatch
2017-06-21Add --interleave to tools/gfx and refactor.yenatch
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 647f9b4452fb166fedbbb987808bb0dae9623db2
2017-06-18Remove debug statement from tools/gfxyenatch
2017-06-18Add `gfx` tool for graphics postprocessingyenatch
2017-06-09Fix warnings about assignments in ‘if’ statementsBen10do
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-09Add .gitignore for compiled toolsBen10do
2017-06-09- Make the tools implicitly when making the ROMBen10do
- Add a clean target to the tools Makefile - Run said clean target when cleaning the pokecrystal directory
2017-05-29Use a separate makefile for toolsyenatch
- Fix crystal11 - Fix a bug where the dependency checks would run regardless of target Fixes 0bd74cdd7341a4cff5da73e1c32ac0d237ec8e08
2017-05-28pokemon_animation_graphics: remove declarations from for loopsyenatch
2017-05-28pokemon_animation_graphics: stdint.hyenatch
2017-05-28Fix the pokemon animation tools.yenatch
Fixed a lot of serious bugs. These tools were not functional. Also added a --girafarig flag for a special case.
2017-05-28scan_includes: add --strict so it doesn't have to be defaultyenatch
2017-05-28Fix pokemon_animation_graphicsyenatch
2017-04-28Refactor scan_includes.yenatch
2016-08-24Add C build tools.yenatch