Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2017-12-11 18:28:26

NitroHedgehog
Member
Registered: 2017-06-25
Post 14/40

(PokeRed) What am I doing wrong?

So I am trying to insert Green Sprites into a Red rom, but I get the following mistake:

xxx@xxx ~
$ cd pokered

xxx@xxx ~
$ git submodule init

xxx@xxx ~
$ git submodule update

xxx@xxx ~/pokered
$ make red
rgbasm -D _RED -h -o main_red.o main.asm
ERROR: main.asm(810):
        Section 'Pics 4' is too big (max size = 0x4000 bytes).
make: *** [Makefile:39: main_red.o] Error 5

Now I know that I must edit the main.asm and move a few sprites to another section. But then I get this:

xxx@xxx ~/pokered
$ make red
rgbasm -D _RED -h -o main_red.o main.asm
rgbasm -D _RED -h -o text_red.o text.asm
rgbasm -D _RED -h -o wram_red.o wram.asm
rgblink -n pokered.sym -l pokered.link -o pokered.gbc audio_red.o main_red.o text_red.o wram_red.o
error: Unable to place 'Battle (bank 9)' (ROMX section) at $7DCE in bank $09
make: *** [Makefile:54: pokered.gbc] Error 1

...the fact is that I never edited Bank 9, and I have no idea what they mean by ROMX section at $7DCE... Could someone help?

Offline

#2 2017-12-12 22:57:23

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,048/1,119

Re: (PokeRed) What am I doing wrong?

The "Unable to place section in bank" error is really similar to the "Section too big" error.

The difference is that with "Unable to place section in bank" the bank that has too much data in it is composed of multiple sections.
Either way, the problem is the exact same. You are trying to put too much data in bank $9, just as you were putting too much data in bank $C before.

Offline

Board footer

Powered by FluxBB