10 lines
213 B
Ruby
10 lines
213 B
Ruby
|
require "./celeste_map_reader"
|
||
|
require 'ruby2d'
|
||
|
|
||
|
# fn = 'app/Content/Maps/1-ForsakenCity.bin'
|
||
|
|
||
|
fn = ARGV[0]
|
||
|
|
||
|
a = CelesteMapReader.new(fn)
|
||
|
File.open("#{File.basename(fn)}.xml", "wb") { |f| f.write a.root.inspect }
|