Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-08-08 18:22:15

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 6/13

Error occured

Gabriel@WohnzimmerPC ~
$ cd pokered

Gabriel@WohnzimmerPC ~/pokered
$ make
rgbasm -D _RED -h -o main_red.o main.asm
rgblink -n pokered.sym -o pokered.gbc audio_red.o main_red.o text_red.o wram_red
.o
C:\Users\Gabriel\Desktop\Pokered\usr\local\bin\rgblink.exe: Unable to load fixed
ROMX section into bank $0D
make: *** [Makefile:47: pokered.gbc] Fehler 1


Did Ho-oh and Lugia so far lovely Retro Sprites. But got this Error can someone help?

ADD:I Deleted my Topic about the moves to help to keep the question section clean but dont got a clue how to add new moves in 1st gen Games.Also searched in the Help Section. Can someone (maybe in a few days) make a tutorial about this or at least say what things have to be changed? Tried to look how Mateo  added new moves. I know so far that moves asm. and move.constants But there must be some kind of script that limits the moves to 167 wanted to add one says syntax error( no plus or comma or whatever in that line)

Offline

#2 2016-08-08 22:15:58

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

Re: Error occured

Bank $0D has too much stuff in it, you'll need to move something out. Try looking in main.asm first and see what you can find.

Offline

#3 2016-08-08 23:01:15

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 7/13

Re: Error occured

Thank you very much for answering my question. Searched for $0D in the main.asm using Notepad++ couldnt find anything. So i searched in the whole Project only

could find a GRIMER code in pokemon.constants and a SPRITE GIRL in sprite contants that have these special number havent changed bot of them at all. The only

change i made was in  ROMX, BANK[$C] which now looks like this:

CharmeleonPicFront::   INCBIN "pic/bmon/charmeleon.pic"
CharmeleonPicBack::    INCBIN "pic/monback/charmeleonb.pic"
WartortlePicFront::    INCBIN "pic/bmon/wartortle.pic"
WartortlePicBack::     INCBIN "pic/monback/wartortleb.pic"
CharizardPicFront::    INCBIN "pic/bmon/charizard.pic"
CharizardPicBack::     INCBIN "pic/monback/charizardb.pic"
TyranitarPicFront::    INCBIN "pic/bmon/tyranitar.pic"
TyranitarPicBack::     INCBIN "pic/monback/tyranitarb.pic"
LugiaPicFront::        INCBIN "pic/bmon/lugia.pic"
LugiaPicBack::         INCBIN "pic/monback/lugiab.pic"
OddishPicFront::       INCBIN "pic/bmon/oddish.pic"
OddishPicBack::        INCBIN "pic/monback/oddishb.pic"




Thanks again for helping me. I know that you have better stuff to do.So thanks. And you did a great job with RED++ really enjoyed it.

Offline

#4 2016-08-09 23:01:53

Danny-E 33
Administrator
Registered: 2012-06-09
Post 972/1,031

Re: Error occured

Hi Gabriel,

GRIMER and SPRITE_GIRL may be constants with the value of $0D but that is unrelated to your issue.

If you look at the top of main.asm you will probably see 'PICS_5 EQU $D'
So bank $0D is the fifth bank that is used for Pokemon pics.

Look further in main.asm for 'SECTION "Pics 5", ROMX, BANK[PICS_5]'

That is the section that is causing your compile error.

If your project is being tracked by git, you can use 'git status' and 'git diff' to double check the changes you've made to see what you changed in bank $D.


Red Hack: Pokémon Prototype

Total number of registered users: 8000+
Total number of active users: ~12

Offline

#5 2016-08-10 12:05:28

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 8/13

Re: Error occured

Thanks Danny-E 33 i was running git diff and these are the changes i made :

-FossilAerodactylPic::  INCBIN "pic/bmon/fossilaerodactyl.pic" (1)
-GhostPic::             INCBIN "pic/other/ghost.pic"                   (2)  (OLD!)
+TyranitarPicFront::    INCBIN "pic/bmon/tyranitar.pic"            (for 1)
+TyranitarPicBack::     INCBIN "pic/monback/tyranitarb.pic"     (new line for 1)
+LugiaPicFront::        INCBIN "pic/bmon/lugia.pic"                  (for 2)
+LugiaPicBack::         INCBIN "pic/monback/lugiab.pic"            ( new line for 2) ( NEW!)

