Commit Graph

1269 Commits

Author SHA1 Message Date
luckytyphlosion
652269b739
Final readme edit reflecting repository status. 2022-12-16 18:41:38 -05:00
luckytyphlosion
75bf6f7930
Update README to reflect the repository's status. 2022-12-16 18:39:24 -05:00
dannye
5e0715f257 Add yellow sfx to red audio tools 2020-05-25 18:56:18 -05:00
dannye
c1a67e680d Add new crystal audio dump script
and update red audio scripts
2020-05-05 19:27:59 -05:00
dannye
a28e6f460d Rewrite redsfxheaders.py 2019-08-25 10:55:38 -05:00
dannye
92496615f0 Rewrite redsfxdisasm.py 2019-08-25 10:18:49 -05:00
dannye
37b9310dcb Rewrite redmusicdisasm.py 2019-08-18 23:32:36 -05:00
dannye
be6d6c9ce9 Update squarenote and noisenote parameters 2018-03-16 20:36:39 -05:00
dannye
2425a662d7 Update sfx macro names and pitchenvelope parameters 2018-03-16 18:06:26 -05:00
yenatch
979c98a7c0 Merge pull request #103 from eevee/py3
Python 3 compatibility, sort of, maybe
2017-02-13 18:09:31 -05:00
Eevee
766dea11bd Merge pull request #1 from pret/py3-continued
More python3-related changes
2016-08-31 10:43:47 -07:00
Bryan Bishop
080bbf00ff some python3-specific changes 2016-08-29 15:13:18 -05:00
Bryan Bishop
85ee624293 import unittest.mock as mock 2016-08-27 19:14:32 -05:00
Bryan Bishop
30ec94681f Merge branch 'master' into py3-continued
Conflicts:
	pokemontools/crystal.py
2016-08-27 19:12:23 -05:00
Bryan Bishop
74c620d01a Merge pull request #104 from pret/make-tests-mostly-work
Make tests mostly work
2016-08-27 18:58:05 -05:00
Bryan Bishop
92e1ef72d9 fix many failing tests 2016-08-27 12:26:57 -05:00
Eevee (Lexy Munroe)
857c18b6d1 py3ize gfx
Mostly division.  Also cleaned up a couple uses of bare open().
2016-08-24 17:44:28 -07:00
Eevee (Lexy Munroe)
ceddb579b0 Cut pokeyellow build time in half by nuking __init__.py
Turns out that uselessly importing the 7300-line crystal.py on every
single invocation adds up!
2016-08-24 17:34:01 -07:00
Eevee (Lexy Munroe)
89c054a265 Clean up scan_includes a bit
- Use the with statement, so it works with pypy (dies with "too many
  open files" otherwise)

- Nuke dem tabs

- Get rid of the global, yikes
2016-08-24 17:10:04 -07:00
Eevee (Lexy Munroe)
30c2048b14 Make crystal use new-style classes on py2 2016-08-24 16:18:46 -07:00
Eevee (Lexy Munroe)
82f9226df7 py3ize pcm 2016-08-24 16:15:40 -07:00
Eevee (Lexy Munroe)
39c0d6d94b Fix enough py3 issues for pokeyellow to finish building
Mostly xrange (screw it, just use range), spurious tabs, and division.
2016-08-24 16:05:49 -07:00
Eevee (Lexy Munroe)
c71e7dd977 Remove use of new.classobj 2016-08-24 15:54:41 -07:00
Eevee (Lexy Munroe)
a64657988a Fix most Python 3 compat issues with futurize --stage1 2016-08-24 15:43:15 -07:00
luckytyphlosion
0e1798937a Merge pull request #100 from luckytyphlosion/master
Variable typo
2016-05-30 20:07:21 -04:00
luckytyphlosion
f286f17bde Variable typo 2016-05-30 19:59:25 -04:00
luckytyphlosion
426c6b8637 Merge pull request #99 from luckytyphlosion/master
Heavily refactor gbz80disasm.py (todo: unittests)
2016-05-30 19:30:23 -04:00
luckytyphlosion
6d983352cb Comment gbz80disasm.py 2016-05-28 19:07:00 -04:00
luckytyphlosion
39fc0a33ce Heavily rework gbz80disasm.py 2016-05-28 18:08:43 -04:00
yenatch
1ec1ca10d2 Remove broken dependencies from gbz80disasm.py.
gbz80disasm now reads baserom.sym (optional) and gbhw.asm (optional).
2016-05-23 16:20:28 -04:00
Tauwasser
e46b63cca2 gfx.py: PNGs should be opened in binary mode
PNG files were opened as text files, thus the signature 0x0D 0x0A bytes were swallowed depending on OS.

Signed-off-by: Tauwasser <tauwasser@gmail.com>
2016-04-27 00:17:42 -04:00
yenatch
2ae1ae2f19 Forgot to move a related import in 050b05e5. 2016-04-10 19:23:29 -04:00
yenatch
050b05e5ce Accidentally moved get_pic_animation out of gfx.py. 2016-04-10 19:08:07 -04:00
dannye
dfe6571774 Merge branch 'master' of https://github.com/pret/pokemon-reverse-engineering-tools 2016-02-26 09:52:06 -06:00
dannye
504ca96bba pokemontools now works with tcg 2016-02-26 09:51:55 -06:00
yenatch
68edf51f10 Include pypng. 2016-02-17 16:32:34 -05:00
yenatch
9644160b87 Don't pointlessly traverse files that are already done. 2016-01-28 23:20:29 -05:00
yenatch
0b156e7bd6 Don't traverse includes that are commented out. 2016-01-28 23:20:10 -05:00
yenatch
90a3365a80 Remove the graphics dump code from gfx.py. 2016-01-28 21:34:38 -05:00
yenatch
8ed04a61e0 Rewrite scan_includes. 2016-01-28 20:44:49 -05:00
yenatch
adbc204d74 Stub Compressed.find_lookback. 2016-01-20 10:41:43 -08:00
Marcus Huderle
fd08d3926b Only read samples from first .wav channel when converting to pcm. 2015-11-07 10:39:57 -08:00
Marcus Huderle
965dd32443 Fix average sample calculation in wav-to-pcm conversion. 2015-11-04 20:20:06 -08:00
yenatch
1514042dac Merge pull request #96 from yenatch/master
Fix condense_tiles_to_map.
2015-10-24 21:22:10 -04:00
yenatch
119245c5e9 Actually call the newly created condense_image_to_map. 2015-10-24 18:05:47 -07:00
yenatch
e6ebf8af07 Fix condense_tiles_to_map. 2015-10-24 16:32:15 -07:00
Marcus Huderle
17ac571efc Support arbitrary sample rates and 2-byte wide samples in wave-to-pcm conversion. 2015-10-22 22:35:25 -07:00
Marcus Huderle
5648b88ec2 Add .wav to pcm converter. 2015-10-21 23:32:18 -07:00
Marcus Huderle
23fb97bf26 Merge pull request #94 from huderlem/master
Read labels from symfile, not mapfile.
2015-10-19 20:35:42 -07:00
Marcus Huderle
7a6efcfdf1 Read labels from symfile, not mapfile. 2015-10-19 20:32:50 -07:00