Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-10-18 00:18:27

Lakitwo
New member
Registered: 2016-10-17
Post 1/3

Problem Renaming Maps

Hi. I'm trying to make a Pokemon Crystal romhack using the pokecrystal disassembly. I want to be able to rename my maps so that I can keep track of them more easily. I'm trying to rename Olivine City to "NewMap" as a test. I change the name in "maps/map_headers.asm", "maps/second_map_headers.asm", "constants/map_constants.asm", "maps/block_data_2.asm", and "maps/OlivineCity.asm". When I try to build, I get an error saying: Unknown symbol 'MAP_OLIVINE_CITY'

Does anyone have any idea on how to fix this? How do other people rename their maps? Is there a way to essentially remove all of the GSC maps and start fresh?

Thanks in advance!

Offline

#2 2016-10-18 00:56:58

Mmmmmm
Member
From: West Virginia
Registered: 2015-05-17
Post 126/259

Re: Problem Renaming Maps

Did you change it in constants/map_constants.asm?

Offline

#3 2016-10-18 01:01:22

Lakitwo
New member
Registered: 2016-10-17
Post 2/3

Re: Problem Renaming Maps

Mmmmmm wrote:

Did you change it in constants/map_constants.asm?

Yes. In "constants/map_constants.asm" I changed "OLIVINE_CITY" to "NEW_MAP".

Offline

#4 2016-10-18 02:04:48

Mmmmmm
Member
From: West Virginia
Registered: 2015-05-17
Post 127/259

Re: Problem Renaming Maps

In that case I would try searching through your files for some other place that uses OLIVINE_CITY. If you're using cygwin, the search function is "git grep [search]"

Offline

#5 2016-10-18 02:27:13

Lakitwo
New member
Registered: 2016-10-17
Post 3/3

Re: Problem Renaming Maps

Mmmmmm wrote:

In that case I would try searching through your files for some other place that uses OLIVINE_CITY. If you're using cygwin, the search function is "git grep [search]"

So I did what you said and replaced every instance of "OLIVINE_CITY". Now it says "Unknown symbol 'OLIVINE_CITY_WIDTH'". I tried searching for that and nothing came up.

Offline

Board footer

Powered by FluxBB