Display a background image in Window_Help in Save/Load Menu

Good evening,

I'm not sure where to post this request
I'm sorry if i post in the wrong section

I think I need help to put an image background in Window_Help in Save/Load Menu

I use this script to have background images

Spoiler: Script for background image in windows
Ruby:
module Theo
  #----------------------------------------------------------------------------
  # To identify window name. Only use to debug. Set to false if not used.
  # Because extra sprite adds up an extra process.
  #----------------------------------------------------------------------------
    DisplayWindowName = false
    
  #----------------------------------------------------------------------------
  #----------------------------------------------------------------------------
  # Record all windows name here that you wish to display a background image
  # The format goes like:
  #
  # Window_ClassName => 'image name'
  # The image name must be located in Graphics/system
  #----------------------------------------------------------------------------
  WindowList = {
      Window_MenuStatus => 'Status',
      Window_MenuCommand => 'Command',
      Window_NameEdit => 'NameEdit',
      Window_Help => 'Help',
      Window_ItemCategory => 'ItemCategory',
      Window_ItemList => 'ItemList',
      Window_SkillCommand => 'SkillCommand',
      Window_SkillList => 'SkillList',
      Window_SkillStatus => 'SkillStatus',
      Window_EquipStatus => 'EquipStatus',
      Window_EquipItem => 'EquipItem',
      Window_EquipCommand => 'EquipCommand',
      Window_EquipSlot => 'EquipSlot',
      Window_SaveFile => 'SaveFile',
      Window_Status => 'Status',
      Window_GameEnd => 'GameEnd'
    
 
  } # <-- Don't remove this
  #----------------------------------------------------------------------------
end

class Window_Base
 
  alias background_init initialize
  def initialize(*args)
    background_init(*args)
    text = self.class.to_s
    size = text_size(text)
    if Theo::DisplayWindowName
      @name_text = Sprite.new
      @name_text.bitmap = Bitmap.new(size.width+2, size.height)
      @name_text.bitmap.font.size = 19
      @name_text.bitmap.fill_rect(@name_text.bitmap.rect, Color.new(0,0,0,128))
      @name_text.bitmap.draw_text(@name_text.bitmap.rect, text)
    end
    if Theo::WindowList[self.class]
      @back_img = Sprite.new
      @back_img.bitmap = Cache.system(Theo::WindowList[self.class])
    end
    update_extra
  end
 
  alias bg_update update
  def update
    bg_update
    update_extra
  end
 
  def update_extra
    if @name_text
      @name_text.viewport = self.viewport
      @name_text.x = self.x
      @name_text.y = self.y
      @name_text.z = self.z + 1
      @name_text.visible = self.visible
    end
    if @back_img
      @back_img.viewport = self.viewport
      @back_img.x = self.x
      @back_img.y = self.y
      @back_img.z = self.z - 1
      @back_img.opacity = self.openness
      @back_img.visible = self.visible
    end
  end
 
  alias bg_dispose dispose
  def dispose
    bg_dispose
    dispose_extra
  end
 
  def dispose_extra
    @name_text.dispose if @name_text
    @back_img.dispose if @back_img
  end
 
end

But Window_Help in Equip/Skills/Items has a different size of the one in Save/Load
(sorry it's in french)
So it does this :

Spoiler: Screenshots
skill menu
Game_2kV3lV3R5b.png

Save menu
Game_Ta8RfaprVv.png

So I made a very little script which make the Window_Help bigger in Save/Load Menu

Spoiler: Little script
Ruby:
#==============================================================================
# ** Scene_File
#------------------------------------------------------------------------------
#  This class performs common processing for the save screen and load screen.
#==============================================================================

class Scene_File < Scene_MenuBase
 
  #--------------------------------------------------------------------------
  # * Create Help Window
  #--------------------------------------------------------------------------
     def create_help_window
       @help_window = Window_Help.new(1)
       @help_window.height = 75
       @help_window.set_text(help_window_text)
     end
end

It works but I would like to display an image on Window_Help on Equip/Item/Skill Menus and a different one in Save/Load Menu

If you need more infos, feel free to ask
I'm not sure about what infos you need to help me
*Sees my name on the module name*
I swear I don't even remember I made this.

But here's a little hack that might help.
Code:
class Window_HelpSave < Window_Help
end

class Scene_File
  def create_help_window
    @help_window = Window_HelpSave.new(1)
    @help_window.set_text(help_window_text)
  end
end
It fools the script to use a different window class even though it is basically the same. You just need to add "Window_HelpSave" in the config.
Thank you for your reply!

Game recognizes it as Window_HelpSave
Game_Usup7p0S3D.png


But when I add it in the config, game crash
Spoiler: config
RPGVXAce_xU4kt4GD8l.png

Spoiler: Crash
Game_3FPmxZPUIK.png
That's weird. The only thing that this would be the case if you put my patch below the script, not above. When I tried it above the script, it works just fine. But I saw your script list is already in the correct order. Are you sure that was the case?
Ow i put the code you gave me following the script

Now it's above (in Save Window Fix) and it works perfectly

Thank you for your time

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.

Original thread: https://forums.rpgmakerweb.com/threads/display-a-background-image-in-window_help-in-save-load-menu.120328/