ER-Save-Editor icon indicating copy to clipboard operation
ER-Save-Editor copied to clipboard

i believe many of us PS users just use this tool to transfer PC save to PS4. So we dont even use the inventory editor functionality, but just the character import function. please consider releasing a hotfix to address the crash alone.

Open Eman0133 opened this issue 1 year ago • 37 comments

Hey slayer, what do you mean Carlos complied it and you were able to transfer? I’m only trying to transfer from PC to PS5 as well and would love to do that as soon as possible!

Eman0133 avatar Jun 25 '24 20:06 Eman0133

Is it out a done yet or no

Ninjafartdust130 avatar Jun 25 '24 21:06 Ninjafartdust130

Is it out a done yet or no

no, but some other person was able to compile source codes and other stuff to make it work. im having trouble doing it myself

Eman0133 avatar Jun 25 '24 23:06 Eman0133

Is it out a done yet or no

no, but some other person was able to compile source codes and other stuff to make it work. im having trouble doing it myself

Who's done it? where do I get this I just want to move pc character to ps4 and vise versa that's it.

edgybravo avatar Jun 26 '24 03:06 edgybravo

I've had zero luck here with compiled version. Were you able to load PS4 and import your PC save to it? I can only open PC save

RinxAika avatar Jun 26 '24 13:06 RinxAika

We want the inventory editor get over it womp womp deal with it

Ninjafartdust130 avatar Jun 26 '24 22:06 Ninjafartdust130

Hey yall, so the compiled version, I was only able to move my ‘ Steam ‘ version of E.R. Over to my ps5. I since tried to move my ps5 save around, that will not work anymore! So be careful, I believe the, ‘Download’ link that @Carlos shared ( the compiled version) was only for a pre-dlc transfer PC - Ps5. I was able to do only that.

Eman0133 avatar Jun 27 '24 08:06 Eman0133

I've had zero luck here with compiled version. Were you able to load PS4 and import your PC save to it? I can only open PC save

I have not, only PC->PS5 for now.. check up ^

Eman0133 avatar Jun 27 '24 08:06 Eman0133

@Eman0133 Can you share the steps you took to make it work? I compiled my own version based on another topic here, the save from PC works, the save from PSX crashes it.

CristianAxe avatar Jun 27 '24 15:06 CristianAxe

Hey yall, so the compiled version, I was only able to move my ‘ Steam ‘ version of E.R. Over to my ps5. I since tried to move my ps5 save around, that will not work anymore! So be careful, I believe the, ‘Download’ link that @carlos shared ( the compiled version) was only for a pre-dlc transfer PC - Ps5. I was able to do only that.

I have tried this and nothing works, any help?

Bubbuh-0 avatar Jun 27 '24 19:06 Bubbuh-0

@Eman0133 Can you share the steps you took to make it work? I compiled my own version based on another topic here, the save from PC works, the save from PSX crashes it.

Yeah, so I only followed the instructions of the YouTubers who led me here. At first nothing was working, I used the download link that Carlos sent, in issue forum #37 i think. Using THAT link. I was able to transfer my Pc Save —> FlashDrive for ps4/5. Using SaveWizard and all. I have SINCE tried to copy my current Save file from ps5 ( the one I had FINALLY successfully transferred from pc) back onto the Editor. This crashes the platform just as before, it does still allow me to transfer my OLD ps5 save oddly. Including my original PC save. I can’t move my current ps5 save though and that will likely take Clayamors Update.

Eman0133 avatar Jun 27 '24 22:06 Eman0133

@Eman0133 Do you have a copy of your original PS4 save, and would you be willing to share it? Specifically, the one you exported and that the 0.22 Save Manager was able to read initially. It could possibly be in the back-ups of SaveWizard.

Through testing, I've also concluded that the version of the original PS4 save might be the key factor with the build created by Carlos. Once we have a working save, it could just be a matter of pasting the desidered character over with 0.22 and re-importing it with SW. However, it seems that the tool doesn't function properly after the save has been modified once.

lowryder2005 avatar Jun 27 '24 23:06 lowryder2005

@lowryder2005 I'm fairly confident the calibration update messed something up too. I can't upload anything from a save I just created like 10 minutes ago.

