AssignBanks.asm(127): Value out of range.

MrElephant

Member
Hello,

I am having an error which is preventing my game from compiling. To give some background.

Routines\System\AssignBanks.asm(127): Value out of range. --this is the error I am receiving

Software Version: 4.0.11

Windows Version: 10 (I don't know why this would make a difference)

Custom Scripts: Only Dale's after text warp screen script found here. I've been able to compile in the past using this -so not thinking this is the cause of the problem. http://nesmakers.com/viewtopic.php?p=9717#p9717

Recent Changes: I've added around 100 textboxes and I changed Monster_0_05.bmp

Other side note: Currently I have over 256 screens including overworld and underworld

I am able to compile using an earlier version of my program, so I am thinking this is an overflow error. How can I test this? Last time I compiled, a message box provided me this response "game.nes written (524304 bytes)." I am surprised that entering text would cause this error though. Would it be possible for someone to confirm?

I found this old thread, but I do not think anyone found a proper solution. http://nesmakers.com/viewtopic.php?f=19&t=378&sid=79c817a65328930c2601ca077b11c342&start=10
 

dale_coop

Moderator
Staff member
I think it's related to your texts... maybe too much text? texts too long?
Try to reduce some of them, to see if it works.
Make a backup of your current project (nesmaker folder) before doing that.
 

MrElephant

Member
Hey Dale, thanks for responding. It seems like the max number of texts you can have tops around 176. I don't know if this is unique to my project, or for Nesmaker in general. It's a shame because I have a lot more planned for my story. I had to already take out 22 random text pieces to get the game to compile.
 
Top Bottom