A guide to Cave Story's file formats and important hacks
by fdeitylink
Last updated 2019-10-23
- Learning more about Cave Story for my own edification
- File formats & important hacks weren't all published and collected
Original URL: http://rnhart.net/orgmaker/ | |
Wayback Machine (in case site goes down): https://web.archive.org/web/20161204035709/http://rnhart.net/orgmaker/ |
/* | |
TSC Converter v1.0 | |
A command-line program that converts Cave Story TSC files to plaintext files and back | |
Created by FDeityLink | |
Released under public domain | |
-- Must be compiled with the C++11 standard -- | |
Instructions for use: | |
-Supply a file directory as an argument or in the program itself - the program auto-detects format and converts accordingly. |
#include <iostream> | |
#include <fstream> | |
#include <cstdint> | |
#include <cstring> | |
int main(const int argc, const char* argv[]) { | |
using namespace std; | |
if (argc <= 1) { | |
cerr << "No file provided" << endl; | |
return 1; |