yesdog96 avatar Jun 28 '24 00:06 yesdog96

Greetings! is it possible to transfer a PS4 save to PC using this editor ?

Figma77 avatar Jun 29 '24 09:06 Figma77

Greetings! is it possible to transfer a PS4 save to PC using this editor ?

yes but it's broken now so let's wait for the creator to fix it

OExSTir avatar Jun 29 '24 19:06 OExSTir

Hi all! I can provide some context as to what's going on here and what a potential fix would be!

I have been able to fix this for my own use, and I will explain how to do so, but mind you this is a "duct-tape fix" and will require you make adjustments to the code and build the executable yourself.


First off, what's the issue here?

The main problem seems to be with how the program identifies the save wizard file format. When you load a file into the editor the program must first identify if the file is actually an elden ring save (either PC or playstation). If the program is unable to verify that the file is one of these two types it fails an assertation, which invokes a panic, which causes the program to crash.

As I'm sure you can guess by my explanation so far that's exactly what's happening. The current code in the master branch has a bug in it that causes is_ps_save_wizard to fail to identify that the input file is a playstation file.


So what's the fix?

Well if I had a perfect solution I would've submitted a PR by now, but alas this isn't really my area of expertise. That said, I do have a pretty good idea of what specifically is wrong: the checksum calculation.

Seemingly every ps save wizard file has some fixed (constant / unchanged) data appended to the end of its contents. As far as I can tell the author is attempting to use a MD5 checksum to verify that an input file has this fixed data at the end and is therefore is a ps save wizard file. It appears the author got the starting point of where this fixed chunk of data starts wrong and thus the checksum they're comparing against was calculated with variable data and therefore will not pass the comparison.

So the long term fix would be to figure out the correct starting point of that fixed data so that the correct checksum can be stored, calculated, and compared against.

I however don't know how to find this starting point. I would imagine the most surefire way is for multiple people to submit their ps save wizard file so that they can be compared to find where the unchanging data at the end starts. - Again, though, I can't stress enough that I'm very uneducated in this realm so maybe there's a better way to do this.


Okay, now as promised how can this be fixed short-term?

Just have the is_ps_save_wizard always return true:

pub fn is_ps_save_wizard(br: &mut BinaryReader) -> bool {
	true
}

Luckily, the flow of the program always does the PC file check first so as long as you use non-corrupt pc and ps-savewizard files this should work. The only thing you have to be careful about is passing a file that is not an elden ring save b/c this fix makes it so that every file is identified as the playstation file type.

Edit: If people wouldn't mind posting their save wizard file exports I can probably work towards finding the correct offset and submit a PR.

klarkyson avatar Jun 30 '24 21:06 klarkyson

Hi all! I can provide some context as to what's going on here and what a potential fix would be!

I have been able to fix this for my own use, and I will explain how to do so, but mind you this is a "duct-tape fix" and will require you make adjustments to the code and build the executable yourself.

First off, what's the issue here?

The main problem seems to be with how the program identifies the save wizard file format. When you load a file into the editor the program must first identify if the file is actually an elden ring save (either PC or playstation). If the program is unable to verify that the file is one of these two types it fails an assertation, which invokes a panic, which causes the program to crash.

As I'm sure you can guess by my explanation so far that's exactly what's happening. The current code in the master branch has a bug in it that causes is_ps_save_wizard to fail to identify that the input file is a playstation file.

So what's the fix?

Well if I had a perfect solution I would've submitted a PR by now, but alas this isn't really my area of expertise. That said, I do have a pretty good idea of what specifically is wrong: the checksum calculation.

Seemingly every ps save wizard file has some fixed (constant / unchanged) data appended to the end of its contents. As far as I can tell the author is attempting to use a MD5 checksum to verify that an input file has this fixed data at the end and is therefore is a ps save wizard file. It appears the author got the starting point of where this fixed chunk of data starts wrong and thus the checksum they're comparing against was calculated with variable data and therefore will not pass the comparison.

So the long term fix would be to figure out the correct starting point of that fixed data so that the correct checksum can be stored, calculated, and compared against.

I however don't know how to find this starting point. I would imagine the most surefire way is for multiple people to submit their ps save wizard file so that they can be compared to find where the unchanging data at the end starts. - Again, though, I can't stress enough that I'm very uneducated in this realm so maybe there's a better way to do this.

