HarukaMa / starfield-xgp-import

Import .sfs savefile to Xbox version
The Unlicense
85 stars 8 forks source link

not working #1

Closed Bcawesomer closed 1 year ago

Bcawesomer commented 1 year ago

open the exe drop the file in it closes nothing happens but the exe in the save folder click a key it closes.

HarukaMa commented 1 year ago

Try running the program in a cmd window instead to see its output (if there is any).

Bcawesomer commented 1 year ago

Desktop Screenshot 2023 09 06 - 16 19 55 85 am i doing something wrong?

HarukaMa commented 1 year ago

drag the exe file into the cmd window, add a space and a double quote after that, drag the sfs file into the cmd window , then add another double quote. the whole command line should look like

<... path ...>\sfsconvert.exe "<... path ...>\Save74_...sfs"
Bcawesomer commented 1 year ago

Desktop Screenshot 2023 09 06 - 16 29 12 18

scwiterx commented 1 year ago

Here I managed to convert, but the game does not recognize the save.

HarukaMa commented 1 year ago

@Bcawesomer didn't know you don't need to manually input the double quotes anymore. Please try again with just manually inputting a space.

@scwiterx The importer completed without any error, and the game is not showing the save file when you try tho load the game? Please first make sure you are importing the save file with the game fully closed and wait for a short moment after closing the game. Otherwise I might need the current container and the backup one to further diagnose it.

Bcawesomer commented 1 year ago

i just found that out thanks for the help and the program:)

scwiterx commented 1 year ago

image

This is the save folder before converting. This save that is there is from the beginning that I made in the gamepass.

image After the conversion.

image

scwiterx commented 1 year ago

OMG, IT WORKS. THANKS BRO!!

mridul7x commented 1 year ago

The dragging to cmd method works. Thanks!

ParrishT3 commented 1 year ago

I am highly stupid when it comes to this.

I open a CMD window in Admin mode, I drag main into it and not a thing happens at all.

I open a CMD window no admin, it pops up with the path. I copy the code listed above and it gives me an "access is denied" error.

I copied the path over to the Admin CMD and it still says Access Denied. What am I doing wrong? I think I'm missing an .exe file? All I have is what is in the download with the main.py and main.spec ? I do not see an sfsconverter.exe in the download or files section.

EDIT: I double down on my stupid comment. I found the exe in releases (as it said) and it worked by dragging my .sfs into the converter no problem. Entered the game and it recognized it, no problem.

It gave me a warning "This save file may rely on using content that is no longer there, blah blah blah "Constellation and Old Mars"

Scooda commented 1 year ago

I'm having the same issue @scwiterx had converter worked no problem. The game syncs with xbox for a few minutes before starting I'm assuming to read the new saves but they don't appear in game. image

ParrishT3 commented 1 year ago

I'm having the same issue @scwiterx had converter worked no problem. The game syncs with xbox for a few minutes before starting I'm assuming to read the new saves but they don't appear in game. image

This is purely the cloud sync issue. I've seen issues on people saying it took up to 45 minutes to see their saves sync from one system to the other. I'd let it rest and pick it back up later just in case. Try relogging your game pass app and forcing a new sync?

HarukaMa commented 1 year ago

Updated the readme to add a note about the cloud sync issue.

It's definitely annoying as there is zero indicator if the sync is in progress. I had a check in the code to detect if there are state mismatches (usually caused by in-progress sync), but apparently it doesn't work every time.

Amnessie commented 1 year ago

@HarukaMa Hello First of all thank you for the great program! and also I have a question, do you know if there is any way to edit the .sfs files if I open them now with Wordpad its all scrambled text and weird characters I`d like to compare a corrupt save file with a non corrupt save file to see what is the problem with the corrupt save files.

Thank you!

scwiterx commented 1 year ago

Estou tendo o mesmo problema@scwiterxo conversor funcionou sem problemas. O jogo sincroniza com o xbox por alguns minutos antes de começar. Presumo que vou ler os novos salvamentos, mas eles não aparecem no jogo. imagem

I didn't do anything too much, I tested another save and it worked. But I believe that's what the friend said down there. You have to convert and wait a while for it to appear.

HarukaMa commented 1 year ago

@HarukaMa Hello First of all thank you for the great program! and also I have a question, do you know if there is any way to edit the .sfs files if I open them now with Wordpad its all scrambled text and weird characters I`d like to compare a corrupt save file with a non corrupt save file to see what is the problem with the corrupt save files.

Thank you!

I briefly tried to see how the save file is constructed (besides the compressed chunks), but it seems pretty complicated. You can start from reading the save file using the code in savefile_types.py to see if it can be at least read and decompressed.

HarukaMa commented 1 year ago

I'm converting this "issue" to discussion now as it is becoming too unfocused.