Decoding tsc files--How?

Sep 12, 2006 at 2:51 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Jul 28, 2006
Location:
Posts: 8
Does anyone know how to decode the numerous .tsc files into a semi-readable format? I'm refering to the actual process of decoding, not just how to read the files in Sue's Workshop.

Thanks in advance.
 
Sep 12, 2006 at 3:50 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Use Miza...
 
Sep 12, 2006 at 3:58 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Jul 28, 2006
Location:
Posts: 8
Is Miza open source? I'm looking for the actual algorithm used to decode the scripts, if there is one. Also, I can't seem to find Miza via Google anyhow...

EDIT: Found Miza, but it doesn't work under Linux. From the look of it, it wasn't what I was searching for anyway. :p
EDIT: Aha! Miza help files pointed me to Dwedit, I typed in his name in Google with "Cave Story", and viola~. I think I found it. Thank you!
 
Sep 12, 2006 at 6:22 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
No prob :p
 
Sep 12, 2006 at 7:11 PM
The Bartender
"All your forum are belong to us!"
Join Date: Jun 18, 2006
Location: Montreal, Canada
Posts: 581
Age: 40
If I remember to check tonight, I'll have a look at my notes. TSC are... script, IIRC? They're encrypted using a weird-ass algorithm, but nothing too complicated.
 
Sep 12, 2006 at 9:44 PM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Mar 1, 2006
Location: Grasstown
Posts: 155
Age: 40
The byte at (file length)/2 (rounded down) is the key to the file.

decrease all other bytes by that value (using modular arithmetic such that 0 -1 = 255), and you get the script in text.
 
Back
Top