Jump to content


Photo
- - - - -

Cave Story Mac Save File Transfer


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
9 replies to this topic

#1 26 August 2012 - 04:45 PM

zeroxgen Offline
Novice Member
"Fresh from the Bakery"
Join Date: 26 Aug 2012
Location:
Posts: 5
 

I've been playing Cave Story, and in my save I've gotten to the Outer Wall, but I realized I didn't properly save Curly and drain her. I don't really want to play through the entire game again, so I've gotten a save file that is nearby the core room battle with the machine gun. Problem is though, is that it is a Window's save and doesn't really work on the Mac I'm playing on. I'm a bit of a noob with computers, so I can't really figure out how to use the Python save converter. If anyone knows how to get a save file working on Mac, or knows how to use the converter, please tell me.

#2 26 August 2012 - 05:03 PM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Because Celtic Minstrel is very generous and wants all his users to learn Python, it turns out the Python Save Converter doesn't actually convert anything.

To fix this, put the following code at the end of csc_convert.py (edit it with IDLE or something):
convert("Profile.dat", "MacFile.dat")

And double click csc_convert.py to run it.

#3 26 August 2012 - 07:29 PM

zeroxgen Offline
Novice Member
"Fresh from the Bakery"
Join Date: 26 Aug 2012
Location:
Posts: 5
 

I added it onto the end of csc_convert.py. I assume I need to rename the save file to Profile.dat for it to actually find the file, so I did, and it looks like it did, but when I place it into the preferences and rename it to com.nakiwo.Doukutu.plist and when I run the game it starts me off at the beginning of the game. Am I missing something big here?

#4 26 August 2012 - 08:07 PM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Are you sure you did this?

convert("Profile.dat", "com.nakiwo.Doukutu.plist")

Also, don't save back to the same file Profile.dat or that could cause issues.

Edited by Carrotlord, 26 August 2012 - 08:08 PM.


#5 26 August 2012 - 09:58 PM

zeroxgen Offline
Novice Member
"Fresh from the Bakery"
Join Date: 26 Aug 2012
Location:
Posts: 5
 

I copy pasted it in. I've put it after "Print "--> Profile converted."" and I know it's running the line itself because if there is no Profile.dat, it gives me an error saying it cannot find a file name Profile.dat. I'm just gonna go out on a limb at assume that is not the correct place to put it.

#6 26 August 2012 - 10:40 PM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

It's not the right place to put it? Did you get it working or not?

#7 26 August 2012 - 11:41 PM

zeroxgen Offline
Novice Member
"Fresh from the Bakery"
Join Date: 26 Aug 2012
Location:
Posts: 5
 

No, but after digging through the file, I did find this

def convert(source, dest):
orig = Profile.dat(Profile.dat,'rb')
new = com.nakiwo.Doukutsu.plist(com.nakiwo.Doukutsu.plist,'wb')
def copy(n):
new.write(orig.read(n))
def swap(n):

Which I'm assuming is for the actual converting
And I copy pasted the convert(Profile.dat, com.nakiwo,Doukutsu,plist) right below this

orig.close()
new.close()
print "--> Profile converted."

And Profile.dat is in the folder with all the files itself.

#8 27 August 2012 - 03:45 AM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Here is a Mac save file attached to this post. It's right before the core with 41 life and the machinegun.

Please remember that in Python, quotes are significant. Also you put commas in your plist and spelled Doukutsu wrong in the first post. Not sure what's up with that.

Note: rename the file so that it doesn't have .txt at the end. IPBoard sucks so they don't let me upload plists.

Attached Files


Edited by Carrotlord, 27 August 2012 - 03:47 AM.


#9 28 August 2012 - 02:49 AM

zeroxgen Offline
Novice Member
"Fresh from the Bakery"
Join Date: 26 Aug 2012
Location:
Posts: 5
 

Oh, I was manually typing out the plist file name so I think I messed it up a bit. Thanks for the file though, I don't think I would be able to get Python working <_<

#10 28 August 2012 - 04:44 AM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Well python hates everyone except people who put up with its comma-laden 1 elem tuples and colons.



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