[Ace] Galv's Menu Themes Engine + Modern Algebra's Change Windowskin

● ARCHIVED · READ-ONLY
Started by AoSapphire 10 posts View original ↗
  1. I'm not sure if this kind problem have already happened to others.

    I'm using this two scripts to my other game after testing Galv's menu theme engine in my test game.
    I thought there won't be a problem. But after adding Galv's script in my other game, it sure had proved me wrong...
    Image
    bandicam-2018-11-05-00-00-20-902.jpg
    This one appeared after I add Galv's menu theme engine.

    Are Galv's menu theme engine and modern algebra's change window skin not compatible with each other?
    Or is there any way to fix this kind of error?
  2. Please whenever you ask script support, also include the link to the script.
  3. Looks like MA is at fault here, he modified cache script in quite unusual way. Theoretically it wont cause problem for default system, but it could crash in a system that did something unexpected.

    Try this, put at the bottom of MA script
    Code:
    class << Cache
      def system(filename, *args)
        if $game_system
          filename = $game_system.macw_windowskin if filename == "Window"
        else
          filename = MACW_WINDOWSKIN
        end
        macw_systm_2mf0(filename, *args) # Call original method
      end
    end
  4. TheoAllen said:
    Looks like MA is at fault here, he modified cache script in quite unusual way. Theoretically it wont cause problem for default system, but it could crash in a system that did something unexpected.

    Try this, put at the bottom of MA script
    Code:
    class << Cache
      def system(filename, *args)
        if $game_system
          filename = $game_system.macw_windowskin if filename == "Window"
        else
          filename = MACW_WINDOWSKIN
        end
        macw_systm_2mf0(filename, *args) # Call original method
      end
    end
    I thought I noticed that something is unusual in that part... But, anyways, I tried it but now this showed up:
    Image
    bandicam-2018-11-05-15-07-29-993.jpg

    Ah, wait! Bottom... right sorry xD
    I did but something else happened and it's on galv's script this time.
    Image
    bandicam-2018-11-05-15-14-18-166.jpg
  5. It should be on line 69, why it changed to 72? What did you change?
    Anyway how did u put my patch?

    Edit: Did you JUST remove the alias?
  6. TheoAllen said:
    It should be on line 69, why it changed to 72? What did you change?
    Anyway how did u put my patch?
    I've redone it haha, that got me confused a bit cause they have the same lines. Except the bottom of the class << cache of course.
    I was able to start the game but when loaded a saved game an eror from galv's script appeared... Or do I have to start a new game?
    I'm gonna go and try it out...

    Re-edit the reply before this one, sorry about that.
  7. You need to start a new game. Because most of scripts were built to require a new game.
    It is possible to patch a few scripts so it works on saved games. But you'd gonna do that for almost every script you plan to add to make sure it works. Which it isn't worth for the effort sometimes

    tldr. Just start a new game.
  8. TheoAllen said:
    You need to start a new game. Because most of scripts were built to require a new game.
    It is possible to patch a few scripts so it works on saved games. But you'd gonna do that for almost every script you plan to add to make sure it works. Which it isn't worth for the effort sometimes

    tldr. Just start a new game.
    I did and it worked! Yay!~ Now I can continue on making the game :kaojoy:
    Thank you very much! :kaoslp:
  9. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.