Revert bad merge.
"Merge pull request #317 from yenatch/pngs-kind-of" This reverts commit25025d1b6c
, reversing changes made to0d17d4a758
.
@ -13,7 +13,6 @@ 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**:
|
||||||
@ -38,7 +37,6 @@ 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**:
|
||||||
@ -66,7 +64,6 @@ 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**:
|
||||||
@ -91,7 +88,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 && cd pokecrystal && make init"
|
vagrant ssh -c "cd /vagrant && git clone --recursive https://github.com/pret/pokecrystal"
|
||||||
vagrant ssh
|
vagrant ssh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5
Makefile
@ -79,11 +79,6 @@ 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
@ -12,17 +12,12 @@ pics = [
|
|||||||
'gfx/shrink2',
|
'gfx/shrink2',
|
||||||
]
|
]
|
||||||
|
|
||||||
cache = {}
|
base_stats = None
|
||||||
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():
|
||||||
return get_cache('data/base_stats.asm')
|
global base_stats
|
||||||
|
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':
|
||||||
@ -47,7 +42,7 @@ def filepath_rules(filepath):
|
|||||||
pokemon_name = ''
|
pokemon_name = ''
|
||||||
|
|
||||||
if 'gfx/pics/' in filedir:
|
if 'gfx/pics/' in filedir:
|
||||||
pokemon_name = filedir.split('/')[-1]
|
pokemon_name = filedir.split('/')[3]
|
||||||
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:
|
||||||
|
BIN
gfx/overworld/000.2bpp
Normal file
Before Width: | Height: | Size: 300 B |
2
gfx/overworld/001.2bpp
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
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à ðÐüÜþâÿÝ?ýúæ
|
Before Width: | Height: | Size: 373 B |
1
gfx/overworld/002.2bpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
?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
|
Before Width: | Height: | Size: 209 B |
BIN
gfx/overworld/003.2bpp
Normal file
Before Width: | Height: | Size: 300 B |
BIN
gfx/overworld/004.2bpp
Normal file
Before Width: | Height: | Size: 305 B |
BIN
gfx/overworld/005.2bpp
Normal file
Before Width: | Height: | Size: 294 B |
BIN
gfx/overworld/006.2bpp
Normal file
Before Width: | Height: | Size: 321 B |
BIN
gfx/overworld/007.2bpp
Normal file
Before Width: | Height: | Size: 307 B |
7
gfx/overworld/008.2bpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
(7P@oR€€à`0Ðøìþ
|
||||||
|
þöJ?0/9M~^??9???üôœ²~zþüüøœüüü/0PP@€€à`0Ðøôþ
|
||||||
|
þ
|
||||||
|
þ?0_xW~Os?39?>>üúê~òÎüÌ8øœü||>!? ? ?(ÀÀà p<>øüüüdü? üxè¸øäœäüüøðð(7P@oR€€à`0Ðøìþ
|
||||||
|
þöJ?0Oy_~??üòžú~üüøø8ø0ðÀÀ/0P@oP€€à`0Ðøôþ
|
||||||
|
þö
|
||||||
|
?0_x_~Os?3üúú~òÎüÌ8ø0ðÀÀ #<}B@@P€€À@à ðøøøÈø(@>1=#ø(ðÐpð àp<C3A0>ð<EFBFBD>pðàà
|
Before Width: | Height: | Size: 319 B |
BIN
gfx/overworld/009.2bpp
Normal file
Before Width: | Height: | Size: 259 B |
BIN
gfx/overworld/010.2bpp
Normal file
Before Width: | Height: | Size: 309 B |
BIN
gfx/overworld/011.2bpp
Normal file
Before Width: | Height: | Size: 253 B |
BIN
gfx/overworld/012.2bpp
Normal file
Before Width: | Height: | Size: 304 B |
BIN
gfx/overworld/013.2bpp
Normal file
Before Width: | Height: | Size: 281 B |
BIN
gfx/overworld/014.2bpp
Normal file
Before Width: | Height: | Size: 277 B |
BIN
gfx/overworld/015.2bpp
Normal file
Before Width: | Height: | Size: 314 B |
1
gfx/overworld/016.2bpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
"?"?*?O_yְְ0נר<04>$<24>4<EFBFBD>rת<E2808F>/??'>' פ<>ר<18>ה|הָרpנ<70>נ`` ? ? ?@Dְְ0נר<04><04><04>"$??/?/ $<24>Xר<58>פ<EFBFBD>פ˜רpנ<70>נ`` ?DI.?ְְ0נרר<04><04><04>ר
<03>נאאאאא`א`ְְ@ְְְ
|
Before Width: | Height: | Size: 216 B |
BIN
gfx/overworld/017.2bpp
Normal file
Before Width: | Height: | Size: 303 B |
BIN
gfx/overworld/018.2bpp
Normal file
Before Width: | Height: | Size: 298 B |
BIN
gfx/overworld/019.2bpp
Normal file
Before Width: | Height: | Size: 277 B |
BIN
gfx/overworld/020.2bpp
Normal file
Before Width: | Height: | Size: 282 B |
BIN
gfx/overworld/021.2bpp
Normal file
Before Width: | Height: | Size: 276 B |
BIN
gfx/overworld/022.2bpp
Normal file
Before Width: | Height: | Size: 293 B |
BIN
gfx/overworld/023.2bpp
Normal file
Before Width: | Height: | Size: 298 B |
BIN
gfx/overworld/024.2bpp
Normal file
Before Width: | Height: | Size: 350 B |
BIN
gfx/overworld/025.2bpp
Normal file
Before Width: | Height: | Size: 276 B |
2
gfx/overworld/026.2bpp
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
?"='?(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>
|
Before Width: | Height: | Size: 207 B |
BIN
gfx/overworld/027.2bpp
Normal file
Before Width: | Height: | Size: 286 B |
BIN
gfx/overworld/028.2bpp
Normal file
Before Width: | Height: | Size: 274 B |
BIN
gfx/overworld/029.2bpp
Normal file
Before Width: | Height: | Size: 287 B |
BIN
gfx/overworld/030.2bpp
Normal file
Before Width: | Height: | Size: 277 B |
BIN
gfx/overworld/031.2bpp
Normal file
Before Width: | Height: | Size: 233 B |
BIN
gfx/overworld/032.2bpp
Normal file
Before Width: | Height: | Size: 253 B |
BIN
gfx/overworld/033.2bpp
Normal file
Before Width: | Height: | Size: 260 B |
BIN
gfx/overworld/034.2bpp
Normal file
Before Width: | Height: | Size: 286 B |
BIN
gfx/overworld/035.2bpp
Normal file
Before Width: | Height: | Size: 349 B |
BIN
gfx/overworld/036.2bpp
Normal file
Before Width: | Height: | Size: 237 B |
BIN
gfx/overworld/037.2bpp
Normal file
Before Width: | Height: | Size: 254 B |
BIN
gfx/overworld/038.2bpp
Normal file
Before Width: | Height: | Size: 281 B |
BIN
gfx/overworld/039.2bpp
Normal file
Before Width: | Height: | Size: 305 B |
BIN
gfx/overworld/040.2bpp
Normal file
Before Width: | Height: | Size: 283 B |
BIN
gfx/overworld/041.2bpp
Normal file
Before Width: | Height: | Size: 263 B |
BIN
gfx/overworld/042.2bpp
Normal file
Before Width: | Height: | Size: 293 B |
BIN
gfx/overworld/043.2bpp
Normal file
Before Width: | Height: | Size: 296 B |
BIN
gfx/overworld/044.2bpp
Normal file
Before Width: | Height: | Size: 289 B |
1
gfx/overworld/045.2bpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
;>?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>ό|ό|ππ
|
Before Width: | Height: | Size: 264 B |
BIN
gfx/overworld/046.2bpp
Normal file
Before Width: | Height: | Size: 338 B |
BIN
gfx/overworld/047.2bpp
Normal file
Before Width: | Height: | Size: 360 B |