Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2017-01-06 05:59:25

Zephlosion
New member
Registered: 2017-01-06
Post 2/9

Crowdmap Help (Adding new map)

Hello. I'm trying to add a new map in pokemon crystal using crowdmap, but nothing seems to work.

I've done everything in this tutorial, but it doesn't seem to work.

Here is the log when I try to make the .gbc rom.

TV@TV ~/pokecrystal
$ make
rgbasm -o maps.o maps.asm
rgbasm -o engine/events.o engine/events.asm
python gfx.py 2bpp gfx/credits/border.png
python gfx.py 2bpp gfx/credits/ditto.png
python gfx.py 2bpp gfx/credits/pichu.png
python gfx.py 2bpp gfx/credits/igglybuff.png
python gfx.py 2bpp gfx/credits/smoochum.png
rgbasm -o engine/credits.o engine/credits.asm
rgbasm -o data/egg_moves.o data/egg_moves.asm
rgbasm -o data/evos_attacks.o data/evos_attacks.asm
rgbasm -o data/pokedex/entries.o data/pokedex/entries.asm
rgbasm -o misc/crystal_misc.o misc/crystal_misc.asm
rgbasm -o text/common_text.o text/common_text.asm
rgbasm -o gfx/pics.o gfx/pics.asm
rgblink -n pokecrystal.sym -m pokecrystal.map -o pokecrystal.gbc wram.o main.o lib/mobile/main.o home.o audio.o maps.o engine/events.o engine/credits.o data/egg _moves.o data/evos_attacks.o data/pokedex/entries.o misc/crystal_misc.o text/common_text.o gfx/pics.o
C:\Users\TV\Desktop\pokemoncrystal\usr\local\bin\rgblink.exe: Unknown symbol 'CRONCH'
make: *** [Makefile:59: pokecrystal.gbc] Error 1

"CRONCH" is the test map I'm making. (Made up word from friend)

Thank you!

Offline

#2 2017-01-06 06:09:33

Rangi
Member
Registered: 2016-05-09
Post 462/831

Re: Crowdmap Help (Adding new map)

Make sure that CRONCH is defined in constants/map_constants.asm.

I wrote this guide to directly adding a new map in pokecrystal. If you're using Git, diff the files before and after adding "Cronch" with Crowdmap, and compare its changes to the ones you'd make manually.


ROM hack: Pokémon Polished Crystal (GitHub) — version 2.2.0 released!

Offline

#3 2017-01-06 09:21:11

Zephlosion
New member
Registered: 2017-01-06
Post 3/9

Re: Crowdmap Help (Adding new map)

Rangi wrote:

Make sure that CRONCH is defined in constants/map_constants.asm.

I wrote this guide to directly adding a new map in pokecrystal. If you're using Git, diff the files before and after adding "Cronch" with Crowdmap, and compare its changes to the ones you'd make manually.

Thank you! I did what you said in your tutorial, and I also tried to make a map in crowdmap. Used two different pokecrystals for both.

When doing your tutorial, I ran into a problem. I'm not totally sure how to make a .blk.

When I made a map through crowdmap, it gave me a similar error as before.

TV@TV ~/pokecrystal
$ make
rgbasm -o wram.o wram.asm
python gfx.py 2bpp gfx/misc/font_battle_extra.png
python gfx.py 2bpp gfx/misc/pack.png
python gfx.py 1bpp gfx/misc/font.png
python gfx.py 1bpp gfx/misc/footprints.png
python gfx.py 2bpp gfx/misc/pack_f.png
python gfx.py 2bpp gfx/misc/font_extra.png
python gfx.py 2bpp gfx/misc/badges.png
python gfx.py 1bpp gfx/misc/font_inversed.png
python gfx.py 2bpp gfx/credits/theend.png
rgbasm -o main.o main.asm
rgbasm -o lib/mobile/main.o lib/mobile/main.asm
rgbasm -o home.o home.asm
rgbasm -o audio.o audio.asm
rgbasm -o maps.o maps.asm
rgbasm -o engine/events.o engine/events.asm
python gfx.py 2bpp gfx/credits/border.png
python gfx.py 2bpp gfx/credits/ditto.png
python gfx.py 2bpp gfx/credits/pichu.png
python gfx.py 2bpp gfx/credits/igglybuff.png
python gfx.py 2bpp gfx/credits/smoochum.png
rgbasm -o engine/credits.o engine/credits.asm
rgbasm -o data/egg_moves.o data/egg_moves.asm
rgbasm -o data/evos_attacks.o data/evos_attacks.asm
rgbasm -o data/pokedex/entries.o data/pokedex/entries.asm
rgbasm -o misc/crystal_misc.o misc/crystal_misc.asm
rgbasm -o text/common_text.o text/common_text.asm
rgbasm -o gfx/pics.o gfx/pics.asm
rgblink -n pokecrystal.sym -m pokecrystal.map -o pokecrystal.gbc wram.o main.o lib/mobile/main.o home.o audio.o maps.o engine/events.o engine/credits.o data/egg_moves.o data/evos_attacks.o data/pokedex/entries.o misc/crystal_misc.o text/common_text.o gfx/pics.o
C:\Users\TV\Desktop\pokemoncrystal\usr\local\bin\rgblink.exe: Unknown symbol 'NONE'
make: *** [Makefile:59: pokecrystal.gbc] Error 1

