|
|


 |
  |
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|

March 15th, 2009, 04:32 PM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
Cave Story Python save converter/editor
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
Last edited by Celtic Minstrel; January 13th, 2010 at 02:47 AM.
Reason: Whee! New version!
|

March 15th, 2009, 05:51 PM
|
 |
Snozzcumber
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Jan 2008
Location: Complex Plane
Posts: 1,186
|
|
nug nug.
sounds really useful, but could you make it simpler to use...?
__________________
I get the distinct impression that I may be drifting away from these forums. So, goodbye to y'all.
Any and all work that I have done related to cave story is public domain. Repo it as you may.
Sorry Boots,
- Lace
|

March 15th, 2009, 06:22 PM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
Probably. Not right at this moment though.
|

March 16th, 2009, 03:02 AM
|
 |
Super Moderator
 "Life begins and ends with Nu."
|
|
Join Date: Jul 2007
Location: Australia
Age: 24
Posts: 3,919
|
|
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.
Last edited by andwhyisit; March 16th, 2009 at 03:05 AM.
|

March 16th, 2009, 01:30 PM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
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.
|

March 16th, 2009, 07:55 PM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
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.
|

March 17th, 2009, 04:49 AM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
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.
__________________
Quote:
Originally Posted by T-Jack
Well I've got a solution for you: Think before you type. Sheesh...
|
Some people really need to take this to heart. Not necessarily just the ones it was originally addressed to, either.
|

March 20th, 2009, 03:34 PM
|
 |
In front of a computer
 "I'm sorry Mario, but your princess is in another castle."
|
|
Join Date: Mar 2008
Location: Grasstown
Posts: 1,133
|
|
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.)
__________________
Quote:
Originally Posted by T-Jack
Well I've got a solution for you: Think before you type. Sheesh...
|
Some people really need to take this to heart. Not necessarily just the ones it was originally addressed to, either.
|

March 22nd, 2009, 12:45 AM
|
 |
Super Moderator
 "Life begins and ends with Nu."
|
|
Join Date: Jul 2007
Location: Australia
Age: 24
Posts: 3,919
|
|
Quote:
Originally Posted by Celtic Minstrel
A later release may have a) a Readme file
|
I actually copy-pasted your first post as a readme.
Last edited by andwhyisit; March 22nd, 2009 at 12:49 AM.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 03:19 AM.
| |