Plugin Showcase: Link
Tutorials Playlist: Link
Example Project: Link
*** Changes in UE5.3+ ***
Added new methods for Saving/Loading the game that intends to replace the existing ones (This change doesn’t affect projects using older versions of the plugin). Note that using the new methods is completely optional but recommended for new projects.
The new methods now all use the `.sav` extension for all save files, the `.csav` extension was removed since the plugin auto detects if a save file is compressed or not automatically now.
The new methods can handle corrupted files gracefully (for example, `CSW::LoadGameFromSlot()` will return an `IO error` if it tries to load a corrupted/invalid file, without crashing the program).
`CSW::SaveGameToSlot()` can save backups automatically (The amount of backups is customizable). These backups are saved under the `.bakx` extension.
The saving methods can now select a `PathMode`, to either save/load files to relative paths on the save folder or any path in the platform system. Different platforms may have different restrictions, so this is exposed to give better control on where to save the game.
Added new methods to handle the backups (`GetFirstBackupForSlot()`, `MoveBackupToSlot`, `GetBackupIndexesForSlot()`) that can be used to load backup files, for example, if something went wrong after attempting to load a save file.
Added a `MigrateSaveFileFrom2.0To3.0` method that can be used to migrate save files created with the old saving methods so they can be used with the new methods.
Added a new example on how to use these new methods to the project example linked in the description (5.3+). The example is located in `Content/Maps/zzAutoBackups`
*** – ***
*** Change in UE5.0+ ***
Since UE5, “CSW::LoadGameFromSlot()” does no longer need a SaveGame object reference input. This change will require a small modification in the logic as the node will throw an error (only in UE5.0 for users moving from UE4). Please note that the following link shows the current recommended way of using the “CSW::LoadGameFromSlot()” node.
Link
Additionally, the example project has been updated to UE5 as well.