whats the problem with that Bank ? Do I have to expand this Bank to add new Pokemon? I Acctually used the missingno placeholders for adding my new pokemon as you can see. I taught that it has to be like this. Or can i add a Pokemon also in lets say in SECTION "Pics 1", ROMX,BANK (PICS_1/2,3 etc)? I was again checking your guide to add a pokemon and i saw that you used a new bank means you add a section. Do I have to do this too to get rid of the Problem?


+PICS_6 EQU $2D

and

+SECTION "Pics 6", ROMX, BANK[PICS_6]
+
+LeafeonPicFront::    INCBIN "pic/bmon/leafeon.pic"
+LeafeonPicBack::     INCBIN "pic/monback/leafeonb.pic"   


I try to make it look like this too. One last question. do i have to change the missingno sprites back to how it was or can i leave it like this because the new mons will use the gameshark code B7 and B8 i think and this is the way how i want to find this pokemon in game.

Offline

#6 2016-08-10 14:02:50

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 9/13

Re: Error occured

UPDATE: THANK YOU DANNY E-33  (Did it like you were doing and it works but i got a new Error. I swear after that i wont be reliant to good and helpful people for

some days ;) )


C:\Users\Gabriel\Desktop\Pokered\usr\local\bin\rgblink.exe: Unknown symbol 'MewB
aseStats'
make: *** [Makefile:47: pokered.gbc] Fehler 1


I left the asm as it was and i only added mew in base_stats.asm which looks like this (like yours with leafeon but with my mons):

INCLUDE "data/baseStats/dragonite.asm"
INCLUDE "data/baseStats/mewtwo.asm"
INCLUDE "data/baseStats/mew.asm"
INCLUDE "data/baseStats/lugia.asm"
INCLUDE "data/baseStats/tyranitar.asm"

I think the error this time occured in home.asm because i searched for "MewBaseStats" and only data left in search is the home.asm  It looks like this (couldnt find an unknown symbol there on my own)

.mew
ld hl,MewBaseStats
ld de,wMonHeader
ld bc,MonBaseStatsEnd - MonBaseStats
ld a,BANK(MewBaseStats)
call FarCopyData
.done


Thanks again for helping a newbie this Forum and also the Youtube Videos of ShantyTown helped me a lot to work on the dissasembly.

Offline

#7 2016-08-14 16:05:45

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 10/13

Re: Error occured

still got the same problem downloaded a fresh rom (making 1st time is not a problem) but when i add my pokemon i get the


C:\Users\Gabriel\Desktop\Pokered\usr\local\bin\rgblink.exe: Unknown symbol 'MewB
aseStats'
make: *** [Makefile:47: pokered.gbc] Fehler 1

error. help is appreciated because i cannot working on my rom. THANKS

Offline

#8 2016-08-14 16:15:59

Danny-E 33
Administrator
Registered: 2012-06-09
Post 974/1,031

Re: Error occured

'MewBaseStats' should be the first line of data/baseStats/mew.asm


Red Hack: Pokémon Prototype

Total number of registered users: 8000+
Total number of active users: ~12

Offline

#9 2016-08-14 18:06:06

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 12/13

Re: Error occured

Done. Now i get the same with FossilAerodactyl but there is no asm. for that.if think after that the same will be with ghost. checked with a fresh rom and the content is the same.deleting these in main.asm doesnt fix the problem.



Gabriel@WohnzimmerPC ~/pokered
$ make
rgbasm -D _RED -h -o main_red.o main.asm
rgblink -n pokered.sym -o pokered.gbc audio_red.o main_red.o text_red.o wram_red
.o
C:\Users\Gabriel\Desktop\Pokered\usr\local\bin\rgblink.exe: Unknown symbol 'FOSS
IL_AERODACTYL'
make: *** [Makefile:47: pokered.gbc] Fehler 1


Thanks for any help.

Offline

#10 2016-08-15 08:00:27

Danny-E 33
Administrator
Registered: 2012-06-09
Post 975/1,031

Re: Error occured

FOSSIL_AERODACTYL is defined in constants/pokemon_constants.asm


Red Hack: Pokémon Prototype

Total number of registered users: 8000+
Total number of active users: ~12

Offline

Board footer

Powered by FluxBB