Jump to content


Photo
- - - - -

Cave Story Python save converter


Old topic!
Guest, 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.


  • Please log in to reply
60 replies to this topic

#1 15 March 2009 - 03:32 PM

Celtic Minstrel Offline
In front of a computer
"Man, if only I had an apple..."
Join Date: 01 Mar 2008
Location: LocationGrasstown
Posts: 1,448
 

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

#2 15 March 2009 - 04:51 PM

Lace 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...?
Posted Image

#3 15 March 2009 - 05:22 PM

Celtic Minstrel 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

andwhyisit 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.

Posted Image

Spoiler

 


#5 16 March 2009 - 12:30 PM

Celtic Minstrel 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.

#6 16 March 2009 - 06:55 PM

Celtic Minstrel 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.

#7 17 March 2009 - 03:49 AM

Celtic Minstrel 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 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.

Good thing the internet is made of backups


#8 19 March 2009 - 01:16 PM

andwhyisit Offline
Administrator
"Life begins and ends with Nu."
Join Date: 15 Jul 2007
Location: LocationAustralia
Posts: 4,805
Age: 27
 

http://cavestory.org...aveconvbeta.zip

It's up.

Also I forgot to mention, thanks for doing this.

Posted Image

Spoiler

 


#9 20 March 2009 - 02:34 PM

Celtic Minstrel 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. :p

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.)

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.

Good thing the internet is made of backups


#10 21 March 2009 - 11:45 PM

andwhyisit Offline
Administrator
"Life begins and ends with Nu."
Join Date: 15 Jul 2007
Location: LocationAustralia
Posts: 4,805
Age: 27
 

A later release may have a) a Readme file

I actually copy-pasted your first post as a readme. :D

Posted Image

Spoiler

 




Old topic!
Guest, 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.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users