Commit Graph

863 Commits

Author SHA1 Message Date
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
yenatch
90af5b2a5e dump and incbin monster palettes 2013-02-07 21:19:38 -05: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
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
yenatch
9acf56102a Split audio engine and pointers into files
Creates folder audio/
2013-02-05 16:48:46 -05:00
yenatch
8902050000 Move VBlank function to a file 2013-02-05 15:40:25 -05:00
yenatch
a058572fd5 Consistent SECTION spacing 2013-02-05 04:25:04 -05:00
yenatch
75ab33b311 Saner file distribution
Moved files from data/ into new folders:
-battle/
-stats/
-trainers/
2013-02-05 03:56:27 -05:00
yenatch
c811b20b65 Move BitTable2 to a file
Currently, rgbasm's maximum macro parameter length is sixteen chars.
A couple wram labels were changed to accomodate this for now.
2013-02-05 03:16:46 -05:00
yenatch
710b7ddd7f Fix box name addresses 2013-02-05 01:20:51 -05:00
yenatch
4d84813798 Split Pokemon names off into a file 2013-02-05 00:42:07 -05:00
yenatch
40b477b442 Split base stats off into a file 2013-02-05 00:39:22 -05:00
yenatch
70fd04dc24 Split pokedex entries off into files 2013-02-05 00:35:16 -05:00
yenatch
45a06d040c Split evos/attacks off into files 2013-02-04 23:59:01 -05:00
yenatch
8d0a9d3e86 Split move list off into a file 2013-02-04 23:26:38 -05:00
yenatch
51afe79d00 Split pokedex orders off into files 2013-02-04 23:26:08 -05:00
yenatch
8137219353 Reformat trainer group data 2013-02-04 21:58:16 -05:00
yenatch
b064312024 Add NONE constant 2013-02-04 21:10:34 -05:00
yenatch
d2d7571e98 Split trainers off into files
The base label has been renamed from TrainerGroupHeader to Group.

Trainer formatting still needs to be fixed.
2013-02-04 20:20:10 -05:00
yenatch
28b56c51bb Split type matchup off into a file
This sets precedent for including constants in context.
2013-02-04 16:22:10 -05:00
yenatch
0935908367 Split wild encounters off into files 2013-02-04 15:47:44 -05:00
yenatch
4108c9eb79 Split egg moves off into files 2013-02-04 15:25:04 -05:00
Bryan Bishop
b6683269b0 Merge pull request #104 from yenatch/master
Even more icons.
2013-02-04 10:00:43 -08:00
yenatch
1e5bcb5268 Some more icon asm 2013-02-04 04:33:53 -05:00
yenatch
b8f4fd6390 Add vram sections to wram, and minor fixes 2013-02-04 04:27:56 -05:00
Bryan Bishop
21429332ef Merge pull request #103 from yenatch/master
Fly / town map.
2013-02-03 21:46:09 -08:00
yenatch
54d4818d4f Fly / town map 2013-02-04 00:39:30 -05:00
Bryan Bishop
57200b6cf7 simplify load_rom in gbz80disasm 2013-02-03 15:18:06 -06:00
Bryan Bishop
82b8b5121a enable labels in gbz80disasm
fixes #102
2013-02-03 15:10:14 -06:00
Bryan Bishop
c788666138 fix git clone instructions 2013-02-03 14:54:59 -06:00
Bryan Bishop
7f0fdb19cd Merge pull request #101 from Sanky/master
Menu icons.
2013-02-03 08:56:41 -08:00
Sanky
a632c8d6b7 Add menu icons. 2013-02-03 11:39:53 +01:00
Bryan Bishop
016174486f Merge pull request #98 from Sanky/master
Assorted menu code, will probably regret this.
2013-02-03 01:46:07 -08:00
Bryan Bishop
f6db9f965a Merge pull request #100 from iimarckus/blackout
Replace some hardcoded addresses with local labels.
2013-02-02 21:41:37 -08:00