Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-15 | gfx: Transpose blocks of images instead of only the first block. | yenatch | |
This allows transposed images to be grouped together (e.g. animations). | |||
2014-04-14 | Clearer explanation for porting ↵ | yenatch | |
https://github.com/magical/pokemon-sprites-rby to python 2.7. | |||
2014-04-06 | Optimize pic compression to be 50% faster. | yenatch | |
2014-04-05 | gfx: Don't pad images smaller than a tile. | yenatch | |
Also fix a bug where images smaller than a tile are not converted at all. | |||
2014-04-05 | Add "norepeat" and "arrange" image attributes. | yenatch | |
Eliminates repeated tiles and also spits out a tilemap respectively. One-way for now. Likely to be used in pokered, but useful in its own right. | |||
2014-04-05 | 1:1 conversion for pics. | yenatch | |
2014-04-03 | pokered: pic de/compression. | yenatch | |
2014-03-31 | Merge pull request #71 from yenatch/gfx | Bryan Bishop | |
Image metadata and simpler gfx.py usage | |||
2014-03-29 | Merge pull request #70 from yenatch/master | Bryan Bishop | |
Straightforward label handling in crystal.py. | |||
2014-03-28 | gfx: Redo command-line interface, format handling, filename arguments. | yenatch | |
- Use argparse and less redundant commands. - Make .lz independent of content. Allows tilemaps to not be images. - Add .[w]x[h] filename argument for transposed images. - Add .interleave filename argument for 8x16 sprites. - Refactor some conversion code. | |||
2014-03-23 | gfx: Prefer heights not divisible by 8, rather than forcing them. | yenatch | |
Some images do not occupy a full tile. In pokered, gfx/minimize_pic.1bpp is 8x5. This is still rectangular. Previously, converting this image would cause an error. | |||
2014-03-23 | gfx: Read image metadata from filenames where applicable. | yenatch | |
png has some incompatibilities with 2bpp. Among them: - 2bpp is tiled, and can be arranged arbitrarily - 2bpp does not have associated palette data - png must be rectangular - png must have specific dimensions The requirements for an image vary, and are unwritten. One conversion method will not work for all images. To resolve these conflicts metadata can be attached to images and related data. So as to not create additional files without changing the file content, the filename is used. Usage: metadata is defined as pseudoextensions. .w<width> - force width to <width> px .h<height> - force height to <height> px .t<num> - pad the image by <num> tiles so the resulting png can be rectangular - remove said tiles when converting back to 2bpp Example: gfx/title/logo.w160.t4.{lz,2bpp,png} - width 160px - pad by 4 tiles | |||
2014-03-23 | get_label_for: Return a label or None. | yenatch | |
Don't return an address and call it a label. | |||
2014-03-23 | get_ram_label: Setup wram labels if they haven't been already. | yenatch | |
2014-03-23 | PointerLabelParam: Return valid (or at least informative) arguments. | yenatch | |
PointerLabelParam.to_asm() returns a label by default. If no label exists, instead return a bank and address. This will not compile (maybe it ought to), but it simplifies debugging. | |||
2014-03-06 | Merge pull request #69 from yenatch/master | Bryan Bishop | |
Macro handling in read_bss_sections. | |||
2014-03-07 | Refactor read_bss_sections into a class. | yenatch | |
- Pass a constants dict into eval instead of using globals - Read same-line labels and tokens | |||
2014-03-05 | wram: Interpret rgbasm macros and fix token logic. | yenatch | |
This doesn't read same-line tokens after labels yet. | |||
2014-02-06 | Merge pull request #68 from yenatch/master | Bryan Bishop | |
crystal: use a 16-bit PokemonParam for event scripting command `cry` | |||
2014-02-06 | crystal: use a 16-bit PokemonParam for event scripting command `cry` | yenatch | |
fixes 2a44f6e4 | |||
2014-02-06 | Merge pull request #66 from yenatch/noise | Bryan Bishop | |
Dump and format all types of sound data correctly. | |||
2014-02-06 | Merge pull request #67 from yenatch/merge-old-commits | Bryan Bishop | |
Merge some older commits that never made it into pull requests | |||
2014-02-06 | Merge branch 'kanzure/master' into merge-old-commits | yenatch | |
Conflicts: pokemontools/map_editor.py | |||
2014-02-06 | audio: Import sound names outside of functions | yenatch | |
2014-02-06 | audio: Docstrings for functions that didn't have any. | yenatch | |
2014-02-06 | labels: exported labels are labels too | yenatch | |
2014-02-06 | crystal: unknownmusic0xdf -> togglesfx | yenatch | |
2014-02-06 | audio: Don't use underscores in base labels | yenatch | |
2014-02-06 | audio: Add a comment to generate_crystal_sfx_pointers output | yenatch | |
2014-02-06 | audio: parse channel branches independently instead of running past the end | yenatch | |
2014-02-06 | audio: Dump an unknown sound effect | yenatch | |
2014-02-06 | audio: rework sfx dumps and fix incbin insertion | yenatch | |
2014-02-06 | audio: Use generate_label_asm instead of manually creating label asm | yenatch | |
2014-02-06 | audio: Include unreferenced cries in dump_crystal_cries output | yenatch | |
2014-02-06 | audio: Refactor output handling. | yenatch | |
Drastically improves execution time. | |||
2014-02-06 | audio: Distinguish between sound and noise commands | yenatch | |
sound takes a word for frequency, and noise takes a byte | |||
2014-02-05 | audio: Crystal sfx are in a separate clump | yenatch | |
2014-02-05 | sfx_names: UnknownCb to UnknownCB | yenatch | |
2014-02-05 | audio: Clean up output and fix sfx handling | yenatch | |
2014-02-05 | sfx_names: 1St, 2Nd to 1st, 2nd | yenatch | |
2014-01-22 | Merge pull request #65 from yenatch/rgbasm-equs | Bryan Bishop | |
preprocessor: rgbasm "EQUS" takes string literals | |||
2014-01-19 | preprocessor: rgbasm "EQUS" takes string literals | yenatch | |
2013-12-29 | Merge pull request #63 from yenatch/map-editor-saving | Bryan Bishop | |
map_editor: allow saving new maps + save file dialog | |||
2013-12-29 | gfx: touch exported lz files so they don't get remade | yenatch | |
2013-12-29 | map_editor: allow saving new maps + save file dialog | yenatch | |
saves to newmap.asm by default | |||
2013-12-28 | Merge pull request #62 from yenatch/battle-animations | Bryan Bishop | |
* event command macro storetext actually took one param * PointerLabel{Before,After}Bank now take a label instead of the redundant BANK(label), label * use the from_asm() method for all macros * no more macro logic in the preprocessor * read and write RGB macros for palettes instead of binary chunks * battle animation macros | |||
2013-12-28 | audio: use labels.line_has_label and clean up crystal imports | yenatch | |
2013-12-28 | audio: note duration from 0-15 to 1-16 to match pokered | yenatch | |
2013-12-28 | audio: fix Noise and size handling for nybble params | yenatch | |
2013-12-27 | don't use children functions in sort_asms | yenatch | |