Okay, now as promised how can this be fixed short-term?

Just have the is_ps_save_wizard always return true:

pub fn is_ps_save_wizard(br: &mut BinaryReader) -> bool {
	true
}

Luckily, the flow of the program always does the PC file check first so as long as you use non-corrupt pc and ps-savewizard files this should work. The only thing you have to be careful about is passing a file that is not an elden ring save b/c this fix makes it so that every file is identified as the playstation file type.

Edit: If people wouldn't mind posting their save wizard file exports I can probably work towards finding the correct offset and submit a PR.

Would it be possible for you to upload the file you made? I have zero scripting experience 😭

yesdog96 avatar Jun 30 '24 23:06 yesdog96

@yesdog96 I forked, applied the "duct-tape fix" I detailed above, and then created a build via github actions https://github.com/klarkyson/ER-Save-Editor/releases/tag/v0.0.22-fix1

I intend to take this down once this is inevitably fixed in main.

klarkyson avatar Jul 01 '24 01:07 klarkyson

@yesdog96 I forked, applied the "duct-tape fix" I detailed above, and then created a build via github actions https://github.com/klarkyson/ER-Save-Editor-PS-Hotfix/releases/tag/v0.0.22-fix1

I intend to take this down once this is inevitably fixed in main.

This is definitely the "hotfix" many of us PS4 players have been waiting for until a main fix/update is released. Just did it and there's still the obvious jank of the main, but I was able to use my current save and import a couple characters. Thanks man.

yesdog96 avatar Jul 01 '24 02:07 yesdog96

@yesdog96 I forked, applied the "duct-tape fix" I detailed above, and then created a build via github actions https://github.com/klarkyson/ER-Save-Editor/releases/tag/v0.0.22-fix1

I intend to take this down once this is inevitably fixed in main.

Thanks for that. I was now at least able to open my PS4 savegame export the first time. Unfortunately I can't find a way to solve my case. I have a PS4 savegame and want to import that to my PC savegame to continue there. I can now open the PS4 savegame with the fix but it crashes when I want to open my PC savegame. With the original version I can open my PC savegame but it crashes when I try to open the PS4 savegame. Am I doing something wrong or does my case not work yet?

Thanks!

BastiKlein avatar Jul 01 '24 19:07 BastiKlein

@BastiKlein I do not own a copy of Elden Ring for PC so the only saves I can test with are ones I can find online. From what I was able to try however I didn't have any issues with importing PS4 -> PC or PC -> PS4. Both PC and PS4 savegames seem to be working for me.

Are your PC and PS4 save files up to regulation (1.12.2)? If not you should first load them into regulation elden ring, re-save them, and then give the save editor a try.

klarkyson avatar Jul 01 '24 21:07 klarkyson

I still have the same issue of not being able to import the PC character into the same PS save I linked before, unfortunately. The Editor opens and allows me to do a few things, including the import, but it never actually saves the changes. Would anyone who has had any luck let me know if they're able to import the character in the first slot into a working memory.txt file that I can re-import via SaveWizard?

MySave.zip

As a bonus you get an online legit file with all items, gestures, etc. from both the base game and the DLC, everything finished in the base game, and only the first two DLC bosses defeated. :)

lowryder2005 avatar Jul 01 '24 21:07 lowryder2005

@lowryder2005 I can confirm I was able to take the .sl2 save file in your zip and import the first character slot "Vaering" to my PS4 save successfully.

The only hiccup that occured was that when I loaded in I was spawned under the map and had to fast travel to a nearby site of grace.

So that's all to say I'm sorry I can't help you more, but everything seems to be working fine for me.

klarkyson avatar Jul 01 '24 22:07 klarkyson

Thank you so much! Do you think you could reshare the entire CUSA folder? This way I can just resign it with SW, I guess. It will spare me a headache... T_T

Il giorno mar 2 lug 2024 alle ore 00:08 klarkyson @.***> ha scritto:

@lowryder2005 https://github.com/lowryder2005 I can confirm I was able to take the .sl2 save file in your zip and import the first character slot "Vaering" to my PS4 save successfully.

