- 2
- Posts
- 4
- Years
- Seen Feb 8, 2021
Hello. I was replacing the music in my Pokered hack with other files, but when I replaced Cities1 with something else it gives me these errors.
$ make
rgblink -p 0x00 -d -m pokered.map -n pokered.sym -l layout.link -o pokered.gbc audio_red.o home_red.o main_red.o maps_red.o text_red.o wram_red.o gfx/pics_red.o gfx/sprites_red.o gfx/tilesets_red.o
error: maps.asm(1207) -> scripts/ChampionsRoom.asm(111) -> macros/farcall.asm::farcall(3): Unknown symbol "Music_Cities1AlternateTempo"
error: maps.asm(1207) -> scripts/ChampionsRoom.asm(111) -> macros/farcall.asm::farcall(2): Requested BANK() of symbol "Music_Cities1AlternateTempo", which was not found
error: audio.asm(362) -> audio/alternate_tempo.asm(49): Unknown symbol "Music_Cities1_branch_aa6f"
Linking failed with 3 errors
make: *** [Makefile:108: pokered.gbc] Error 1
I replaced it with the original Cities1 music, but it still gives this error. I also replaced audio.asm and alternate_tempo.asm with their vanilla counterparts, but it STILL gives this error.
Here is my Pokered folder~
*link retracted*
EDIT: I was able to fix the issue by updating the music headers. I replaced the music with the vanilla one but forgot to update the music headers.
$ make
rgblink -p 0x00 -d -m pokered.map -n pokered.sym -l layout.link -o pokered.gbc audio_red.o home_red.o main_red.o maps_red.o text_red.o wram_red.o gfx/pics_red.o gfx/sprites_red.o gfx/tilesets_red.o
error: maps.asm(1207) -> scripts/ChampionsRoom.asm(111) -> macros/farcall.asm::farcall(3): Unknown symbol "Music_Cities1AlternateTempo"
error: maps.asm(1207) -> scripts/ChampionsRoom.asm(111) -> macros/farcall.asm::farcall(2): Requested BANK() of symbol "Music_Cities1AlternateTempo", which was not found
error: audio.asm(362) -> audio/alternate_tempo.asm(49): Unknown symbol "Music_Cities1_branch_aa6f"
Linking failed with 3 errors
make: *** [Makefile:108: pokered.gbc] Error 1
I replaced it with the original Cities1 music, but it still gives this error. I also replaced audio.asm and alternate_tempo.asm with their vanilla counterparts, but it STILL gives this error.
Here is my Pokered folder~
*link retracted*
EDIT: I was able to fix the issue by updating the music headers. I replaced the music with the vanilla one but forgot to update the music headers.
Last edited: