Skip to content

Instantly share code, notes, and snippets.

# 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