mkxp/extra/dump.rb

9 lines
140 B
Ruby
Raw Normal View History

2020-05-06 07:33:51 +00:00
require 'yaml'
eval(IO.read('dump_rgss.rb'))
file = File.open(ARGV[0], "r")
data = Marshal.load(file)
IO.write('dump.yml', data.to_yaml)