Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-21 | Fix a modulo by 0 on a default argument to condense_tiles_to_map. | yenatch | |
2015-03-12 | Merge pull request #86 from yenatch/master | Bryan Bishop | |
Refactor the LZ tools and fix BSSReader's eval shenanigans. | |||
2015-03-11 | hotfix: gfx.py doesn't need baserom.gbc to work | yenatch | |
2015-02-11 | Merge remote-tracking branch 'origin/master' | yenatch | |
Conflicts: pokemontools/gfx.py | |||
2015-02-07 | Split the lz compression tools out of gfx.py. | yenatch | |
2015-02-07 | Refactor the compressor again. | yenatch | |
This is a little closer to the target compressor than before. | |||
2015-02-07 | Pointless whitespace tweaks. | yenatch | |
2015-02-07 | Refactor get_pic_animation. | yenatch | |
2015-01-28 | Merge pull request #87 from Sanqui/master | Bryan Bishop | |
Fix parsing arguments, fixes `make pngs` for pokecrystal | |||
2015-01-08 | redrle: reduce code duplication. | IIMarckus | |
2015-01-08 | redrle: Add a -r flag to compress by rows (matching GF's behavior). | IIMarckus | |
2014-12-19 | Fix parsing arguments | Sanky | |
2014-12-03 | Read gfx.yaml for graphics conversion options. | yenatch | |
Keys count both as path nodes and attributes depending on context. An example gfx.yaml: ``` gfx: pics: pal_file: normal.pal pic_dimensions: yes animate: yes stupid_bitmask_hack: [dewgong, lugia] pc: literal_only: yes ``` Here, all graphics matching gfx/pics/.../*.png will use palette gfx/pics/.../normal.pal and be interpreted as animated pics. gfx/pc.2bpp will compress using only the `literal` command. If gfx.yaml doesn't exist, current behavior is unchanged. Filename arguments override yaml. | |||
2014-11-22 | Refactor the Decompressed class and dump/convert pic animations. | yenatch | |
2014-11-02 | Left a scalpel in the patient. | yenatch | |
"whoops" | |||
2014-11-01 | More lenient palette handling. | yenatch | |
Truncate colors in a palette beyond the limit of 4. Make palette sorting more accurate by taking the sum of the hues rather than by luminance. Ultimately, palette order is up to the whim of whoever was drawing in the tile editor at the time, but this is a reasonable estimation. | |||
2014-11-01 | BSSReader: Fix eval inserting __builtins__ into self.constants. | yenatch | |
Eval should really not be used in the first place, but at least it works again. Fixes 82b78e5c7969aebb797f35a58577dd0afb2c2f38, which replaced the constants_to_dict method with BSSReader. | |||
2014-10-28 | Refactor the de/compressor. | yenatch | |
Speed, readability, accuracy and compression are all improved. Also fix an off-by-one error in repeat commands in the compressor. | |||
2014-10-28 | audio: Expose header reads via separate functions. | yenatch | |
2014-10-28 | Fix the output of PointerLabelParam.to_asm. | yenatch | |
Accidentally forgot to zfill either half of pointer_part, which would return malformed addresses. Fixes de39f7c6ff487f02d1914cc4a3260817287207c5. | |||
2014-10-02 | Merge pull request #83 from yenatch/fix-map-editor | Bryan Bishop | |
Fix the map editor. | |||
2014-10-02 | map_editor: Fix automatic graphics decompression. | yenatch | |
2014-10-02 | Merge remote-tracking branch 'origin/master' into fix-map-editor | yenatch | |
2014-10-02 | Fix the map editor. | yenatch | |
The map editor can now be invoked in ipython: import extras.pokemontools.map_editor as ed app = ed.init() Then <app> can be modified on the fly to make up for lacking functionality. Also see app.map.crop(). Now works with all maps in both Red and Crystal. The version defaults to Crystal. To use with pokered, invoke from the command line: python extras/pokemontools/map_editor.py red Or in ipython: import extras.pokemontools.map_editor as ed app = ed.init(version='red') Also displays connections, but they're unaligned. | |||
2014-10-02 | BSSReader now reads constants and variables. | yenatch | |
This lets the map editor do cool things. | |||
2014-09-24 | Merge pull request #82 from yenatch/master | Bryan Bishop | |
Rewrite scan_includes.py. Add include paths. | |||
2014-09-24 | Add docstrings for IncludeReader methods. | yenatch | |
2014-09-24 | Rewrite scan_includes.py. Add include paths. | yenatch | |
2014-07-23 | Merge pull request #81 from yenatch/master | Bryan Bishop | |
Event commands "name" and "trainerclassname" take another argument. | |||
2014-07-22 | Event commands "name" and "trainerclassname" take another argument. | yenatch | |
2014-07-22 | Merge pull request #80 from yenatch/master | Bryan Bishop | |
loadwilddata takes 3 params, and fix engine flag parsing. | |||
2014-07-22 | Merge remote-tracking branch 'kanzure/master' | yenatch | |
2014-07-22 | Event command loadwilddata takes a third argument. | yenatch | |
2014-07-22 | The checkflag command family uses engine flags. | yenatch | |
2014-06-24 | Merge pull request #79 from dannye/master | Bryan Bishop | |
Update Red music commands | |||
2014-06-15 | gfx: Let .wxh filename arguments exceed 9. | yenatch | |
Nothing needs this yet, but chances are it'll happen. | |||
2014-06-10 | Update Red music commands | U-Fish-PC\Daniel | |
2014-06-02 | Merge pull request #78 from yenatch/master | Bryan Bishop | |
Refactor gfx.py with bytearrays, fix graphics dumps, rewrite the compressor. | |||
2014-06-02 | Merge remote-tracking branch 'yenatch/master' | yenatch | |
Conflicts: pokemontools/gfx.py | |||
2014-06-02 | Rewrite the lz compressor. | yenatch | |
2014-05-03 | gfx.py: Forgot to add rom_offset. | yenatch | |
2014-05-02 | Refactor gfx.py to use bytearrays. Fix some graphics dumping functions. | yenatch | |
2014-04-28 | Merge pull request #74 from yenatch/master | Bryan Bishop | |
Transpose images by height from 2bpp to png and width from png to 2bpp. | |||
2014-04-28 | Merge pull request #75 from mintpeter/master | Bryan Bishop | |
Make extract_maps.py Python 3 compatible | |||
2014-04-28 | Add import to extract_maps.py for print_function | Zack Marvel | |
2014-04-28 | Change print statements in extract_maps.py for Python 3 compatibility | Zack Marvel | |
2014-04-19 | Transpose images by height from 2bpp to png and width from png to 2bpp. | yenatch | |
Transposing non-square images would work over the expected width, rather than the current width (the expected height). This never came up since transposed images are typically square. | |||
2014-04-16 | gfx: Don't try to load baserom.gbc unless it's actually being used. | yenatch | |
This prevented pokered from building if the file "baserom.gbc" did not exist. | |||
2014-04-14 | Merge pull request #72 from yenatch/pics | Bryan Bishop | |
pokered: pic de/compression. | |||
2014-04-15 | gfx: Decompress graphics that can be converted to png. | yenatch | |
Before, converting a .2bpp.lz file required calling decompress and convert_to_png on the compressed and decompressed files respectively. gfx.py unlz {}.lz gfx.py png {} Putting a .lz file into convert_to_png would raise an exception. Instead, passing compressed graphics into convert_to_png will decompress them first. This skips the (now optional) manual decompress step. |