You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Merge pull request #587 from Rangi42/master
Remove dependency on 'extras' submodule
This commit is contained in:
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
|
roms := pokecrystal.gbc pokecrystal11.gbc
|
||||||
|
|
||||||
crystal_obj := \
|
crystal_obj := \
|
||||||
@@ -31,10 +19,25 @@ lib/mobile/main.o
|
|||||||
crystal11_obj := $(crystal_obj:.o=11.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
|
### Build targets
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.PHONY: all crystal crystal11 clean compare tools tidy
|
.PHONY: all crystal crystal11 clean tidy compare tools
|
||||||
.SECONDEXPANSION:
|
.SECONDEXPANSION:
|
||||||
.PRECIOUS:
|
.PRECIOUS:
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
1
extras
1
extras
Submodule extras deleted from 2ae1ae2f19
@@ -3,7 +3,7 @@
|
|||||||
import os
|
import os
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
from extras.pokemontools import gfx, lz
|
from pokemontools import gfx, lz
|
||||||
|
|
||||||
|
|
||||||
# Graphics with inverted tilemaps that aren't covered by filepath_rules.
|
# Graphics with inverted tilemaps that aren't covered by filepath_rules.
|
||||||
@@ -146,7 +146,7 @@ def filepath_rules(filepath):
|
|||||||
|
|
||||||
pokemon_name = ''
|
pokemon_name = ''
|
||||||
|
|
||||||
if 'gfx/pics/' in filedir:
|
if 'gfx/pokemon/' in filedir:
|
||||||
pokemon_name = filedir.split('/')[-1]
|
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)
|
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
Reference in New Issue
Block a user