summaryrefslogtreecommitdiff
path: root/gfx.py
AgeCommit message (Collapse)Author
2013-08-03make a basic python moduleBryan Bishop
2013-08-03remove extra newlines from python filesBryan Bishop
Remove all of the ending newlines at the end of the file, since this is apparently against pep8.
2013-06-25remove extra whitespace in extras/gfx.pyBryan Bishop
original-commit-id: aade38c733d0060be623525e50d2b24e718c7bee
2013-06-25fix function formatting in extras/gfx.pyBryan Bishop
original-commit-id: cc1add094f3cbbbb281d892828ffd1dd6f29f7af
2013-06-23fixed another indent in gfx.pyKat Harrison
original-commit-id: 72fbe86c7aee557282322666c1c3a25fbe964b0b
2013-06-23fixed indentscogitokat
original-commit-id: 95369248f4400ea01b2f11216286c71bc515fe69
2013-06-23convert indents to 4 spaces in gfx.pycogitokat
indents were previously 8 spaces original-commit-id: 0b5885e1a96e9242fc31d9fdbfaf9c7c6097dd19
2013-06-23more docstring/indent fixes in gfx.pycogitokat
original-commit-id: a60bf1690146cfd052f028334c652618b752a39c
2013-06-23more gfx.py docstring changescogitokat
original-commit-id: 3ee5295ee3ff5868b346246e56cadf0b5b47a043
2013-06-23Change bad indents in extras/gfx.pycogitokat
original-commit-id: 60b52a8cf0ab9714419796a981b85992930f3d31
2013-06-23Edit some docstrings in /extras.Kat Harrison
original-commit-id: 1120eaaaf54afe16600c7b5f665edcbc621fde0f
2013-06-13gfx: return mass-decompress commandyenatch
still reqd by make pngs original-commit-id: bbed370d84e1721fc78c008bc5122776703f0f41
2013-06-12expand shortened palettesyenatch
rather than keep up inconsistent palette formats, just incbin a portion of each original-commit-id: 6ba758aa53bbf14e2c152fd88f786a501f6bb029
2013-06-12gfx: workable command line functionsyenatch
original-commit-id: 5803db714c348574e09e428b79aa2c66531e74f5
2013-06-12gfx: palette checking in to_pngyenatch
original-commit-id: b06c96e4d2d9e365544f8abba9392752178a8fcd
2013-06-12fix palette functions and output palettes in 2bpp conversionyenatch
original-commit-id: 5d204ce5692c06f9b48bbad0fe1e42107bdf5231
2013-06-12gfx: handling for <4-color pngs when converting to 2bppyenatch
without a .pal file as reference, palettes are sorted by luminance. pokemon crystal reads palettes exactly 4 colors in length. if an image used fewer than 4 colors, invalid palettes were produced. instead, dummy colors are inserted to pad out the palette. original-commit-id: 5cf1754b08aa6903f01b839c917169e6dc8c260f
2013-05-18gfx: safer alternating-byte detection in compressionyenatch
original-commit-id: e3565bd7007b194b04ceecaf1909fff65062211f
2013-05-18gfx: fix a typoyenatch
original-commit-id: 77e365d49ffc6caa5364b405a263e4a43938def1
2013-05-18gfx: lz to png from command lineyenatch
original-commit-id: 604cafc27859700e45f4c54237b54f3c584cf458
2013-05-18gfx.py: remove trailing tabsyenatch
original-commit-id: a1b9fdc9c92279bef7383e8c8278934ca2889de8
2013-05-18gfx.py: get rid of argparseyenatch
original-commit-id: abaed2145fbf982a4873e186e964ce0435fb3ce0
2013-05-17fix data-handling errors in gfx.pyyenatch
original-commit-id: 3a0e80932ec11494407ea5a3aa7724007b71502b
2013-05-12there is no os.touchyenatch
original-commit-id: 05ceafe614def25e599f839bd86d03292fdbc5b0
2013-05-11touch graphic files during decmp so make doesnt try to replace themyenatch
original-commit-id: a85077eb4f8a153cbe8fd00f59943b715536045e
2013-03-20Merge pull request #124 from yenatch/masterBryan Bishop
hram labels + png make target original-commit-id: 1abb020335e89ace4f51e1c81902e9bbe95c6af2
2013-03-18fix path handling in png make targetyenatch
lz files were being decompressed to the top directory (gfx/) original-commit-id: b570c4d6e660ffe36427a29ee34f87298b77bfda
2013-03-18dump tileset pngs in gfx.pyBryan Bishop
original-commit-id: e0e902b1c7612a582a945fd4b0bb31e3b19d5945
2013-02-12Export any detected palettes to png by defaultyenatch
Checks for any palette using the same name as the 2bpp file. original-commit-id: 7f7f4612404b6c898d4cb50fb4468580dbd46910
2013-02-12Fix png export orientationyenatch
A quirk of the Decompressed class dissociated the orientation from the output attribute. The makefile no longer suppresses output since it's still relevant. original-commit-id: ad0578fda0aec42c28e3db26bbf68d06aa19f63e
2013-02-11Finish off make target for png generationyenatch
Now any existing lz files are converted to 2bpp, and all 2bpp files are converted to png. original-commit-id: 0b8c5ef75b69521ccbd3e9b30431fba0ba2d569e
2013-02-11better dimension handling in 2bpp->pngyenatch
original-commit-id: 98d8914b62750ea7575a5c16ce954cc0bbedb825
2013-02-11Add build target to mass-generate pngs from 2bpp filesyenatch
original-commit-id: d1172e1fb67fe8bd9c33cc4ab0d45905167d4c53
2013-02-11Infrastructure to dump pngs for 2bpp graphicsyenatch
original-commit-id: 80600f929193208e435e6ce833e4207a6cd5a382
2013-02-09Don't try to convert empty 2bpp filesyenatch
Also, make non-square images 1 tile wide Minor path fixes and cleanup original-commit-id: e7762890aac4da72e75c7e7365c1cd924dadbc85
2013-02-09Add some command-line interfaces for use w/ makefileyenatch
Extras: -function to dump trainer pals -fix testing leftover in a compression function -keep load_rom() from getting in the way (relative address breaks extras) original-commit-id: 70280c0c3f64e41edaed8d2726c6472bec395f55
2013-02-07implement png import/exportyenatch
palette export works fine, but palette import is disabled for now original-commit-id: da205909c056fd2299fec5bc546999929192a629
2013-02-06Condense pic dimensions tableyenatch
original-commit-id: 4d44c2c0e64d7e1eed97fe1b246638c251d00972
2013-01-22update gfx.py to reflect new structureyenatch
original-commit-id: cd0f71730583f7db1e81549d0269fa38ea315ac9
2013-01-13make careless use of gfx.py less fatalyenatch
original-commit-id: 9fbe7ea42390e7a0d6a1288f076d7951ce66b5eb
2013-01-13implement rgb macro for palettesyenatch
original-commit-id: 238f40602479c43954916a967523d0a873cdd92b
2013-01-04include all compressed and decompressed graphicsyenatch
* frontpics & animation tiles * backpics * trainer pics * attack animation gfx * intro gfx * intro tilemaps * title gfx * tilesets * player backpic * dude backpic * pokegear/town map fixes #33, #34 and #35 original-commit-id: 2cdf7a3688c43766663028cf6e644f13fae4bdf3
2013-01-02allow other files to import gfx.pyyenatch
original-commit-id: e91f41dd3565cd4edfd71d0e3ee9744e99403443
2013-01-01make gfx.py more convenient from command lineyenatch
original-commit-id: 3e953ad7b65f033cc5e29319f34cfd661b24af07
2012-12-31decompress all known gfxyenatch
original-commit-id: a3fe9c00d0c5d0e63c7e64a28d16010f43707d10