mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
baserom.gbc is no longer required to build
This commit is contained in:
parent
75ba97a039
commit
967977b7af
10
INSTALL.md
10
INSTALL.md
@ -10,8 +10,6 @@
|
|||||||
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
||||||
cd pokecrystal
|
cd pokecrystal
|
||||||
|
|
||||||
- Copy a Pokémon Crystal rom into `pokecrystal/`. Name it **baserom.gbc**. Eventually this will not be required.
|
|
||||||
|
|
||||||
To build **pokecrystal.gbc**:
|
To build **pokecrystal.gbc**:
|
||||||
|
|
||||||
make
|
make
|
||||||
@ -35,8 +33,6 @@ In the shell, run:
|
|||||||
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
||||||
cd pokecrystal
|
cd pokecrystal
|
||||||
|
|
||||||
- Copy a Pokémon Crystal rom into `pokecrystal/`. Name it **baserom.gbc**. Eventually this will not be required.
|
|
||||||
|
|
||||||
To build **pokecrystal.gbc**:
|
To build **pokecrystal.gbc**:
|
||||||
|
|
||||||
make
|
make
|
||||||
@ -56,8 +52,6 @@ In the **Cygwin terminal**:
|
|||||||
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
git clone --recursive git://github.com/kanzure/pokecrystal.git
|
||||||
cd pokecrystal
|
cd pokecrystal
|
||||||
|
|
||||||
- Copy a Pokémon Crystal rom into `C:\cygwin\home\<username>\pokecrystal`. Name it **baserom.gbc**. Eventually this will not be required.
|
|
||||||
|
|
||||||
To build:
|
To build:
|
||||||
|
|
||||||
make
|
make
|
||||||
@ -91,7 +85,3 @@ ssh"):
|
|||||||
|
|
||||||
cd /vagrant/pokecrystal
|
cd /vagrant/pokecrystal
|
||||||
make
|
make
|
||||||
|
|
||||||
To make the build work you will need to copy baserom.gbc into the "pokecrystal"
|
|
||||||
directory inside the "virtualbox" directory on the host machine. Eventually
|
|
||||||
this will not be required.
|
|
||||||
|
5
Makefile
5
Makefile
@ -56,9 +56,6 @@ crystal: pokecrystal.gbc
|
|||||||
clean:
|
clean:
|
||||||
rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
||||||
|
|
||||||
baserom.gbc: ;
|
|
||||||
@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
|
|
||||||
|
|
||||||
|
|
||||||
%.asm: ;
|
%.asm: ;
|
||||||
$(all_obj): $$*.asm $$($$*_dep)
|
$(all_obj): $$*.asm $$($$*_dep)
|
||||||
@ -70,12 +67,10 @@ $(all_obj): $$*.asm $$($$*_dep)
|
|||||||
pokecrystal11.gbc: $(crystal11_obj)
|
pokecrystal11.gbc: $(crystal11_obj)
|
||||||
rgblink -n $*.sym -m $*.map -o $@ $^
|
rgblink -n $*.sym -m $*.map -o $@ $^
|
||||||
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -n 1 -p 0 -r 3 -t PM_CRYSTAL $@
|
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -n 1 -p 0 -r 3 -t PM_CRYSTAL $@
|
||||||
cmp crystal11.gbc $@
|
|
||||||
|
|
||||||
pokecrystal.gbc: $(crystal_obj)
|
pokecrystal.gbc: $(crystal_obj)
|
||||||
rgblink -n $*.sym -m $*.map -o $@ $^
|
rgblink -n $*.sym -m $*.map -o $@ $^
|
||||||
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
|
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
|
||||||
cmp baserom.gbc $@
|
|
||||||
|
|
||||||
|
|
||||||
pngs:
|
pngs:
|
||||||
|
Loading…
Reference in New Issue
Block a user