Commit Graph

751 Commits

Author SHA1 Message Date
Bryan Bishop
e74f9833a1 update pokered_dir.py to use cwd for path
This will be fixed when redtools is merged into the rest of the junk,
but for now the path will just be the cwd.

This is necessary for pokered gbz80disasm.
2013-09-11 10:53:49 -05:00
Bryan Bishop
50341bae50 Merge pull request #21 from kanzure/vba-automation
Start moving away from jvm/jython.
2013-09-10 21:18:30 -07:00
Bryan Bishop
42c7b03483 Merge branch 'master' into vba-automation 2013-09-10 23:16:55 -05:00
Bryan Bishop
cb65c31968 Merge pull request #22 from kanzure/ignore-build
add build/ to .gitignore
2013-09-09 00:26:18 -07:00
Bryan Bishop
052fde28ca remove the old vba filenames from MANIFEST.in 2013-09-09 02:18:01 -05:00
Bryan Bishop
98defaf9f2 remove the Recording junk
That should go into vba_wrapper if it turns out to be important.
2013-09-09 02:10:01 -05:00
Bryan Bishop
f0dece5d53 add build/ to .gitignore 2013-09-09 02:08:17 -05:00
Bryan Bishop
1caffffa38 vba_autoplayer.py -> autoplayer.py 2013-09-09 02:06:30 -05:00
Bryan Bishop
54057bc762 strip out jython garbage from vba.py 2013-09-09 02:04:47 -05:00
Bryan Bishop
709850fff5 fix keyboard.data path in keyboard.py 2013-09-09 02:02:45 -05:00
Bryan Bishop
cdf1b82fad keyboard needs os 2013-09-09 01:59:58 -05:00
Bryan Bishop
e88a4767e9 some config defaults taken from vba stuff 2013-09-09 00:27:26 -05:00
Bryan Bishop
fa966f7a3f remove some TODOs 2013-09-09 00:21:54 -05:00
Bryan Bishop
55af0392e1 remove vba_config and just use pokemontools.config 2013-09-09 00:20:37 -05:00
Bryan Bishop
fab1b4ce20 encoding -> coding in python headers 2013-09-09 00:18:27 -05:00
Bryan Bishop
8b307f116a remove jython shebangs 2013-09-09 00:17:40 -05:00
Bryan Bishop
5d41f8a91d move vba_keyboard.py -> keyboard.py 2013-09-09 00:12:34 -05:00
Bryan Bishop
815266f03f fix path in vba_keyboard.py 2013-09-09 00:11:54 -05:00
Bryan Bishop
e593f680c2 encoding -> coding in header 2013-09-08 23:05:19 -05:00
Bryan Bishop
c6ee12ed1d split keyboard graph data from the python file
The keyboard.data file has the information necessary to reconstruct the
graph of the keyboard that appears in pokecrystal.
2013-09-08 23:03:44 -05:00
Bryan Bishop
0eb5468d22 fix some imports in pokemontools/vba/vba.py
This file is meant to be run while under jython, so it's not completely
fair to run it through python2.7 when testing. But whatever.
2013-09-08 22:55:25 -05:00
Bryan Bishop
37b9c79b4c fix some imports in test_vba.py 2013-09-08 22:54:39 -05:00
Bryan Bishop
bde8f7670a vba_tests.py -> test_vba.py
This matches the other filenames in the tests/ directory.
2013-09-08 22:53:18 -05:00
Bryan Bishop
72cdd7ba64 move vba/ -> pokemontools/vba/ 2013-09-08 22:52:50 -05:00
Bryan Bishop
5ce5342833 require vba_wrapper from pypi 2013-09-08 22:49:39 -05:00
Bryan Bishop
baf8c7f046 Merge branch 'master' into vba-automation 2013-09-08 22:48:29 -05:00
Bryan Bishop
87ab004d70 Merge pull request #19 from kanzure/vba-automation
More VBA automation.
2013-09-08 17:11:17 -07:00
Bryan Bishop
138637d8f3 move vba tools into vba/ 2013-09-08 11:06:13 -05:00
Bryan Bishop
15c04c9885 crude tests for the vba automation software 2013-09-08 02:01:47 -05:00
Bryan Bishop
11f86368a4 Merge branch 'master' into vba-automation 2013-09-08 02:01:37 -05:00
Bryan Bishop
c5983b0ddc Merge pull request #20 from kanzure/fix-labels
Fix an import in labels.py
2013-09-07 21:48:53 -07:00
Bryan Bishop
a6fc205a16 fix logging import in labels.py 2013-09-07 23:46:34 -05:00
Bryan Bishop
c83291b0d0 redo the vba autoplayer
This rewrites the basic methods to use the new primitives for vba
automation. There are still a number of bugs in here.

Also, the level grinding recursion is broken because there's no method
used to detect whether or not a wild battle is starting.

Waiting for a battle to really end is currently broken.

There's a problem when interacting with radios because of the sound
effect check in text_wait.

There should be unit tests, but there aren't any.
2013-09-07 23:39:26 -05:00
Bryan Bishop
eb669fb19a remove some experimental methods
These methods weren't needed. Turns out the problem was frameskip, these
were just other attempts to try to do movement and text waiting.
2013-09-07 23:38:29 -05:00
Bryan Bishop
92a4be1776 better vba automation methods 2013-09-07 23:37:05 -05:00
Bryan Bishop
63bd0e4d6f fix grammar in redtools/README.md 2013-09-05 11:07:34 -05:00
Bryan Bishop
d7d4718580 Merge pull request #17 from kanzure/readme-redtools
Basic README for redtools/
2013-09-05 09:05:17 -07:00
Bryan Bishop
8d8d708c32 basic README for redtools/ 2013-09-05 11:03:32 -05:00
Bryan Bishop
ee05e2fe1d Merge pull request #10 from kanzure/config
Configuration for paths
2013-09-04 20:38:11 -07:00
Bryan Bishop
c2712bb90f Merge pull request #11 from kanzure/include-vba-files
Keep vba python files in released versions
2013-09-04 20:37:47 -07:00
Bryan Bishop
129b93b3d2 keep vba python files in released versions 2013-09-04 18:29:12 -05:00
Bryan Bishop
37441a35b1 make gbz80disasm use configuration
gbz80disasm now uses configuration to determine which files to load
before disassembling a chunk of bytes.
2013-09-02 13:25:49 -05:00
Bryan Bishop
5b02c020f4 make wram.py use config for paths
The WRAMProcessor class handles reading all constants and labels, which
are then used in gbz80disasm.
2013-09-02 12:33:03 -05:00
Bryan Bishop
2cf0cfa34d class Preprocessor instead of just functions 2013-09-02 12:33:03 -05:00
Bryan Bishop
6f9ed6a829 basic config support 2013-09-02 12:33:03 -05:00
Bryan Bishop
672d527f9e Merge pull request #9 from kanzure/fix-get_labels_between
Fix "labels" confusion in get_labels_between
2013-09-02 10:30:57 -07:00
Bryan Bishop
580f006a80 fix "labels" confusion in get_labels_between
There was both the labels module and a list called labels. Rename the
local variable to foundlabels instead.
2013-09-02 12:27:58 -05:00
Bryan Bishop
49a51a093c Merge pull request #8 from kanzure/september-cleanup
Minor wram.py fix
2013-09-01 20:20:30 -07:00
Bryan Bishop
021ecb1124 make_wram_labels doesn't need globals now 2013-09-01 22:08:35 -05:00
Bryan Bishop
20ac842b6a Merge branch 'master' into september-cleanup 2013-09-01 22:08:20 -05:00