Skip to content

Instantly share code, notes, and snippets.

@jankowskib
jankowskib / gist:f886f087d9cb1f578284
Created July 9, 2015 19:56
decode Diablo II's CubeMain.bin
#!/usr/bin/env ruby
# dump_cubemain.rb
#
# Copyright 2015 Bartosz Jankowski
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0