This file contains hidden or 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
# modified from https://gist.github.com/jankowskib/f886f087d9cb1f578284 | |
# works for at least... | |
# % ruby --version | |
# ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5) [arm64-darwin24] | |
# usage: | |
# ruby parser-json.rb ./cubemain.bin somewhere/else/cubemain.json | |
# ^ assumes you named this file "parser-json.rb", otherwise change the command to match |