Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → kanzure/pokecrystal-demo: Unable to load fixed WRAM0 section at $CFC2

#1 2017-05-27 15:29:53

Rangi
Member
Registered: 2016-05-09
Post 692/870

kanzure/pokecrystal-demo: Unable to load fixed WRAM0 section at $CFC2

I want to compile this "24-hour ROM hack" which apparently had double-speed (60 FPS) mode and variable-width text years ago. However, I get the titular error:

$ make all
python preprocessor.py < text/sweethoney.asm > text/sweethoney.tx
python preprocessor.py < text/phone/bill.asm > text/phone/bill.tx
python preprocessor.py < text/phone/elm.asm > text/phone/elm.tx
python preprocessor.py < text/phone/mom.asm > text/phone/mom.tx
python preprocessor.py < text/phone/trainers1.asm > text/phone/trainers1.tx
python preprocessor.py < text/common.asm > text/common.tx
python preprocessor.py < text/common_2.asm > text/common_2.tx
python preprocessor.py < text/common_3.asm > text/common_3.tx
python preprocessor.py < main.asm > main.tx
rgbds/rgbasm -o pokecrystal-demo.o pokecrystal-demo.asm
rgbds/rgblink -o pokecrystal-demo.gbc pokecrystal-demo.o
Unable to load fixed WRAM0 section at $CFC2
Makefile:45: recipe for target 'pokecrystal-demo.gbc' failed
make: *** [pokecrystal-demo.gbc] Error 1

I've tried using rgbds 0.2.5 and 0.1.0 (the earliest available release). Same error with both. I've tried changing "SECTION "Engine",BSS[$cfc2]" to a dynamically-located "SECTION "Engine",BSS", and it just errors at the next section, "SECTION "connections",BSS[$d1a9]". Removing all the section offsets in wram.asm (which I would expect to create runtime errors even if it does compile) gives the error "WRAM0 section too large".

As far as I can tell, all the new WRAM locations added by this project are in their own sections at the top of wram.asm. And this must have compiled at some point back in 2013. Does anyone know how to get it to work? Or maybe even have a pre-built copy from back then?

Last edited by Rangi (2017-05-27 16:03:07)


Pokémon Polished Crystal (GitHub) — version 2.2.0 released
Pokémon Red★ and Blue★: Space World Edition (GitHub) — updated August 19!
Polished Map: pokered+pokecrystal map, tileset, and palette editor — version 3.5.1 released!

Offline

#2 2017-05-27 16:07:53

Rangi
Member
Registered: 2016-05-09
Post 693/870

Re: kanzure/pokecrystal-demo: Unable to load fixed WRAM0 section at $CFC2

Never mind! This closed issue explained the problem. The even older rgbds 0.0.2 release worked once I built it from source.

6J7QKNh.png


Pokémon Polished Crystal (GitHub) — version 2.2.0 released
Pokémon Red★ and Blue★: Space World Edition (GitHub) — updated August 19!
Polished Map: pokered+pokecrystal map, tileset, and palette editor — version 3.5.1 released!

Offline

  • Index
  • → Help/Question
  • → kanzure/pokecrystal-demo: Unable to load fixed WRAM0 section at $CFC2

Board footer

Powered by FluxBB