mirror of
https://github.com/maddievision/Celestial.git
synced 2024-08-14 23:55:37 +00:00
9 lines
206 B
Ruby
9 lines
206 B
Ruby
|
require "./celeste_map_reader"
|
||
|
# fn = 'app/Content/Maps/1-ForsakenCity.bin'
|
||
|
|
||
|
ARGV.each do |fn|
|
||
|
base = File.basename(fn, ".json")
|
||
|
a = CelesteMapReader.new(fn, fmt: :json)
|
||
|
a.write "bin/#{base}.bin"
|
||
|
end
|