ROM Hack Unofficial DeSmuME build: Unused memory finder tool

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I might have to have a look at this as it will likely be nicer than fiddling around with deadbeef padding*, far less aggro than doing it by hand and less clunky than just overwriting wifi error codes (nice long ASCII messages, sometimes in several languages all end to end and in the binary from boot).

*though it looks like the main issue I have with that of games sometimes flood filling/"initialising" memory might still trouble it.

Possible future addon - a decode of the overlay table and a quick breakdown of the ranges. I would not hardcode it out as some overlays are just that rare and the extension might only been needed for a little while.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
Yeah the reset thing would help but some of them seem to go in for non null fills.

The overlay table lists the location in memory the overlays are destined for and their size (compressed or otherwise) is equally easy to find. From here you could get the lowest overlay location in memory and also the highest/final location (it can go many ways* so you will have to add sizes to location and figure out the highest number to get the whole picture). Basically it will hopefully stop something the game would never use as it is earmarked for an overlay but being an overlay area it might only be used for a rarely called function and thus your heuristics might flag as a free area.

*there can also be gaps but this is potentially less pressing -- the compilers are fairly smart about this.
 

Blazer

Well-Known Member
Member
Joined
Aug 10, 2008
Messages
281
Trophies
0
XP
470
Country
United States
Thanks. :) I think if I had made this sooner then it might've actually been useful on one of the problems that we ran into on Fire Emblem. Oh well.

That's actually exactly what I was thinking... that and that if I had time, I'd use it to see if I couldn't try to fix the issue once again, though IIRC the issue was a bit complicated and it might not be worth the trouble at this point, now that most everyone who wanted to play the game has, haha.
 

Gryphon93

Well-Known Member
Member
Joined
Nov 30, 2008
Messages
145
Trophies
0
XP
252
Country
Interesting tool, Nagato. Nice work! Have you asked someone on the DeSmuMeE Dev-team to add it in as a "permanent" feature? I think that would be nice. Creating a branch in the SVN repo and commiting it would do the trick to begin with, assuming they accept it. You can always ask on IRC.

I may actually have use for this in a near future, so thanks again for making the tool!
 

snapman

Member
Newcomer
Joined
Aug 31, 2011
Messages
23
Trophies
0
XP
122
Country
United States
So it locates the parts of memory that are never called... those lost, un-named chunks of game memory... the nameless game memory...
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States

snapman

Member
Newcomer
Joined
Aug 31, 2011
Messages
23
Trophies
0
XP
122
Country
United States
Seriously though, am I the only person who noticed what game is in that screenshot? Nagato was the lead hacker on the Nanashi no Game English translation patch, and that's a screenshot of the opening scene of that game's sequel, Nanashi no Game: Me (The Nameless Game: The EYE) with English text!

Check it:


In short: eye see what you did there ^_^
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Maximumbeans @ Maximumbeans:
    I can't believe you got me with that
    +1
  • SylverReZ @ SylverReZ:
    I haven't been gaming for such a long time. Been mostly busy with sleep, hardware tinkering and checking GBAtemp frequently.
  • SylverReZ @ SylverReZ:
    Hope you've had a good morning.
  • Maximumbeans @ Maximumbeans:
    It's going alright thanks :) I know what you mean with gaming time. It's precious where I can get it these days.
    +1
  • Maximumbeans @ Maximumbeans:
    I think that's why I focus on just enjoying single player experiences that aren't too competitive
  • Maximumbeans @ Maximumbeans:
    How are you doing?
  • SylverReZ @ SylverReZ:
    There's also this thing where I'm hyperfocused at night and cannot get to sleep.
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I'm doing alright, thanks.
    +1
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    Maximumbeans @ Maximumbeans: I know the basics but no strategy at all :rofl: