Okay, so I've finally finished this:
A script to convert between Mac and Windows save files.
It should be considered a "beta" version.
It requires Python 2.6 to run. Mac users are likely to have this already; if you don't have it, it's downloadable from <http://python.org>.
It's meant to be run from the command line, so mac users will have to launch Terminal, make sure the file has execution permission ("chmod +x cavesaveconv.py") and run it (something like "./cavesaveconv.py" or, alternatively, "python cavesaveconv.py").
Please report any bugs that may occur. Any suggestions would be welcome also.
(No longer an attachment, because it's a .tgz which this forum doesn't accept.)
csc_beta.tgz
Cave Story Python save converter
Started by Celtic Minstrel, Mar 15 2009 03:32 PM
- Please log in to reply
60 replies to this topic
#1
15 March 2009 - 03:32 PM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
#2
15 March 2009 - 04:51 PM
Offline
Lesbian Seagull
![]() | "Life begins and ends with Nu." |
Join Date: 04 Jan 2008
Location:
LocationHunky Dory
Posts: 3,062
nug nug.
sounds really useful, but could you make it simpler to use...?
sounds really useful, but could you make it simpler to use...?
#3
15 March 2009 - 05:22 PM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
Probably. Not right at this moment though.
#4
16 March 2009 - 02:02 AM
Offline
Administrator
![]() | "Life begins and ends with Nu." |
Join Date: 15 Jul 2007
Location:
LocationAustralia
Posts: 4,805
Age: 27
Permission to host it on the site?
Also the download link doesn't work. You need to go here and then right-click on the file, save as.
EDIT: Nevermind. The file doesn't save properly when you do that.
Also the download link doesn't work. You need to go here and then right-click on the file, save as.
EDIT: Nevermind. The file doesn't save properly when you do that.

Spoiler
#5
16 March 2009 - 12:30 PM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
I'm guessing that's just a problem with the server that will fix itself at some point. At least, I hope it is. Perhaps I'll put it up as a text file in the meantime... once I get back home, anyway. And I'll re-upload the zip, in case the problem was an upload error.
Yes, you can host it on the site, but it might be better to wait until it's not beta. That's up to you, though. Obviously you'll also have to wait until I re-upload it.
Yes, you can host it on the site, but it might be better to wait until it's not beta. That's up to you, though. Obviously you'll also have to wait until I re-upload it.
#6
16 March 2009 - 06:55 PM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
Well, I have a link that actually works now. It requires you to change the file extension from .txt to .py, but at least you can get it.
Andwhy, if you do choose to put it on your site, please do it as a zipped .py file. Remember that it's beta, though.
Andwhy, if you do choose to put it on your site, please do it as a zipped .py file. Remember that it's beta, though.
#7
17 March 2009 - 03:49 AM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
Whee! Already I have made major changes!
...Well, mostly they are internal changes unnoticeable to users (like putting everything in functions and refactoring stuff). However, the program will no longer quit after doing exactly one thing, so that's one plus. Also the command-line parameters appear to work now (they didn't seem to work before) and there are command-line parameters to extract and convert or convert and store at the same time.
...Well, mostly they are internal changes unnoticeable to users (like putting everything in functions and refactoring stuff). However, the program will no longer quit after doing exactly one thing, so that's one plus. Also the command-line parameters appear to work now (they didn't seem to work before) and there are command-line parameters to extract and convert or convert and store at the same time.
Some people really need to take this to heart. Not necessarily just the ones it was originally addressed to, either.Well I've got a solution for you: Think before you type. Sheesh...
Good thing the internet is made of backups
#8
19 March 2009 - 01:16 PM
Offline
Administrator
![]() | "Life begins and ends with Nu." |
Join Date: 15 Jul 2007
Location:
LocationAustralia
Posts: 4,805
Age: 27

Spoiler
#9
20 March 2009 - 02:34 PM
Offline
In front of a computer
![]() | "Man, if only I had an apple..." |
Join Date: 01 Mar 2008
Location:
LocationGrasstown
Posts: 1,448
You're welcome. 
And thanks for putting it up.
A later release may have a) a Readme file and b) ability to edit the save file. But for now, the conversion is fully functional.
Just one thing that should be mentioned: the "Extract" and "Store" functions won't work on Windows even if you happen to have a Mac Cave Story plist available, because they rely on a utility (plutil if I recall correctly) which comes with MacOSX. It's possible that this will also cause problems with Macs – I don't know whether plutil is part of the main package or whether it's part of the developer package. If the latter, you may need to install XCode Tools from your install disk (or download it from the Apple site).
(XCode itself is not needed, though.)
And thanks for putting it up.
A later release may have a) a Readme file and b) ability to edit the save file. But for now, the conversion is fully functional.
Just one thing that should be mentioned: the "Extract" and "Store" functions won't work on Windows even if you happen to have a Mac Cave Story plist available, because they rely on a utility (plutil if I recall correctly) which comes with MacOSX. It's possible that this will also cause problems with Macs – I don't know whether plutil is part of the main package or whether it's part of the developer package. If the latter, you may need to install XCode Tools from your install disk (or download it from the Apple site).
(XCode itself is not needed, though.)
Some people really need to take this to heart. Not necessarily just the ones it was originally addressed to, either.Well I've got a solution for you: Think before you type. Sheesh...
Good thing the internet is made of backups
#10
21 March 2009 - 11:45 PM
Offline
Administrator
![]() | "Life begins and ends with Nu." |
Join Date: 15 Jul 2007
Location:
LocationAustralia
Posts: 4,805
Age: 27
I actually copy-pasted your first post as a readme.A later release may have a) a Readme file

Spoiler
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












