Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-03-20 19:31:27

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,275/3,455

Pokecrystal

So, I've been trying to help a friend out with a project in Pokecrystal, and I keep having this issue happen when I try to compile a clean copy of the latest version. Does this need to be reported as an issue, or is there something weird on my end somehow?

Mateo@Mateo-PC ~
$ git clone --recursive https://github.com/pret/pokecrystal.git
Cloning into 'pokecrystal'...
remote: Counting objects: 38831, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 38831 (delta 10), reused 0 (delta 0), pack-reused 38800
Receiving objects: 100% (38831/38831), 29.54 MiB | 1.64 MiB/s, done.
Resolving deltas: 100% (23330/23330), done.
Checking connectivity... done.
Checking out files: 100% (4863/4863), done.
Submodule 'extras' (git://github.com/pret/pokemon-reverse-engineering-tools.git)                                                                                                                                                                                                registered for path 'extras'
Cloning into 'extras'...
remote: Counting objects: 4413, done.
remote: Total 4413 (delta 0), reused 0 (delta 0), pack-reused 4413
Receiving objects: 100% (4413/4413), 2.20 MiB | 993.00 KiB/s, done.
Resolving deltas: 100% (2761/2761), done.
Checking connectivity... done.
Submodule path 'extras': checked out '68edf51f1070b056c281471242220f9c6142e1b6'

Mateo@Mateo-PC ~
$ cd pokecrystal

Mateo@Mateo-PC ~/pokecrystal
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

Mateo@Mateo-PC ~/pokecrystal
$ make
rgbasm -o wram.o wram.asm
python gfx.py 2bpp gfx/misc/font_battle_extra.png
python gfx.py 2bpp gfx/misc/pack.png
python gfx.py 1bpp gfx/misc/font.png
python gfx.py 1bpp gfx/misc/footprints.png
python gfx.py 2bpp gfx/misc/pack_f.png
python gfx.py 2bpp gfx/misc/font_extra.png
python gfx.py 2bpp gfx/misc/badges.png
python gfx.py 1bpp gfx/misc/font_inversed.png
python gfx.py 2bpp gfx/credits/theend.png
rgbasm -o main.o main.asm
rgbasm -o lib/mobile/main.o lib/mobile/main.asm
rgbasm -o home.o home.asm
rgbasm -o audio.o audio.asm
rgbasm -o maps.o maps.asm
rgbasm -o engine/events.o engine/events.asm
python gfx.py 2bpp gfx/credits/border.png
python gfx.py 2bpp gfx/credits/ditto.png
python gfx.py 2bpp gfx/credits/pichu.png
python gfx.py 2bpp gfx/credits/igglybuff.png
python gfx.py 2bpp gfx/credits/smoochum.png
rgbasm -o engine/credits.o engine/credits.asm
rgbasm -o data/egg_moves.o data/egg_moves.asm
rgbasm -o data/evos_attacks.o data/evos_attacks.asm
rgbasm -o data/pokedex/entries.o data/pokedex/entries.asm
rgbasm -o misc/crystal_misc.o misc/crystal_misc.asm
rgbasm -o text/common_text.o text/common_text.asm
rgbasm -o gfx/pics.o gfx/pics.asm
rgblink -n pokecrystal.sym -m pokecrystal.map -o pokecrystal.gbc wram.o main.o l                                                                                                                                                                                               ib/mobile/main.o home.o audio.o maps.o engine/events.o engine/credits.o data/egg                                                                                                                                                                                               _moves.o data/evos_attacks.o data/pokedex/entries.o misc/crystal_misc.o text/com                                                                                                                                                                                               mon_text.o gfx/pics.o
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL pokecrystal.gb                                                                                                                                                                                               c
rm maps/RuinsofAlphHoOhChamber.blk maps/RuinsofAlphHoOhItemRoom.blk

Mateo@Mateo-PC ~/pokecrystal
$

Notice I download it, run make, and the first thing it does is arbitrarily convert some files to png, compile the rom, then delete two maps for no apparent reason, which throws errors if you try to compile again later, because it can't find those maps it deleted. It is always the same two maps, as well.

Last edited by Mateo (2016-03-20 19:32:45)

Offline

#2 2016-03-21 12:18:41

comet
Member
Registered: 2012-04-09
Post 632/672

Re: Pokecrystal

Fixed (kind of). https://github.com/pret/pokecrystal/com … 21b8398fb5

Make decides these are intermediate files (to themselves). I have no idea why.

If you're reading this in the future and github doesn't exist, this is the content:

diff --git a/Makefile b/Makefile
index 67eed8a..49bad47 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ MD5 := md5sum -c --quiet
 .SUFFIXES:
 .PHONY: all clean crystal crystal11
 .SECONDEXPANSION:
-.PRECIOUS: %.2bpp %.1bpp
+.PRECIOUS: %.2bpp %.1bpp %.blk %.bin %.tilemap

 poketools := extras/pokemontools
 gfx       := $(PYTHON) gfx.py

Offline

#3 2016-03-21 20:40:02

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,276/3,455

Re: Pokecrystal

Thanks for the quick response.

Offline

#4 2016-03-24 16:49:12

comet
Member
Registered: 2012-04-09
Post 633/672

Offline

Board footer

Powered by FluxBB