#Inserting code hacks into NSMB breaks the rom (any rom hacks even those provided as example)

1 messages · Page 1 of 1 (latest)

wary trail
#

Exactly what the title says. When I try to run the rom on Desmume, only a white screen appears.
Didn't happen before but now they do and I don't actually know what might be causing that because before it wouldn't happen.

I used a clean NSMB rom and the instant boot script, just to make sure I'm not drawing wrong conclusions.
I was using Fireflower to build roms with added files, but that wasn't an issue since the rom was working, so it can't be because of that. And now without Fireflower it still doesn't work.

#

And now when I open the rom with NSMB, it says inedx out of array's range or smth

light cipher
#

use an older version of nsmbe for that, and use melonds

#

desmume is outdated

wary trail
#

and I don't want to use an older version of NSMBe too

light cipher
#

desmume doesnt really support modded stuff that well i think

#

just try melonds first

#

the same thing happens when you open newer in the new version of nsmbe

wary trail
#

Tried 5.4 instead of 5.4.1 and it still doesn't work

#

can't go any longer because no support for NCPatcher

wary trail
light cipher
#

thats what happens for some reason when certain files are modified in the romfs for the brand new one, use an older build

distant shuttle
#

i have no idea what is causing this

#

but it might have to do with ncpatcher, or something related to what patches the rom, since you tried with a clean rom

wary trail
#

I think it has something to do with building the rom, I might have tried to build the rom accidentally in the wrong folder instead of the fireflower folder

#

in the template folder

distant shuttle
#

ok

wary trail
#

or maybe because of the backup folder that I moved out of the template folder temporarily

distant shuttle
#

i think you might need to remove the backup folder and try again with a clean rom

wary trail
#

No, it can be removed because of "safety problems" as pointed out on github

oak bridge
#

also the instant boot patch can cause some problems

wary trail
#

so moving it out might have caused the break of NCPatcher?

oak bridge
#

what version of ncp are you using?

wary trail
wary trail
oak bridge
#

i dont think so

wary trail
oak bridge
#

I remember 1.0 was broken

wary trail
#

it was working 1-2 hours ago, it just now happened not to work

#

I might have to set up the whole template again

oak bridge
#

ok try this

#

grab a clean rom, delete the build and the backup folder

#

then try compiling again

wary trail
#

That fixed it

#

Weird

#

@oak bridge thanks, so I basically just had to delete the build and backup folder

oak bridge
#

yeah

#

otherwise the patches keep stacking and it becomes a mess

wary trail
#

moving the build folder out, very likely caused it because I was still using the backup folder or whatever

oak bridge
#

the backup folder is a claen version of all the overlays

#

oh yeah, a tip for anybody whos is using hex edits, if you edit the file in the backup folder too, the hex edit should stay applied

distant shuttle
#

thanks!

distant shuttle
buoyant pike
#

And MelonDS for multiplayer testing