Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-08-14 05:36:50

theoblivinator
Member
From: Iowa
Registered: 2012-08-20
Post 85/98

Pokemon Crystal Disassembly/Assembly error.

This is unrelated to the question I asked in a previous thread. Disregard that question. Like before, there isn't anyone on the IRC channel to ask for help. Perhaps someone can help me in here.

I'm trying to compile my first Crystal Rom. I use the "make" command in the CVG shell and it seems like it is compiling until I start getting the following errors:

rgbasm -o pokecrystal.o pokecrystal.asm
Output filename pokecrystal.o
Assembling pokecrystal.asm
Pass 1...
*ERROR* pokecrystal.asm(1) -> wram.asm(1) :
        BANK only allowed for CODE/DATA
*ERROR* pokecrystal.asm(1) -> wram.asm(3) :
        BANK only allowed for CODE/DATA
*ERROR* pokecrystal.asm(1) -> wram.asm(5) :
        BANK only allowed for CODE/DATA
*ERROR* pokecrystal.asm(1) -> wram.asm(7) :
        BANK only allowed for CODE/DATA
*ERROR* pokecrystal.asm(1) -> wram.asm(9) :
        BANK only allowed for CODE/DATA
*ERROR* pokecrystal.asm(1) -> wram.asm(14) :
        syntax error
Assembly aborted in pass 1 (6 errors)!
Makefile:17: recipe for target `pokecrystal.o' failed
make: *** [pokecrystal.o] Error 1

I do have baserom.gbc (which is Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc renamed) in the same root directory as the main.asm (which is where I believe it is supposed to go). Any advice on how to proceed would be appreciated.

Thanks.

Offline

#2 2013-08-14 06:37:32

comet
Member
Registered: 2012-04-09
Post 278/675

Re: Pokemon Crystal Disassembly/Assembly error.

hi

the install process just changed a little in the past day or so and the main repo hasnt been updated yet (see https://github.com/yenatch/pokecrystal/ … INSTALL.md)

the only problem left is the old instructions had an outdated copy of rgbds. to get the new one:

delete rgbasm.exe, rgblink.exe, rgblib.exe and rgbfix.exe from /usr/local/bin

cd /usr/local/bin
rm rgb*.exe

then just install it again from the new instructions

We use rgbds to spit out a Game Boy rom from source.

cd /usr/local/bin
wget http://iimarck.us/etc/rgbds-20130811.zip
unzip -j rgbds-20130811.zip
rm rgbds-20130811.zip

Offline

#3 2013-08-14 06:43:54

comet
Member
Registered: 2012-04-09
Post 279/675

Re: Pokemon Crystal Disassembly/Assembly error.

also the irc does have people in it

Offline

#4 2013-08-14 07:11:22

theoblivinator
Member
From: Iowa
Registered: 2012-08-20
Post 86/98

Re: Pokemon Crystal Disassembly/Assembly error.

Thanks, those instructions made it work. Appreciate it.

Also I guess I was in the wrong IRC server and channel. Thanks for the new one as well.

Offline

#5 2013-08-15 22:29:55

theoblivinator
Member
From: Iowa
Registered: 2012-08-20
Post 90/98

Re: Pokemon Crystal Disassembly/Assembly error.

I'm getting another error when trying to compile a ROM. The only changes I have made currently were to "trainers.asm" which include the addition of several teams for all the gym leaders and elite four members. For instance Falkner's Group looks like this:

FalknerGroup:
; ================================
; ================

    ; FALKNER (1)
    db "FALKNER@"
    db 1 ; moves

    ; party

    db 9, PIDGEY
        db TACKLE
        db MUD_SLAP
        db NONE
        db NONE

    db 13, PIDGEOTTO
        db TACKLE
        db MUD_SLAP
        db GUST
        db NONE

    db $ff ; end
    
; ================
    
    ; FALKNER (2)
    db "FALKNER@"
    db 1 ; moves

    ; party

    db 50, AERODACTYL
        db EARTHQUAKE
        db HYPER_BEAM
        db ROCK_SLIDE
        db PROTECT

    db 48, FEAROW
        db DRILL_PECK
        db MIRROR_MOVE
        db DOUBLE_TEAM
        db PURSUIT
        
    db 52, XATU
        db PSYCHIC_M
        db SHADOW_BALL
        db RECOVER
        db FLY
        
    db 52, NOCTOWL
        db HYPNOSIS
        db DREAM_EATER
        db REFLECT
        db WING_ATTACK
        
    db 54, CROBAT
        db CONFUSE_RAY
        db TOXIC
        db SLUDGE_BOMB
        db SUPER_FANG
        
    db 56, PIDGEOT
        db RETURN
        db SWAGGER
        db DOUBLE_TEAM
        db DRILL_PECK

    db $ff ; end

; ================
; ================================

All gym leaders and elite four members now have a second team for each other their respective groups. When compiling the ROM I get the following error:

JHawk@JHawk-HP ~/pokecrystal
$ make
python prequeue.py
rgbasm -o pokecrystal.o pokecrystal.asm
Output filename pokecrystal.o
Assembling pokecrystal.asm
Pass 1...
ERROR:  pokecrystal.asm(5) -> main.tx(13872) -> trainers/trainers.tx(4807) :
        syntax error
Assembly aborted in pass 1 (1 errors)!
Makefile:17: recipe for target `pokecrystal.o' failed
make: *** [pokecrystal.o] Error 1

I'm not familiar with how to troubleshoot these kinds of modifications, nor do I understand what the error means. Any advice on how to tackle this problem would be appreciated.

Thanks.

EDIT: THE PROBLEM HAS BEEN SOLVED

Last edited by theoblivinator (2013-08-15 22:47:08)

Offline

Board footer

Powered by FluxBB