ATS: Message Options [VXA]: Compatibility with Himeworks Windowskin Changer?

Hey, was wondering if there were any way to get around making the ATS Message Options script to work with Himeworks Windowskin changer script?

ATS Message Options has a feature for setting a unique windowskin for the message box which I believe is interfering with the Himeworks script, was mainly wondering if there is any way to disable the unique windowskin from the ATS script so that the program doesn't crash whenever I try to change the windowskin via the Himeworks script? Would be great if I could get them both to work in tandem

This is the option in the ATS script that I want to disable, I just want it to inherit whatever the Himeworks script sets the windowskin to whenever I use it

index.php
Please provide copies of or links to the scripts you mention and need help with.
It's very unlikely to happen that somebody is gonna see this and know what to work with elsewise.

~炬燵あ
I had the same issue with the VX version of the script for another windowskin changer script.

There's probably an easier way to do it, but I just changed the way windowskin was initialized for each window.

So I took out:
Code:
self.windowskin = Cache.system ($game_message.message_windowskin).dup

and change it to my own method:
Code:
    winvar = YE::SYSTEM::WINDOW_VARIABLE
  if $game_variables[winvar] == 0
    $game_variables[winvar] = YE::SYSTEM::DEFAULT_WINDOW
  elsif !YE::SYSTEM::WINDOW_HASH.include?($game_variables[winvar])
    $game_variables[winvar] = YE::SYSTEM::DEFAULT_WINDOW
  end
  mso_windowskin = YE::SYSTEM::WINDOW_HASH[$game_variables[winvar]]
self.windowskin = Cache.windows(mso_windowskin)

Obviously this is for VX and could be completely different, and ATS for VXA probably written different way, but it's a good start to check.
This is the option in the ATS script that I want to disable, I just want it to inherit whatever the Himeworks script sets the windowskin to whenever I use it
two changes will work

Himeworks windowskin script line 133, comment it out #
MA ATS Message Options script line 996
change $game_message.message_windowskin
to $game_system.windowskin

You get the error because the script is running refresh but there is no message window open. so no text to redraw.
two changes will work

Himeworks windowskin script line 133, comment it out #
MA ATS Message Options script line 996
change $game_message.message_windowskin
to $game_system.windowskin

You get the error because the script is running refresh but there is no message window open. so no text to redraw.
This worked, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/ats-message-options-vxa-compatibility-with-himeworks-windowskin-changer.160733/