| 对付傻瓜用傻办法就好了 
 
 class << DataManager  #--------------------------------------------------------------------------  # ● 执行存档(没有错误处理)  #--------------------------------------------------------------------------  def save_game_without_rescue(index)    File.open(make_filename(index), "wb") do |file|      $game_system.on_before_save      Marshal.dump(make_save_header, file)      file.write [Marshal.dump(make_save_contents)].pack('m0')      @last_savefile_index = index    end    return true  end  #--------------------------------------------------------------------------  # ● 执行读档(没有错误处理)  #--------------------------------------------------------------------------  def load_game_without_rescue(index)    File.open(make_filename(index), "rb") do |file|      Marshal.load(file)      extract_save_contents Marshal.load(file.read.unpack('m0').first)      reload_map_if_updated      @last_savefile_index = index    end    return true  endend
class << DataManager 
  #-------------------------------------------------------------------------- 
  # ● 执行存档(没有错误处理) 
  #-------------------------------------------------------------------------- 
  def save_game_without_rescue(index) 
    File.open(make_filename(index), "wb") do |file| 
      $game_system.on_before_save 
      Marshal.dump(make_save_header, file) 
      file.write [Marshal.dump(make_save_contents)].pack('m0') 
      @last_savefile_index = index 
    end 
    return true 
  end 
  #-------------------------------------------------------------------------- 
  # ● 执行读档(没有错误处理) 
  #-------------------------------------------------------------------------- 
  def load_game_without_rescue(index) 
    File.open(make_filename(index), "rb") do |file| 
      Marshal.load(file) 
      extract_save_contents Marshal.load(file.read.unpack('m0').first) 
      reload_map_if_updated 
      @last_savefile_index = index 
    end 
    return true 
  end 
end 
 |