• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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.

[Error] Having problem with Modular Title Screen/Scripting Utilities

  • 282
    Posts
    6
    Years
    • Seen Feb 3, 2025
    I recently downloaded and implemented Luka S.J.'s modular title screen for v17 as well as Scripting Utilities. However, I'm getting one small problem and I don't really want to mess around with these scripts because they are much more complicated than I'm used to. Whenever I press F12 to soft-reset, this error pops up:
    Spoiler:

    I'm pretty sure that I followed the instructions for Modular Title Screen and Scripting Utilities, but I guess I could've missed something. It works fine other than this (it's not really a serious problem but it can be annoying). Is anyone else getting this problem or does anyone know how to fix it?
     
    One of the aliases in my utilities isn't done right, but even when applying the fix it still does the same thing (so I'll need to investigate further). The problem is that the RMXP F12 soft reset keeps all the scripts and globally defined variables cached in the system. I usually discourage people from using F12 because of that, as depending on what global variables your scripts use, or what scripts get loaded, you could see some funky stuff. Add this to your Settings script (the first one in the script editor):
    Code:
    SOFTRESETFIX = true
    It'll instantiate a new instance of the Game.exe instead of re-caching the content in the current one. The behaviour will be funky for the first time you F12 as the RMXP editor will take focus. Every other refresh will be normal. I also hope that you haven't added my scripts to the Main script inside of the script editor, but rather a new section above it. You shouldn't change the Main script.
     
    One of the aliases in my utilities isn't done right, but even when applying the fix it still does the same thing (so I'll need to investigate further). The problem is that the RMXP F12 soft reset keeps all the scripts and globally defined variables cached in the system. I usually discourage people from using F12 because of that, as depending on what global variables your scripts use, or what scripts get loaded, you could see some funky stuff. Add this to your Settings script (the first one in the script editor):
    Code:
    SOFTRESETFIX = true
    It'll instantiate a new instance of the Game.exe instead of re-caching the content in the current one. The behaviour will be funky for the first time you F12 as the RMXP editor will take focus. Every other refresh will be normal. I also hope that you haven't added my scripts to the Main script inside of the script editor, but rather a new section above it. You shouldn't change the Main script.

    Thanks, that seems to have worked. It works perfectly with small, medium, and large screen sizes. I get a message saying Critical Error C0000005 at address 100717E6 when pressing F12 with full screen, but I'm fine with this problem.
     
    Thanks, that seems to have worked. It works perfectly with small, medium, and large screen sizes. I get a message saying Critical Error C0000005 at address 100717E6 when pressing F12 with full screen, but I'm fine with this problem.

    The critical error could come from a mismatch between your RMXP version and the RGSS DLL library of your project (most commonly due to pirating RMXP).
     
    Back
    Top