Commit Graph

1260 Commits

Author SHA1 Message Date
Bryan Bishop
2a04c1c20a fix parameters for verbosegiveitem2 definition 2013-02-27 17:22:07 -06:00
Bryan Bishop
d2b464e51d describedecoration is an ender 2013-02-27 17:21:10 -06:00
Bryan Bishop
821d794898 oops, include map_names 2013-02-27 03:01:49 -06:00
Bryan Bishop
ec098d1a03 various helper functions for the vba interface
New vba.py features include:
* get_memory_at
* get_memory_range
* set_memory_at

Also, the "crystal" class has a number of specialty helpers:
* crystal.walk_through_walls
* crystal.get_player_name
* crystal.get_map_name
* crystal.get_xy
* crystal.nstep (which sets memory each step by calling certain
* functions, like walk_through_walls)
* crystal.is_in_battle
* crystal.get_gender
2013-02-26 21:49:54 -06:00
Bryan Bishop
160acfa296 separate map_names into map_names.py 2013-02-26 21:30:24 -06:00
Bryan Bishop
12c8255067 jython bindings to vba-linux/vba-closure (vba-rr)
A bunch of functions and tools to run vba-clojure (a fork of
vba-rerecording specifically for compiling on Linux, bound to the JVM
through JNI).
2013-02-26 02:29:12 -06:00
Bryan Bishop
70a83f811f Merge pull request #116 from yenatch/master
incbins, gfx and credits
2013-02-25 22:34:49 -08:00
yenatch
aa6cd5f7aa Split credits out 2013-02-26 00:51:05 -05:00
yenatch
823b7e3b9d Credits script and parser
This is the first time two wram addresses overlap.
2013-02-26 00:47:46 -05:00
yenatch
13d74188ca Add credit string pointers 2013-02-25 15:47:16 -05:00
yenatch
05def441e8 Include some more gfx 2013-02-25 14:16:59 -05:00
yenatch
49e2cc75a7 requirements filename didn't match install instructions 2013-02-24 18:53:36 -05:00
yenatch
98e623a44a Truncate empty incbins (mostly EOB) 2013-02-24 17:59:38 -05:00
Bryan Bishop
c5bb392e36 Merge pull request #115 from yenatch/master
more bank 0 asm
2013-02-24 02:55:42 -08:00
yenatch
89e2edf1f7 More title screen asm 2013-02-24 04:18:03 -05:00
yenatch
78e0e17e53 finally disassemble FarCall (rst $8) 2013-02-24 04:17:58 -05:00
yenatch
8bbfa54059 PlayCryHeader and related wram 2013-02-23 16:57:25 -05:00
Bryan Bishop
75a4b16a18 Merge pull request #114 from yenatch/master
Split out files and write comments.
2013-02-22 17:51:43 -08:00
yenatch
f56f340ce1 Label hw registers 2013-02-22 20:02:10 -05:00
yenatch
a24b45ff89 Add constants for hardware registers 2013-02-22 20:02:10 -05:00
yenatch
da406973c5 Split out joypad 2013-02-22 20:02:03 -05:00
yenatch
9102b9a498 Move fonts into gfx/misc 2013-02-22 19:53:14 -05:00
yenatch
340e028c49 spruce up CheckUnownLetter 2013-02-18 20:14:30 -05:00
yenatch
fd51a5a3b1 Split magikarp length calcs out 2013-02-18 20:14:25 -05:00
Sanky
5af3f92d90 Merge https://github.com/kanzure/pokecrystal 2013-02-18 09:44:03 +01:00
Bryan Bishop
f860c98d26 Merge pull request #113 from yenatch/master
.. move more things.
2013-02-17 00:42:44 -08:00
yenatch
7e3ae21e53 Split landmarks out 2013-02-17 02:56:50 -05:00
yenatch
23bdfa2b4c Split move names out 2013-02-17 02:45:38 -05:00
yenatch
a2de02b504 Split item names and descriptions from main.asm 2013-02-17 02:42:29 -05:00
yenatch
59f6291afb Split common text out of main.asm 2013-02-17 02:19:49 -05:00
yenatch
48dbfc6333 Split map scripts, text, events from main.asm
The commit we deserve
2013-02-17 01:59:06 -05:00
Bryan Bishop
9761a1a632 Merge pull request #111 from yenatch/master
Move map headers.
2013-02-16 18:44:35 -08:00
yenatch
860d7447f9 Point to map groups instead of their first header 2013-02-15 23:25:29 -05:00
yenatch
b52aa98325 Split map headers and second map headers from main.asm 2013-02-15 22:02:15 -05:00
yenatch
b850636534 Minor rgbasm macro cleanup 2013-02-15 22:01:48 -05:00
yenatch
5447792dd5 Last map header label 2013-02-12 14:58:17 -05:00
Bryan Bishop
2063814b75 Merge pull request #109 from yenatch/master
png export fixes
2013-02-12 00:57:34 -08:00
yenatch
7f7f461240 Export any detected palettes to png by default
Checks for any palette using the same name as the 2bpp file.
2013-02-12 03:40:41 -05:00
yenatch
ad0578fda0 Fix png export orientation
A quirk of the Decompressed class dissociated the orientation from
the output attribute.

The makefile no longer suppresses output since it's still relevant.
2013-02-12 03:31:35 -05:00
Bryan Bishop
b62d644d93 Merge pull request #108 from yenatch/master
png->lz and palettes
2013-02-11 17:40:54 -08:00
yenatch
8b8f7200a9 Clean up the makefile a bit
Simplifies/explains png import
2013-02-11 17:59:54 -05:00
yenatch
0b8c5ef75b Finish off make target for png generation
Now any existing lz files are converted to 2bpp, and all 2bpp files
are converted to png.
2013-02-11 17:59:43 -05:00
yenatch
39171b916d Fix compressed graphics and filestructure
-No more /lz folders.

-Fixed some lz files that didn't have terminators
  An extraction error caused some lz files in gfx/misc/ to lack
  terminators. These slipped through the cracks since they were
  surrounded by incbins calculated from the filesize, and the
  original decompression was done from the baserom, where
  terminators were intact.

  There might be more offending lz files.
2013-02-11 16:59:06 -05:00
yenatch
2a429da419 Remove unnecessary 2bpp files
These can be generated using gfx.py and are non-essential to compile.
This reduces the size of the repository significantly.
2013-02-11 04:24:01 -05:00
yenatch
98d8914b62 better dimension handling in 2bpp->png 2013-02-11 04:13:36 -05:00
yenatch
d1172e1fb6 Add build target to mass-generate pngs from 2bpp files 2013-02-11 04:13:36 -05:00
yenatch
ee347bff48 Dump cry headers 2013-02-11 04:13:31 -05:00
yenatch
80600f9291 Infrastructure to dump pngs for 2bpp graphics 2013-02-11 04:12:59 -05:00
yenatch
e7762890aa Don't try to convert empty 2bpp files
Also, make non-square images 1 tile wide
Minor path fixes and cleanup
2013-02-09 06:26:09 -05:00
yenatch
0b05325e07 Allow png->lz compression in the build process
To enable, append '${IMGFILES}' to line 22:
pokecrystal.o: pokecrystal.asm constants.asm wram.asm ${TEXTFILES} ${IMGFILES}

Also append '${LZFILES}' to line 48:
	rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES} ${LZFILES}
2013-02-09 05:23:39 -05:00