The only hiccup that occured was that when I loaded in I was spawned under the map and had to fast travel to a nearby site of grace.

So that's all to say I'm sorry I can't help you more, but everything seems to be working fine for me.

— Reply to this email directly, view it on GitHub https://github.com/ClayAmore/ER-Save-Editor/issues/47#issuecomment-2201161345, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQBJ64AFSN4HIKHAVLZV53ZKHHNHAVCNFSM6AAAAABJ4QTOXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBRGE3DCMZUGU . You are receiving this because you were mentioned.Message ID: @.***>

lowryder2005 avatar Jul 01 '24 22:07 lowryder2005

@BastiKlein I do not own a copy of Elden Ring for PC so the only saves I can test with are ones I can find online. From what I was able to try however I didn't have any issues with importing PS4 -> PC or PC -> PS4. Both PC and PS4 savegames seem to be working for me.

Are your PC and PS4 save files up to regulation (1.12.2)? If not you should first load them into regulation elden ring, re-save them, and then give the save editor a try.

That actually worked! Thank you. Very much appreciated!

BastiKlein avatar Jul 02 '24 20:07 BastiKlein

@BastiKlein I do not own a copy of Elden Ring for PC so the only saves I can test with are ones I can find online. From what I was able to try however I didn't have any issues with importing PS4 -> PC or PC -> PS4. Both PC and PS4 savegames seem to be working for me. Are your PC and PS4 save files up to regulation (1.12.2)? If not you should first load them into regulation elden ring, re-save them, and then give the save editor a try.

That actually worked! Thank you. Very much appreciated!

Could you share your 1.12.2 PS4 save? I think the original one I'm using is corrupted and doesn't allow me to import my PC character. I've been desperate to find a save just to use it as a base to import the character over.

lowryder2005 avatar Jul 02 '24 20:07 lowryder2005

@lowryder2005 I'm guessing by the footer of your email reply that you're European. Perhaps you're having issues b/c the PS4 save you're using needs to be the north american region? (I don't know if this is true, just troubleshooting)

klarkyson avatar Jul 02 '24 22:07 klarkyson

@lowryder2005 I'm guessing by the footer of your email reply that you're European. Perhaps you're having issues b/c the PS4 save you're using needs to be the north american region? (I don't know if this is true, just troubleshooting)

Hi again, klarkyson. You're correct, I'm EU-based. I'm not too sure if that could be a factor because (hypothetically) the saves for Elden Ring are not tied to the region(s); I imported and re-signed a US save via SaveWizard in the past with no issue. Then again, I don't know the inner workings of the editor.

The problem so far is just that no build of the ER Save Editor allows me to overwrite the PS4 save with the PC character (opening the exported PS4 file that needs to be rewritten is a bit wonky too). If I had to guess, I think it could be related to the fact that I downloaded a (heavily) modded save with an ungodly amount of items since it was the only PS4 one I could find with the right version that the editor could read. That's the save I shared as MySave.zip before in this same thread. I think the editor just has issues working with that specific save, despite it being the right version.

Sadly, I have only a physical copy of ER (PS5). If it were digital, I could just download the PS4 version and do it myself, I guess.

lowryder2005 avatar Jul 02 '24 22:07 lowryder2005

Could you share your 1.12.2 PS4 save? I think the original one I'm using is corrupted and doesn't allow me to import my PC character. I've been desperate to find a save just to use it as a base to import the character over.

Hi, sure. I attached the one that worked for me with the fix. Hope it helps.

memory1.zip

BastiKlein avatar Jul 02 '24 22:07 BastiKlein

Hi, is this fix to bypass the crash caused by the dlc? I am assuming I can not add dlc items until an update is made by the author? @yesdog96

sindhudhairya avatar Jul 02 '24 23:07 sindhudhairya

Could you share your 1.12.2 PS4 save? I think the original one I'm using is corrupted and doesn't allow me to import my PC character. I've been desperate to find a save just to use it as a base to import the character over.

Hi, sure. I attached the one that worked for me with the fix. Hope it helps.

memory1.zip

You are amazing, thank you! This is exactly what I needed. I've finally been able to import the character over this. If there's anything I can do in-game to help you do let me know. :)

lowryder2005 avatar Jul 03 '24 00:07 lowryder2005