Commit Graph

1144 Commits

Author SHA1 Message Date
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
yenatch
087e2556f2 Move compressed trainer pics into the main folder 2013-02-09 05:08:56 -05:00
yenatch
76b284c8f0 Dump and include trainer palettes 2013-02-09 04:54:18 -05:00
yenatch
70280c0c3f Add some command-line interfaces for use w/ makefile
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)
2013-02-09 04:36:36 -05:00
Bryan Bishop
706361ea5f use pypng as a dependency 2013-02-07 20:39:25 -06:00
Bryan Bishop
3252348929 Merge pull request #107 from yenatch/master
2bpp to png and png to 2bpp
2013-02-07 18:37:54 -08:00
yenatch
90af5b2a5e dump and incbin monster palettes 2013-02-07 21:19:38 -05:00
Bryan Bishop
2dbfe1598a add swap~ files to .gitignore 2013-02-07 20:11:09 -06:00
yenatch
da205909c0 implement png import/export
palette export works fine, but palette import is disabled for now
2013-02-07 21:03:19 -05:00
Bryan Bishop
dd2e702aef Merge pull request #106 from yenatch/master
Update gfx.py with things.
2013-02-07 02:00:59 -08:00
yenatch
4d44c2c0e6 Condense pic dimensions table 2013-02-06 02:09:57 -05:00
Bryan Bishop
08e4590c98 Merge pull request #105 from yenatch/master
Move some things out of main.asm.
2013-02-05 17:56:17 -08:00
yenatch
f2e5173e51 Create individual pokedex entry files 2013-02-05 19:29:20 -05:00
yenatch
034609e725 Split pic pointers into files 2013-02-05 18:28:45 -05:00
yenatch
e1b1f88645 Rename pokedex entry files 2013-02-05 18:13:19 -05:00
yenatch
31a907d7c7 Move music/ into audio/ 2013-02-05 18:08:20 -05:00
yenatch
ff5bd60966 Clean up and condense music includes 2013-02-05 18:00:32 -05:00