Compilation error "Vectors.asm(1): Value out of range"

dale_coop

Moderator
Staff member
After some modification to the HUD elements, a lot of users got that error when compile :


It's a memory issue...

Here a temporary fix (provided by Joe during the live streaming video at 2:00:00):

1) First, open the "GameEngineData\MainASM.sm" script, and find the "HandleFade" related lines and comment them putting ";" at the begining of each line.
The result should be something like that :

Code:
	;;JSR HandleFadeLevels 
	;;JSR HandleFades
Save the script file and close.

2) Then open the "GameEngineData\Routines\System\IncludeSystemFunctions.asm" script, and again comment the "HandleFade" related lines...
The result should be something like that :

Code:
	;;.include "Routines\System\HandleFades.asm"
Save the script file and close.

Now, you shouldn't be having this compilation error anymore.
 
did you do asm prior to beta?

i'm amazed at how quickly you've been able to dig around in everything, and selflessly provide help.
 

dale_coop

Moderator
Staff member
Never did ASM before NESMaker... I learn everything via Joe’s tutorial videos! And I learn more every day with NESMaker.
Thanks a lot, Joe <3
 

jorotroid

Member
Even with commenting out the fades, I still went over sometimes in my journey to add my own code. But I found that commenting out the scrolling include has not yield any repercussions so far and frees up sizable chunk.

Code:
;.include "Routines\System\HandleScroll2.asm"
 
Top Bottom