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
//------------------------------------------------ | |
//--- 010 Editor v7.0 Binary Template | |
// | |
// File: Overlay | |
// Authors: Joeywp | |
// Version: 0.08 | |
// Purpose: Structing the Overlay files for Planet Coaster (Cobra Engine) | |
// Category: | |
// File Mask: *.ovl | |
// ID Bytes: |
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
$(document).on('drop', function (e) { | |
e.stopPropagation(); | |
e.preventDefault(); | |
$("body").removeClass("drop"); | |
var files = e.originalEvent.dataTransfer.files; | |
//console.log(files[0]); | |
new BinaryLoader(files[0], function (archive) { | |
console.log(archive); | |
if (archive != null) { |
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
var NBT = function(data) | |
{ | |
this.data = data; | |
this.viewer = new jDataView(data); | |
this.tags = { | |
TAG_END: 0, | |
TAG_BYTE: 1, | |
TAG_SHORT: 2, | |
TAG_INT: 3, | |
TAG_LONG: 4, |