mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Merge pull request #587 from Rangi42/master
Remove dependency on 'extras' submodule
This commit is contained in:
commit
9f82304186
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "extras"]
|
||||
path = extras
|
||||
url = git://github.com/pret/pokemon-reverse-engineering-tools.git
|
29
Makefile
29
Makefile
@ -1,15 +1,3 @@
|
||||
ifeq (,$(shell which sha1sum))
|
||||
SHA1 := shasum
|
||||
else
|
||||
SHA1 := sha1sum
|
||||
endif
|
||||
|
||||
RGBDS ?=
|
||||
RGBASM ?= $(RGBDS)rgbasm
|
||||
RGBFIX ?= $(RGBDS)rgbfix
|
||||
RGBGFX ?= $(RGBDS)rgbgfx
|
||||
RGBLINK ?= $(RGBDS)rgblink
|
||||
|
||||
roms := pokecrystal.gbc pokecrystal11.gbc
|
||||
|
||||
crystal_obj := \
|
||||
@ -31,10 +19,25 @@ lib/mobile/main.o
|
||||
crystal11_obj := $(crystal_obj:.o=11.o)
|
||||
|
||||
|
||||
### Build tools
|
||||
|
||||
ifeq (,$(shell which sha1sum))
|
||||
SHA1 := shasum
|
||||
else
|
||||
SHA1 := sha1sum
|
||||
endif
|
||||
|
||||
RGBDS ?=
|
||||
RGBASM ?= $(RGBDS)rgbasm
|
||||
RGBFIX ?= $(RGBDS)rgbfix
|
||||
RGBGFX ?= $(RGBDS)rgbgfx
|
||||
RGBLINK ?= $(RGBDS)rgblink
|
||||
|
||||
|
||||
### Build targets
|
||||
|
||||
.SUFFIXES:
|
||||
.PHONY: all crystal crystal11 clean compare tools tidy
|
||||
.PHONY: all crystal crystal11 clean tidy compare tools
|
||||
.SECONDEXPANSION:
|
||||
.PRECIOUS:
|
||||
.SECONDARY:
|
||||
|
1
extras
1
extras
@ -1 +0,0 @@
|
||||
Subproject commit 2ae1ae2f19c842da965cd3db1b0da8bf108ac235
|
@ -3,7 +3,7 @@
|
||||
import os
|
||||
import argparse
|
||||
|
||||
from extras.pokemontools import gfx, lz
|
||||
from pokemontools import gfx, lz
|
||||
|
||||
|
||||
# Graphics with inverted tilemaps that aren't covered by filepath_rules.
|
||||
@ -146,7 +146,7 @@ def filepath_rules(filepath):
|
||||
|
||||
pokemon_name = ''
|
||||
|
||||
if 'gfx/pics/' in filedir:
|
||||
if 'gfx/pokemon/' in filedir:
|
||||
pokemon_name = filedir.split('/')[-1]
|
||||
if pokemon_name.startswith('unown_'):
|
||||
index = filedir.find(pokemon_name)
|
1
tools/pokemontools/__init__.py
Normal file
1
tools/pokemontools/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
# A subset of https://github.com/pret/pokemon-reverse-engineering-tools
|
938
tools/pokemontools/gfx.py
Normal file
938
tools/pokemontools/gfx.py
Normal file
File diff suppressed because it is too large
Load Diff
580
tools/pokemontools/lz.py
Normal file
580
tools/pokemontools/lz.py
Normal file
File diff suppressed because it is too large
Load Diff
2650
tools/pokemontools/png.py
Normal file
2650
tools/pokemontools/png.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user