This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to use this file | |
# 1) Run gem install 'json' on the command line to install the json dependency | |
# 2) Place this file in your Starbound linux32 or linux64 directory | |
# 3) Run it on the command line using 'ruby read_contexts.rb coord' without qoutes (make sure you're in the linux32/linux64 directory) | |
require 'fileutils' | |
require 'json' # gem install 'json' | |
abort("Only 1 arguement may be specified") if ARGV.length > 1 |