• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] [Pokeemerald] Is it safe to remove unused strings?

  • 22
    Posts
    15
    Years
    • Seen today
    So I'm editing the default player names, and I decided to lower the limit from 20 to 6, and I was wondering if I could simply delete the extras from both strings.c and strings.h, which currently are the only 2 places those extra strings are.

    I'm coming from the pokecrystal decomp, where every bit of space counts, but it seems the pokeemerald decomp is much more flexable when it comes to space, so is it even worth it?
     
    So I'm editing the default player names, and I decided to lower the limit from 20 to 6, and I was wondering if I could simply delete the extras from both strings.c and strings.h, which currently are the only 2 places those extra strings are.
    Give it a try and see how it goes. It should work.
    I'm coming from the pokecrystal decomp, where every bit of space counts, but it seems the pokeemerald decomp is much more flexable when it comes to space, so is it even worth it?
    Just fyi, Pokecrystal is not a decompilation project. It's a pure disassembly.
    That being said, is removing unused strings worth the effort? It depends on how much you value every single bit of extra space you can get.
    The ROM does have plenty of free space by default, and you can also expand it all the way up to 32MB if you need to, but at the end of the day unused text strings or functions are still a waste of space.
    There isn't a reason not to remove them if you care enough.
     
    Give it a try and see how it goes. It should work.

    Just fyi, Pokecrystal is not a decompilation project. It's a pure disassembly.
    That being said, is removing unused strings worth the effort? It depends on how much you value every single bit of extra space you can get.
    The ROM does have plenty of free space by default, and you can also expand it all the way up to 32MB if you need to, but at the end of the day unused text strings or functions are still a waste of space.
    There isn't a reason not to remove them if you care enough.

    Oh my bad, I didn't realize they were 2 different things, but that does make sense. To be honest, on the strings, not really, its mostly just habit at this point since pokecrystal, a lot of the time needed the extra space if you were going to do anything significant.
     
    If the rom size is lower then 16 MB the gaps will be filled with 00 or FFs so putting an extra unused string in there or not is really not going to impact the game.

    Source code wise, strings do not take up a lot of space, but you have no reason to keep them around. If the string is really unused, then no one is going to miss it when its gone.
     
    Back
    Top