じ☆ve冰风 发表于 2026-8-2 11:11:16

Quicksave Command

Quicksave v.1.3.1

Cryranos



Introduction

This script recreates the functionality in many RPGs on handheld systems, where the player can save and quit their game at any time, and upon restarting, they will be prompted to either load the file or to delete it and return to the title screen.If they load it, it is deleted.

Features

-Replicates the autosave feature found in handheld RPGs.

-Can add autosave to the menu.

-Can bind autosave to a key.

-Can change directory to which the file is saved.

Screenshots

None.

How to Use

Install the script and edit the module.

Demo

Not necessary.

Script

The most up-to-date version will always be available here on my personal pastebin.

Patches

JV Master Script's Skip Title
SpoilerReplace class Scene_QuickLoadTitle with the following:
                Code:       
class Scene_QuickLoadTitle < Scene_Title

def start
      SceneManager.clear
      Graphics.freeze
      create_command_window
      create_help_window
end

def help_window_text
      CryQuicksave::QSVLoad
end

def create_command_window
      @command_window = Window_QuicksaveCommand.new
      @command_window.set_handler(:confirm,    method(:command_quickload))
      @command_window.set_handler(:decline, method(:command_decline))
      @command_window.set_handler(:cancel,    method(:return_scene))
end

def create_help_window
      @help_window = Window_Help.new(2)
      @help_window.set_text(help_window_text)
end

def command_quickload
      close_command_window
      DataManager.quickload_game
      Sound.play_load
      fadeout_all
      $game_system.on_after_load
      SceneManager.goto(Scene_Map)
end

def command_decline
      DataManager.dispose_quicksave
      DataManager.setup_new_game
      $game_map.autoplay
      SceneManager.goto(Scene_Map)
end

def return_scene
    fadeout_all
    SceneManager.exit
end
end






CRBeam's IBG Flash Screen/Skip Title V2.0
SpoilerReplace module SceneManager with the following:
                Code:       
module SceneManager
def self.first_scene_class
   if $BTEST
   Scene_Battle
   elsif DataManager.quicksave_file_exists?
   Scene_QuickLoadTitle
   else
   IBG_PT#Scene_Title
   end
end
end






Credit and Thanks

- Cryranos, author.
- Acezon, for patch for JV Master Script's Skip Title
- Roninator2, for patch for CRBeam's IBG Flash Screen/Skip Title V2.0

Author's Notes

It is unlikely to be compatible with any script that alters SceneManager.first_scene_class, but other than that, it should be highly compatible.

You are free to use this in any project, free or commercial, so long as I am credited and receive a free or discounted copy of any finished product.


本贴来自国际rpgmaker官方论坛作者:Cryranos处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/quicksave-command.3031/
页: [1]
查看完整版本: Quicksave Command