PS: Hope I'm making sense. I am pretty noobie at this. Sorry for any confusion.

Last edited by Zephlosion (2017-01-06 09:22:11)

Offline

#4 2017-01-06 10:11:36

Rangi
Member
Registered: 2016-05-09
Post 463/831

Re: Crowdmap Help (Adding new map)

If NONE is undefined, it probably means that this was removed from the beginning of map_constants.asm:

GROUP_NONE EQU 0
MAP_NONE   EQU 0

But I have no idea why Crowdmap would make that change. I had issues with Crowdmap when I first tried it, which is why I now edit maps manually.

You can make a blk file in a hex editor: there are width*height bytes, and each byte is a metatile ID. Metatiles are the 32px squares (sixteen 8px tiles) that compose a map. Metatiles are defined in the tilesetID_metatiles.bin file; each has 16 bytes, the tile IDs from top-left to bottom-right. I use this Python script to render an image of the metatiles, so I can refer to it when hex-editing the map. Try editing an existing map to get the hang of the process before making your own. I really recommend keeping your project as a fork on GitHub; being able to see file changes over time helps a lot in debugging.


ROM hack: Pokémon Polished Crystal (GitHub) — version 2.2.0 released!

Offline

#5 2017-01-06 10:38:50

Zephlosion
New member
Registered: 2017-01-06
Post 4/9

Re: Crowdmap Help (Adding new map)

Rangi wrote:

If NONE is undefined, it probably means that this was removed from the beginning of map_constants.asm:

GROUP_NONE EQU 0
MAP_NONE   EQU 0

But I have no idea why Crowdmap would make that change. I had issues with Crowdmap when I first tried it, which is why I now edit maps manually.

You can make a blk file in a hex editor: there are width*height bytes, and each byte is a metatile ID. Metatiles are the 32px squares (sixteen 8px tiles) that compose a map. Metatiles are defined in the tilesetID_metatiles.bin file; each has 16 bytes, the tile IDs from top-left to bottom-right. I use this Python script to render an image of the metatiles, so I can refer to it when hex-editing the map. Try editing an existing map to get the hang of the process before making your own. I really recommend keeping your project as a fork on GitHub; being able to see file changes over time helps a lot in debugging.

I'm going to try this out tomorrow. I'm beat.

Thank you for helping me, Rangi! I really appreciate it!

Offline

#6 2017-01-06 20:41:31

Zephlosion
New member
Registered: 2017-01-06
Post 8/9

Re: Crowdmap Help (Adding new map)

Tried to make the .blk from scratch using a HEX editor like you suggested. It still says the same thing from the first one, where "CRONCH" is undefined, though it is defined in map_constants.asm. This is tricky.

EDIT: Here is the code where I defined "CRONCH".

newgroup                                                    ; 24

    mapgroup ROUTE_26,                                   54, 10 ;  1
    mapgroup ROUTE_27,                                    9, 40 ;  2
    mapgroup ROUTE_29,                                    9, 30 ;  3
    mapgroup NEW_BARK_TOWN, 9, 10
    mapgroup ELMS_LAB,                                    6,  5 ;  5
    mapgroup KRISS_HOUSE_1F,                              4,  5 ;  6
    mapgroup KRISS_HOUSE_2F,                              3,  4 ;  7
    mapgroup KRISS_NEIGHBORS_HOUSE,                       4,  4 ;  8
    mapgroup ELMS_HOUSE,                                  4,  4 ;  9
    mapgroup ROUTE_26_HEAL_SPEECH_HOUSE,                  4,  4 ; 10
    mapgroup ROUTE_26_DAY_OF_WEEK_SIBLINGS_HOUSE,         4,  4 ; 11
    mapgroup ROUTE_27_SANDSTORM_HOUSE,                    4,  4 ; 12
    mapgroup ROUTE_29_46_GATE,                            4,  5 ; 13
    mapgroup CRONCH,                                      10, 10 ; 14

Last edited by Zephlosion (2017-01-06 20:42:16)

Offline

#7 2017-01-07 01:28:28

Zephlosion
New member
Registered: 2017-01-06
Post 9/9

Re: Crowdmap Help (Adding new map)

I got it working!! It was my own stupidity. Thank you Rangi!

For anyone who is also stuck on something similar, heed these words.

Read tutorials CLOSELY!

Offline

Board footer

Powered by FluxBB