Post subject: Can FCEUX tell us level map's address?
Soig
He/Him
Skilled player (1477)
Joined: 12/4/2010
Posts: 252
I've TASed smb3's hack - Mario Adventure in 2012. And I've hacked MF into NSMB(DS) last year. And now, I want to hack Mario Adventure into NSMB. But I fall into the problem... Mario Adventure is much different from native smb3. SMB3's editor (smb3 workshop) can't edit Mario Adventure. Because it can't load the currect level address of Mario Adventure... So now, I don't know every level address of MA. But FCEUX can load currect level address to run every level. So... If FCEUX can tell me those level addresses, smb3's editor will load every level's currect address and I can view every level's map by smb3 editor. So can it? If can, tell me how to watch those addresses, please~
Patashu
He/Him
Joined: 10/2/2005
Posts: 4016
You're looking for a memory address that changes whenever you change the level, and stays the same whenever you test it again within the same level (or if it's per room, s/level/room). You can do this with standard RAM Search tools.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
HHS
Active player (282)
Joined: 10/8/2006
Posts: 356
The level pointer is at $61. So, set a write breakpoint at $62 and you'll be able to tell what the level pointer gets set to.