News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: "String not found."  (Read 1766 times)

FlyingFire64

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
"String not found."
« on: September 26, 2014, 10:37:16 pm »
I've made multiple threads(like this one from recently -> http://www.romhacking.net/forum/index.php/topic,18664.0.html) for the sole purpose of learning how to change certain palettes with hex editing. This actually happens with me for multiple games. What I usually do is open a rom in FCEUX, go in to the PPU viewer, look for the palette I want to edit, open my rom with my hex editor, search the hex values, and finally find/change the hex. 1/3 of the time, it gives me a "String not found." message(I've come across this when searching edited and unedited palettes.), another 1/3 of the time I do find it and the hex editing works, and the last 1/3 of the time, I find it and it and the hex editing doesn't work. I'd like some help with the "String not found." situation and the "Finding the hex, but the changes don't do anything to the game's code at all." situation, because I'm quite tired of having this happen to me for multiple NES games(SMB3, SMB1, etc)

EricThaDead

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
    • DECI.ML
Re: "String not found."
« Reply #1 on: September 27, 2014, 01:40:32 am »
Sometimes things are split up in the games code for whatever reason, and don't appear in your hex editor exactly as you would think. For example, a palette I was recently searching for was something like 00 0F 16 05, but actually never appeared like that in the hex editor. It was just 0F 16 05. So, ya kind of just have to try different things to find exactly what you are searching for.

As far as finding the hex value but it doesn't actually change it, just because you find the combination you were searching for, doesn't mean that is actually the code that represents the palette (or whatever else) you may have been searching for. It just happens that the hex you were searching for is the same as some other data in the game.

Trial and error. If you change some hex values and it doesn't do what you thought it would, change it back and try to find the next occurrence of those values in your hex editor.