Merge pull request #317 from yenatch/pngs-kind-of

Pokemon and trainer pngs
This commit is contained in:
yenatch 2015-10-26 11:02:26 -04:00
commit 25025d1b6c
827 changed files with 20 additions and 37 deletions

View File

@ -13,6 +13,7 @@ cd ..
git clone --recursive https://github.com/pret/pokecrystal git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal cd pokecrystal
make init
``` ```
To build **pokecrystal.gbc**: To build **pokecrystal.gbc**:
@ -37,6 +38,7 @@ cd ..
git clone --recursive https://github.com/pret/pokecrystal git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal cd pokecrystal
make init
``` ```
To build **pokecrystal.gbc**: To build **pokecrystal.gbc**:
@ -64,6 +66,7 @@ pip install pypng
git clone --recursive https://github.com/pret/pokecrystal git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal cd pokecrystal
make init
``` ```
To build **pokecrystal.gbc**: To build **pokecrystal.gbc**:
@ -88,7 +91,7 @@ mkdir vagrantbox
cd vagrantbox cd vagrantbox
vagrant init pokecrystal vagrant init pokecrystal
vagrant up vagrant up
vagrant ssh -c "cd /vagrant && git clone --recursive https://github.com/pret/pokecrystal" vagrant ssh -c "cd /vagrant && git clone --recursive https://github.com/pret/pokecrystal && cd pokecrystal && make init"
vagrant ssh vagrant ssh
``` ```

View File

@ -79,6 +79,11 @@ pngs:
find . -iname "*.[12]bpp" -exec touch {} \; find . -iname "*.[12]bpp" -exec touch {} \;
find . -iname "*.lz" -exec touch {} \; find . -iname "*.lz" -exec touch {} \;
init:
find . -iname "*.[12]bpp" -exec touch {} \;
find . -iname "*.lz" -exec touch {} \;
%.2bpp: %.png ; $(gfx) 2bpp $< %.2bpp: %.png ; $(gfx) 2bpp $<
%.1bpp: %.png ; $(gfx) 1bpp $< %.1bpp: %.png ; $(gfx) 1bpp $<
%.lz: % ; $(gfx) lz $< %.lz: % ; $(gfx) lz $<

17
gfx.py
View File

@ -12,12 +12,17 @@ pics = [
'gfx/shrink2', 'gfx/shrink2',
] ]
base_stats = None cache = {}
def get_cache(filename):
global cache
cached = cache.get(filename)
if cached == None:
cached = open(filename).read()
cache[filename] = cached
return cached
def get_base_stats(): def get_base_stats():
global base_stats return get_cache('data/base_stats.asm')
if not base_stats:
base_stats = open('data/base_stats.asm').read()
return base_stats
def get_pokemon_dimensions(name): def get_pokemon_dimensions(name):
if name == 'egg': if name == 'egg':
@ -42,7 +47,7 @@ def filepath_rules(filepath):
pokemon_name = '' pokemon_name = ''
if 'gfx/pics/' in filedir: if 'gfx/pics/' in filedir:
pokemon_name = filedir.split('/')[3] pokemon_name = filedir.split('/')[-1]
if pokemon_name.startswith('unown_'): if pokemon_name.startswith('unown_'):
index = filedir.find(pokemon_name) index = filedir.find(pokemon_name)
if index != -1: if index != -1:

Binary file not shown.

BIN
gfx/overworld/000.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

View File

@ -1,2 +0,0 @@
3?<?PBààðøˆøÌü<üþ
þB?2>9OO3>üL|œþòþòü|Høðp€€0?;<_Oààðøø üÜ<þúþò??;7\t?<üüÜìþ:.þü<Øèðp€€8???ààðøì>ÂŒüüüø˜?<?3S¼ÿÿ»|D88ðøhüìþò_ýÿÝ>"?(?!ððøüÄüæþþÿÿ!?9?<OO?>þ&>ÎþòþòÌ|øx@À€€?/?'ððøüüþîÿýÿù5;?.>?þþîöÿÿþøøXè°° ? ?p?)?)ÀÀ àð8Ø|„øøøð0? ?<?3Sÿ¿þ»uM88à ðÐüÜþâÿÝ?ýúæ

BIN
gfx/overworld/001.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

View File

@ -1 +0,0 @@
?7S@oRְְננרררר<D7A8>לֺצJ?3  <0E>ּp°ר¨ר(נ0ָרˆרpp????_Oo_אאננרר<D7A8><D7A8><EFBFBD><EFBFBD>תעצת;7</?+<0E>ל<פ<>װרננטרˆרpp???9ְְננרררר<D7A8><D7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|<7C>  רָp°ר¨ר(נ0ָרˆרpp

BIN
gfx/overworld/002.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

BIN
gfx/overworld/003.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

BIN
gfx/overworld/004.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

BIN
gfx/overworld/005.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

BIN
gfx/overworld/006.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

BIN
gfx/overworld/007.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -1,7 +0,0 @@
 (7P@oR€€à`0Ðøìþ
þöJ?0/9M~^??9???ü ôœ²~zþüüøœüüü /0PP@€€à`0Ðøô þ
þ
þ?0_xW~Os?39?>>ü úê~òÎüÌ8øœü||>!? ? ?(ÀÀà p<>øüüüdü? ü¸øäœäüüøðð (7P@oR€€à`0Ðøìþ
þöJ?0Oy_~??ü òžú~üüøø8ø0ðÀÀ /0P@oP€€à`0Ðøô þ
þö
?0_x_~Os?3ü úú~òÎüÌ8ø0ðÀÀ #<}B@@P€€À@à ðøøøÈø(@>1=#ø(ðÐpð àp<C3A0>ð<EFBFBD>pðàà

BIN
gfx/overworld/008.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

BIN
gfx/overworld/009.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

BIN
gfx/overworld/010.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

BIN
gfx/overworld/011.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

BIN
gfx/overworld/012.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

BIN
gfx/overworld/013.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

BIN
gfx/overworld/014.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

BIN
gfx/overworld/015.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@ -1 +0,0 @@
 "?"?*?O_yְְ0נר<04>$<24>4<EFBFBD>rת<E2808F>/??'>' פ<>ר<18>ה|הָרpנ<70>נ``  ? ? ?@Dְְ0נר<04><04><04>"$??/?/ $<24><58>פ<EFBFBD>פ˜רpנ<70>נ`` ?DI.?ְְ0נרר<04><04><04>ר   <03>נאאאאא`א`ְְ@ְְְ

BIN
gfx/overworld/016.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

BIN
gfx/overworld/017.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

BIN
gfx/overworld/018.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

BIN
gfx/overworld/019.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

BIN
gfx/overworld/020.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

BIN
gfx/overworld/021.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

BIN
gfx/overworld/022.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

BIN
gfx/overworld/023.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

BIN
gfx/overworld/024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

BIN
gfx/overworld/025.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

View File

@ -1,2 +0,0 @@
 ?"='?(HJ<7F><4A><EFBFBD>0<EFBFBD><08>D<EFBFBD><44><EFBFBD><14><12>R?*?$C?% <06>T<EFBFBD>$<24><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>А<EFBFBD>`` ? ? ? @@<40><><EFBFBD>0<EFBFBD><08><04><04><04><02>? ?!C?' <06><04><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>А<EFBFBD>`` <15><><EFBFBD>0<EFBFBD><08><04><04><><EFBFBD><EFBFBD><EFBFBD> 
 <03><02><><EFBFBD><04><02>,<2C><>@<40><><EFBFBD>

BIN
gfx/overworld/026.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

BIN
gfx/overworld/027.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

BIN
gfx/overworld/028.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

BIN
gfx/overworld/029.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

BIN
gfx/overworld/030.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

BIN
gfx/overworld/031.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

BIN
gfx/overworld/032.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

BIN
gfx/overworld/033.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

BIN
gfx/overworld/034.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

BIN
gfx/overworld/035.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

BIN
gfx/overworld/036.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

BIN
gfx/overworld/037.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

BIN
gfx/overworld/038.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

BIN
gfx/overworld/039.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

BIN
gfx/overworld/040.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

BIN
gfx/overworld/041.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

BIN
gfx/overworld/042.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

BIN
gfx/overworld/043.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

BIN
gfx/overworld/044.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

View File

@ -1 +0,0 @@
;>?8ΰΰππψψθψά|όψHψH ?/?(?<p<>ππψθότόό<ψ8ψψ;?=?ΰΰpπΈψΨψάόΌόxψψθ?/_X~πψψότώϊώώ~ψΈψψ>?=3ΐΐΰψθόμώμώμώπόόό ψxπpΰΰπππ<CF80>ψψψψππ;>?8ΰΰππψψθψά|όψHψH ?/?(?<p<>ππψθότόό<ψ8ΰΰ;?=?ΰΰpπΈψΨψάόΌόxψψθ?/_X~πψθότόόψψxπ°ΰΰ>?=3ΐΐΰψθόμώμώμώπόόό  ψxπpΰΰππό<CF80>ό|ό|ππ

BIN
gfx/overworld/045.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

BIN
gfx/overworld/046.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

BIN
gfx/overworld/047.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More