I'm remastering an RPG Maker VX Ace game and it used the original save engine. Therefore, the design of the save menu was specially made for that screen and format. I was wondering if there was anyone who could help me remove all the visual changes and just keep the core of it. Thanks a million!
I'm hoping to have the delete, save, and load options be a selectable option from selecting the save slot. Same with the New Game Plus option.
Could someone help me create variations of the Yanfly Save Engine and its new game plus counterpart to remove the new UI and HUD?
RGSS3 Script Requests@splurgytypeb Is this game you're remastering a game that you yourself made?
No, I am remastering PersoNO 0. I am the new owner of the PersoNO parody series as I've been handed down the title of ownership by the original creator. My next project is to remaster this game as I had done with the first entry. Anyhoo, could I receive some assistance...? I'm not too familiar with coding, and my attempts at brute forcing this hasn't gone too well...
Wait, so you want the default rpg maker display of saves (appart from the background you provide) and when you select the save, it displays a submenu with the load/delete/save stuff?
That’s exactly right.
If that’s not too much trouble, that is. I don’t know the logistics of scripting and as I’ve mentioned prior, the brute forcing went nowhere.
Yeah brute forcing the save menu is not a good idea, the save/load menu was highly modified by Yanfly's script. I did a patch that you can put below yanfly's save engine and new game+ scripts:
I tested it with Yanfly's original scripts from his website.
When you select a save, the action menu will pop up:
I did not test the new game+ option but it should work theoretically, though I suggest you test it.
Is that good for you?
Edit: I went along with an open/close animation of the action window, if you don't like it I can simply make it appear and disappear instantly instead.
Ruby:
#==============================================================================
# Yanfly Save Engine with rpg maker original save menu
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 17/07/2025
# Requires: Yanfly Save Engine
# Should be compatible with new game+ addon
#==============================================================================
# The menu will look like rpg maker original save menu with an help window with
# one line and each save slot taking a fourth of the screen.
# When a save is selected, the action menu (save/load/delete) will be displayed
#==============================================================================
# Installation: put it below yanfly's scripts
#==============================================================================
$imported = {} if $imported.nil?
$imported["TIM-YanflySave-OriginalMenu"] = true
if $imported["YEA-SaveEngine"] && $imported["TIM-YanflySave-OriginalMenu"]
#==============================================================================
# Scene_File
#==============================================================================
class Scene_File < Scene_MenuBase
#--------------------------------------------------------------------------
# overwrite method: terminate -> restores the original scene behavior
#--------------------------------------------------------------------------
def terminate
super
@savefile_viewport.dispose
@savefile_windows.each {|window| window.dispose }
end
#--------------------------------------------------------------------------
# overwrite method: update
#--------------------------------------------------------------------------
def update
super
return if @action_window.active #disable cursor navigation
@savefile_windows.each {|window| window.update }
update_savefile_selection
end
#--------------------------------------------------------------------------
# alias method: update_cursor -> @file_window.index follows the scene index
# for compatibility with yanfly's save engine
#--------------------------------------------------------------------------
alias tim_ysom_update_cursor update_cursor
def update_cursor
tim_ysom_update_cursor
@file_window.index = index
end
#--------------------------------------------------------------------------
# overwrite method: on_savefile_ok -> calls the action menu
#--------------------------------------------------------------------------
def on_savefile_ok
Sound.play_ok
on_file_ok
end
#--------------------------------------------------------------------------
# overwrite method: create_all_windows
#--------------------------------------------------------------------------
def create_all_windows
create_help_window
create_savefile_viewport
create_savefile_windows
create_file_window #yanfly's script
create_action_window #yanfly's script
init_selection
end
#--------------------------------------------------------------------------
# overwrite method: refresh_windows
#--------------------------------------------------------------------------
def refresh_windows
@action_window.refresh
@savefile_windows[index].refresh
end
#--------------------------------------------------------------------------
# overwrite method: create_help_window -> restores original line number
# along with yanfly's text
#--------------------------------------------------------------------------
def create_help_window
@help_window = Window_Help.new(1)
@help_window.set_text(YEA::SAVE::SELECT_HELP)
end
#--------------------------------------------------------------------------
# alias method: create_file_window -> hides the window
#--------------------------------------------------------------------------
alias tim_ysom_create_file_window create_file_window
def create_file_window
tim_ysom_create_file_window
@file_window.deactivate
@file_window.openness = 0
end
#--------------------------------------------------------------------------
# alias method: create_action_window -> centers the window and hide it
#--------------------------------------------------------------------------
alias tim_ysom_create_action_window create_action_window
def create_action_window
tim_ysom_create_action_window
@action_window.openness = 0 #hide it
#center the window:
@action_window.x = (Graphics.width - @action_window.width) / 2
@action_window.y = (Graphics.height - @action_window.height) / 2
end
#--------------------------------------------------------------------------
# overwrite method: on_file_ok -> open the action window
#--------------------------------------------------------------------------
def on_file_ok
i = SceneManager.scene_is?(Scene_Load) ? 0 : 1
@action_window.select(i)
@action_window.open
@action_window.activate
end
#--------------------------------------------------------------------------
# overwrite method: on_action_cancel -> close the action window
#--------------------------------------------------------------------------
def on_action_cancel
@action_window.close
@help_window.set_text(YEA::SAVE::SELECT_HELP)
end
end # Scene_File
end #$imported["YEA-SaveEngine"] && $imported["TIM-YanflySave-OriginalMenu"]
I tested it with Yanfly's original scripts from his website.
When you select a save, the action menu will pop up:
I did not test the new game+ option but it should work theoretically, though I suggest you test it.
Is that good for you?
Edit: I went along with an open/close animation of the action window, if you don't like it I can simply make it appear and disappear instantly instead.
That's amazing! I will say that the New Game Plus and the Delete option do not function properly, providing an error instead of working as intended.
I did not have any issue regarding save deletion, from your error message you seem to be using a script called "Save Confirmation"
If you use any script that affects the save menu besides mine, yanfly's save engine or new game + addon, my script might fail to work. Can you share all of the scripts you are using that affect the save menu? (if you did not modify them, just share their original source)
If you use any script that affects the save menu besides mine, yanfly's save engine or new game + addon, my script might fail to work. Can you share all of the scripts you are using that affect the save menu? (if you did not modify them, just share their original source)
i found it!
The save confirmation script is a script that adds a confirmation check before saving, loading, deleting, and so forth.
Ruby:
#-------------------------------------------------------------------------------
# Yanfly's Ace Save Engine - Confirmation Add-on
# Requires Yanfly's Ace Save Engine. Includes New Game Plus add-on confirm.
# by GALV
# Put this script after Yanfly's Save Engine script
# Last updated 2014-04-03 - Fixed bug where loading greater than 9 save file
# index crashes the game
#-------------------------------------------------------------------------------
module YEA
module SAVE
CONFIRM_DELETE = "Delete this save file?"
CONFIRM_SAVE = "Overwrite this save file?"
CONFIRM_LOAD = "Load this save file?"
CONFIRM_NEW_GAME_PLUS = "Restart this game?" # For Yanfly's 'New Game Plus'
end
end
class Scene_File < Scene_MenuBase
alias galv_yf_save_scene_file create_all_windows
def create_all_windows
galv_yf_save_scene_file
create_confirm_window
end
def create_confirm_window
@confirm_window = Window_Confirm.new
@confirm_window.help_window = @help_window
@confirm_window.hide.deactivate
@confirm_window.set_handler(:ok, method(:on_confirm_ok))
@confirm_window.set_handler(:cancel, method(:on_confirm_cancel))
end
def on_confirm_ok
case @confirm_window.current_symbol
when :on_confirm_ok
case @action_window.current_symbol
when :load; on_action_confirmed_load
when :save; do_save; refresh_windows
when :delete; do_delete; refresh_windows
when :new_game_plus; on_action_ngp_confirmed
end
when :on_confirm_cancel
on_confirm_cancel
end
@action_window.activate
@confirm_window.hide.deactivate
end
def on_confirm_cancel
@action_window.activate
@confirm_window.hide.deactivate
end
def on_action_load
n = @file_window.index >= 9 ? "" : "0"
if SceneManager.scene_is?(Scene_Load)
if DataManager.load_game(@file_window.index)
on_load_success
else
Sound.play_buzzer
end
#elsif !Dir.glob('Save0' + (@file_window.index + 1).to_s + '.rvdata2').empty?
elsif !Dir.glob('Save'+ n + (@file_window.index + 1).to_s + '.rvdata2').empty?
confirm_choice
else
Sound.play_buzzer
end
end
if $imported["YEA-NewGame+"]
def on_action_ngp
confirm_choice
end
def on_action_ngp_confirmed
Sound.play_load
DataManager.setup_new_game_plus(@file_window.index)
fadeout_all
$game_system.on_after_load
SceneManager.goto(Scene_Map)
end
end
def on_action_confirmed_load
if DataManager.load_game(@file_window.index)
on_load_success
end
end
def on_load_success
Sound.play_load
fadeout_all
$game_system.on_after_load
SceneManager.goto(Scene_Map)
end
def confirm_choice
@action_window.deactivate
@confirm_window.select(0)
@confirm_window.show.activate
case @action_window.current_symbol
when :load; @help_window.set_text(YEA::SAVE::CONFIRM_LOAD)
when :save; @help_window.set_text(YEA::SAVE::CONFIRM_SAVE)
when :delete; @help_window.set_text(YEA::SAVE::CONFIRM_DELETE)
when :new_game_plus; @help_window.set_text(YEA::SAVE::CONFIRM_NEW_GAME_PLUS)
end
end
def on_action_save
header = DataManager.load_header(@file_window.index)
if header.nil?
do_save
refresh_windows
else
confirm_choice
end
end
def do_save
@action_window.activate
if DataManager.save_game(@file_window.index)
on_save_success
else
Sound.play_buzzer
end
end
def on_action_delete
confirm_choice
end
def do_delete
@action_window.activate
DataManager.delete_save_file(@file_window.index)
on_delete_success
refresh_windows
end
end # Scene_File
class Window_Confirm < Window_Command
def initialize
super(0, 0)
self.back_opacity = 255
update_position
end
def window_width
return 200
end
def update_position
self.x = (Graphics.width - width) / 2
self.y = Graphics.height / 2
end
def update_help; end
def make_command_list
add_command("Yes", :on_confirm_ok)
add_command("No", :on_confirm_cancel)
end
end # Window_Confirm < Window_Command
It's better to provide the original source that is on Galv's website.
Okay so I modified my addon, here is a new version:
This addon is not directly compatible with Galv's script, if you use it, you must put it above my addon. Then, put below my addon this small script:
So your load order should be something like:
Okay so I modified my addon, here is a new version:
Ruby:
#==============================================================================
# Yanfly Save Engine with rpg maker original save menu v1.1
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 05/08/2025
# Requires: Yanfly Save Engine
# Should be compatible with new game+ addon
#==============================================================================
# The menu will look like rpg maker original save menu with an help window with
# one line and each save slot taking a fourth of the screen.
# When a save is selected, the action menu (save/load/delete) will be displayed
#==============================================================================
# 17/07/2025: original script
# 05/08/2025: v1.1 with compatibility prep for galv's confirm addon
#==============================================================================
# Installation: put it below yanfly's scripts, if you use Galv's confirm window,
# put this scripts below Galv's and put the small patch I made below this script
#==============================================================================
$imported = {} if $imported.nil?
$imported["TIM-YanflySave-OriginalMenu"] = true
if $imported["YEA-SaveEngine"] && $imported["TIM-YanflySave-OriginalMenu"]
#==============================================================================
# Scene_File
#==============================================================================
class Scene_File < Scene_MenuBase
#--------------------------------------------------------------------------
# alias method: start
#--------------------------------------------------------------------------
alias tim_ysom_start start
def start
tim_ysom_start
init_selection
end
#--------------------------------------------------------------------------
# overwrite method: terminate -> restores the original scene behavior
#--------------------------------------------------------------------------
def terminate
super
@savefile_viewport.dispose
@savefile_windows.each {|window| window.dispose }
end
#--------------------------------------------------------------------------
# overwrite method: update
#--------------------------------------------------------------------------
def update
super
return unless cursor_movable? #disable cursor navigation
@savefile_windows.each {|window| window.update }
update_savefile_selection
end
#--------------------------------------------------------------------------
# new method: cursor_movable?
#--------------------------------------------------------------------------
def cursor_movable?
!@action_window.active
end
#--------------------------------------------------------------------------
# alias method: update_cursor -> @file_window.index follows the scene index
# for compatibility with yanfly's save engine
#--------------------------------------------------------------------------
alias tim_ysom_update_cursor update_cursor
def update_cursor
tim_ysom_update_cursor
@file_window.index = index
end
#--------------------------------------------------------------------------
# overwrite method: on_savefile_ok -> calls the action menu
#--------------------------------------------------------------------------
def on_savefile_ok
Sound.play_ok
on_file_ok
end
#--------------------------------------------------------------------------
# overwrite method: create_all_windows
#--------------------------------------------------------------------------
def create_all_windows
create_help_window
create_savefile_viewport
create_savefile_windows
create_file_window #yanfly's script
create_action_window #yanfly's script
end
#--------------------------------------------------------------------------
# overwrite method: refresh_windows
#--------------------------------------------------------------------------
def refresh_windows
@action_window.refresh
@savefile_windows[index].refresh
end
#--------------------------------------------------------------------------
# overwrite method: create_help_window -> restores original line number
# along with yanfly's text
#--------------------------------------------------------------------------
def create_help_window
@help_window = Window_Help.new(1)
@help_window.set_text(YEA::SAVE::SELECT_HELP)
end
#--------------------------------------------------------------------------
# alias method: create_file_window -> hides the window
#--------------------------------------------------------------------------
alias tim_ysom_create_file_window create_file_window
def create_file_window
tim_ysom_create_file_window
@file_window.deactivate
@file_window.hide
end
#--------------------------------------------------------------------------
# alias method: create_action_window -> centers the window and hide it
#--------------------------------------------------------------------------
alias tim_ysom_create_action_window create_action_window
def create_action_window
tim_ysom_create_action_window
#@action_window.openness = 0 #hide it
@action_window.hide
#center the window:
@action_window.x = (Graphics.width - @action_window.width) / 2
@action_window.y = (Graphics.height - @action_window.height) / 2
end
#--------------------------------------------------------------------------
# overwrite method: on_file_ok -> open the action window
#--------------------------------------------------------------------------
def on_file_ok
i = SceneManager.scene_is?(Scene_Load) ? 0 : 1
@action_window.select(i)
@action_window.show
@action_window.activate
end
#--------------------------------------------------------------------------
# new method: on_action_cancel -> close the action window
#--------------------------------------------------------------------------
def on_action_cancel
@action_window.hide
@help_window.set_text(YEA::SAVE::SELECT_HELP)
end
end # Scene_File
end #$imported["YEA-SaveEngine"] && $imported["TIM-YanflySave-OriginalMenu"]
This addon is not directly compatible with Galv's script, if you use it, you must put it above my addon. Then, put below my addon this small script:
Ruby:
#==============================================================================
# Yanfly Save Engine with rpg maker original save menu - galv confirm patch
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 05/08/2025
# Requires: Tim's Original save menu and its requirements and Galv's confirm addon
# to Yanfly's save engine
#==============================================================================
# Installation: put it below the required scripts
#==============================================================================
#==============================================================================
# Scene_File
#==============================================================================
class Scene_File < Scene_MenuBase
#--------------------------------------------------------------------------
# alias method: create_all_windows
#--------------------------------------------------------------------------
alias tim_ysom_galv_create_all_windows create_all_windows
def create_all_windows
tim_ysom_galv_create_all_windows
create_confirm_window
end
#--------------------------------------------------------------------------
# alias method: cursor_movable?
#--------------------------------------------------------------------------
alias tim_ysom_galv_cursor_movable? cursor_movable?
def cursor_movable?
tim_ysom_galv_cursor_movable? && !@confirm_window.active
end
end #Scene_File
So your load order should be something like:
Code:
Yanfly's Save Engine
New game+
Galv's confirm addon
My script
My small patch
Oooh, okay! I'm getting this error once putting everything in order. Not sure what it means, but I think this is really good progress. I've got high hopes!
Did you replace my first script with the one from my last post? This issue should not arise otherwise.
Your load order should be:
-Yanfly's save engine
-Yanfly's new game+
-Galv's confirm window
-My original script menu v1.1
-My small patch with Galv's script
Your load order should be:
-Yanfly's save engine
-Yanfly's new game+
-Galv's confirm window
-My original script menu v1.1
-My small patch with Galv's script