How to decode/encode Cave Story files (i.e. tsc, pxa, pxe, pxm)?

Old topic!
The last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.
Dec 18, 2019 at 4:49 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Aug 5, 2019
Location: Hell
Posts: 37
#1
I'm planning on making a new cave story editor using Electron and HTML/CSS/JS/NodeJS.
However, there are a few things that are crucial before I can make it.
Specifically, I need to know the steps needed to decode / encode tsc, tbl, pxa, pxe, and pxm files.
I'm not looking for a tool, here - I know that you can edit all of those with Booster's Lab or an existing editor.
I want to know exactly what bit operations or whatever you need to do in order to encode/decode these files.

Thanks in advance
 
Dec 18, 2019 at 5:12 PM
Mokou
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2231
Age: 25
#2
I mean, Booster's Lab is open source, do you know anyone that can read Java so they can figure out how BL does it?
 
Dec 18, 2019 at 5:32 PM
Shark bully
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 731
Age: 21
#4
Electron and HTML/CSS/JS/NodeJS.
Is this gonna be some in-browser tool.
I have a thing against those when I can just use a normal proper application.
 
Dec 18, 2019 at 8:40 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Aug 5, 2019
Location: Hell
Posts: 37
#5
Is this gonna be some in-browser tool.
I have a thing against those when I can just use a normal proper application.
eh. kinda.

electron is a thing that you use to port a browser tool to a desktop tool. the Discord desktop app uses it, as well as Visual Studio Code (microsoft's IDE), Atom (github's IDE), github desktop, twitch desktop, balenaEtcher (USB flasher), webtorrent desktop, slack desktop, whatsapp desktop, etc.

the thought is, I write the application in what I know (JS/CSS/HTML) and I then port it over to Electron, where I can port stuff like menu items and stuff over to the native alternatives.
 
Last edited:
Dec 19, 2019 at 5:31 AM
Senior Member
Modding Community Discord Moderator
CSE Discord Moderator
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Jan 14, 2014
Location: Antarctica (The Penguins say Hi)
Posts: 122
Age: 19
#6
We have documentation on this stuff (and much more) floating around in the CSMC.
 
Top