Skip to content

Instantly share code, notes, and snippets.

@Joeywp
Joeywp / ovltemplate.bt
Created May 24, 2016 17:58
Blueprint for 010 editor that allows you to partly read the OVL files of Planet Coaster
//------------------------------------------------
//--- 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:
@Joeywp
Joeywp / Example.js
Last active March 10, 2024 02:33
A very basic RCT3 general archive file reader that stores it's data in a way that makes it possible to edit and eventually even write back a general archive file. It depends on the JavaScript library jDataView.js
$(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) {
@Joeywp
Joeywp / nbt.js
Created May 23, 2015 15:48
A NBT reader for JavaScript making use of jDataViewer to read binary files. Originally made for use in an online schematic viewer that was cancelled
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,