Changes

Jump to navigation Jump to search
No change in size ,  00:40, 8 November 2021
m
Text replacement - "''e.g.''," to "''e.g.,''"
Line 2: Line 2:  
The game '''saves''' progress when the [[Day Cycle|in-game day]] ends, ''i.e.'', when the farmer goes to bed, collapses from exhaustion, or collapses at 2am. All progress during a day is lost if the player quits the game without ending the day. In [[multiplayer]], the game saves after all players click through the prompts at end of day and wake up in the morning.
 
The game '''saves''' progress when the [[Day Cycle|in-game day]] ends, ''i.e.'', when the farmer goes to bed, collapses from exhaustion, or collapses at 2am. All progress during a day is lost if the player quits the game without ending the day. In [[multiplayer]], the game saves after all players click through the prompts at end of day and wake up in the morning.
   −
Save files are tagged with the version of the game that last saved the file (''e.g.'', <code><gameVersion>1.5.4</gameVersion></code>). An older version of the game is not able to load a newer save file, but a <i>newer</i> version can load an older save. Once a newer version saves over an older save file (''e.g.'', when you save for the first time after the game itself was updated to a new version), the save file will be tagged with the newer version number.
+
Save files are tagged with the version of the game that last saved the file (''e.g.,'' <code><gameVersion>1.5.4</gameVersion></code>). An older version of the game is not able to load a newer save file, but a <i>newer</i> version can load an older save. Once a newer version saves over an older save file (''e.g.,'' when you save for the first time after the game itself was updated to a new version), the save file will be tagged with the newer version number.
   −
A save file may be transferred to a different device family (''e.g.'', from mobile to PC) as long as the game version on the receiving device is not older than the save file's version tag. For example, a save file from a mobile device running a game version equivalent to v1.4 can be transferred to and used on a PC running v1.5, but a v1.5 PC save file will not run on a mobile device with v1.4.
+
A save file may be transferred to a different device family (''e.g.,'' from mobile to PC) as long as the game version on the receiving device is not older than the save file's version tag. For example, a save file from a mobile device running a game version equivalent to v1.4 can be transferred to and used on a PC running v1.5, but a v1.5 PC save file will not run on a mobile device with v1.4.
    
==Save format==
 
==Save format==
The saves are stored as XML files on your computer or mobile device. They're stored separately from your game, so you can safely reinstall or update the game without losing them. On PC, they're shared between different copies of the game (''e.g.'', if you buy it from both GOG and Steam).
+
The saves are stored as XML files on your computer or mobile device. They're stored separately from your game, so you can safely reinstall or update the game without losing them. On PC, they're shared between different copies of the game (''e.g.,'' if you buy it from both GOG and Steam).
    
Each save has a folder like <samp>JonSnow_123456789</samp>, with two main files inside it: <samp>JonSnow_123456789</samp> and <samp>SaveGameInfo</samp>. Both files are needed to load the save.
 
Each save has a folder like <samp>JonSnow_123456789</samp>, with two main files inside it: <samp>JonSnow_123456789</samp> and <samp>SaveGameInfo</samp>. Both files are needed to load the save.
Line 127: Line 127:  
#* If the files are still there, here are some common fixes (try one at a time):
 
#* If the files are still there, here are some common fixes (try one at a time):
 
#*# If some of the files have <code>_STARDEWVALLEYSAVETMP</code> in the name, remove that from their name and reload the game. You may need to first disable Steam cloud saves for SDV, as it can keep automatically renaming them every time you reload. To do that, go to Stardew Valley in your Steam library, click the gear icon and go to Properties, and uncheck the option to sync cloud saves.
 
#*# If some of the files have <code>_STARDEWVALLEYSAVETMP</code> in the name, remove that from their name and reload the game. You may need to first disable Steam cloud saves for SDV, as it can keep automatically renaming them every time you reload. To do that, go to Stardew Valley in your Steam library, click the gear icon and go to Properties, and uncheck the option to sync cloud saves.
#*# If you recently renamed or created the folder (''e.g.'', to restore a backup), make sure the folder name '''exactly''' matches the file that looks like <samp>YourName_0123456789</samp>.
+
#*# If you recently renamed or created the folder (''e.g.,'' to restore a backup), make sure the folder name '''exactly''' matches the file that looks like <samp>YourName_0123456789</samp>.
 
#*# Try [[#Undo the last save|undoing the last save]].
 
#*# Try [[#Undo the last save|undoing the last save]].
 
#*# If you are on PC, ensure that the game files do not have an extension like <code>.bin</code>. If you are on Android, you may need to add the file extension <code>.bin</code>.
 
#*# If you are on PC, ensure that the game files do not have an extension like <code>.bin</code>. If you are on Android, you may need to add the file extension <code>.bin</code>.
Line 281: Line 281:     
===Remove an NPC===
 
===Remove an NPC===
You can remove an NPC from your save file (''e.g.'', to fix an NPC permanently stuck in an invalid place). If it still exists in the game data, the NPC will respawn when you reload the save file. This should be a last resort, and is unnecessary when using SMAPI versions 3.0 and up, as SMAPI will attempt to remove this data for you.
+
You can remove an NPC from your save file (''e.g.,'' to fix an NPC permanently stuck in an invalid place). If it still exists in the game data, the NPC will respawn when you reload the save file. This should be a last resort, and is unnecessary when using SMAPI versions 3.0 and up, as SMAPI will attempt to remove this data for you.
    
# [[#Edit a save|Open your save file for editing]]. Make sure you format the file for readability per those instructions.
 
# [[#Edit a save|Open your save file for editing]]. Make sure you format the file for readability per those instructions.
 
# Remove the NPC:
 
# Remove the NPC:
## Search for the NPC's default name between 'name' tags (''e.g.'', to remove Penny: <samp>&lt;name&gt;Penny&lt;/name&gt;</samp>).
+
## Search for the NPC's default name between 'name' tags (''e.g.,'' to remove Penny: <samp>&lt;name&gt;Penny&lt;/name&gt;</samp>).
 
## Remove the entire 'NPC' section containing the line you found, starting from the previous <samp>&lt;NPC&gt;</samp> line up to and including the next <samp>&lt;/NPC&gt;</samp> line.
 
## Remove the entire 'NPC' section containing the line you found, starting from the previous <samp>&lt;NPC&gt;</samp> line up to and including the next <samp>&lt;/NPC&gt;</samp> line.
 
# ''(optional)'' Remove the NPC friendship data:
 
# ''(optional)'' Remove the NPC friendship data:
## Search for the NPC's default name between 'string' tags (''e.g.'', to remove Penny: <samp>&lt;string&gt;Penny&lt;/string&gt;</samp>).
+
## Search for the NPC's default name between 'string' tags (''e.g.,'' to remove Penny: <samp>&lt;string&gt;Penny&lt;/string&gt;</samp>).
 
## Remove the entire 'item' section containing the line you found, starting from the previous <samp>&lt;item&gt;</samp> line up to the next <samp>&lt;/item&gt;</samp> line.
 
## Remove the entire 'item' section containing the line you found, starting from the previous <samp>&lt;item&gt;</samp> line up to the next <samp>&lt;/item&gt;</samp> line.
  
105,580

edits

Navigation menu