Sky Force Anniversary

Sky Force Anniversary

38 ratings
Aussiedroid's SFA Save Game Location
By Aussiedroid
How to Backup your Local Save Game properly, including Stats & Stars plus how to access the Hidden Menus.
   
Award
Favorite
Favorited
Unfavorite
Hidden Menus

There are a couple of hidden menus you can access in Sky Force Anniversary (SFA).

To change controller/keybindings or graphic settings...

Sky Force Anniversary Config Menu: (Pictured Left)
Hold 'ALT' & Click Play from Steam.


To invert the direction on analog stick on a controller...

Invert Axis Debug Menu:
Start the Game
Enter Help Menu
Press F11

(More details can be found posted 'here')
Save Description (Info)

I play SFA on 2 PCs at home; my main PC in the study & my media center PC in my lounge room (for some couch play). I noticed, although Steam Cloud was enabled & my medals, upgrades & cards were synced, my stats & stars did not sync! Investigating this, I found it confirmed on the discussions by evil_arev, one of the developers, that this is stored locally in the Windows Registry, and the actual location was later reported by Steam user by the name of Ghost. Not sure why this isn't stored in the Cloud with the rest, but at any rate this can be backed up or transfered to another computer manually in the case you may need to reinstall Windows or upgrade to a new computer/OS.

You won't loose your precious gameplay stats!

For those who want to backup regularly (or like me want to transfer between 2 PCs), I have also extended the guide to cover advanced method of creating a batch file to semi-automate the process, eliminating the need to go into the registry editor each time.
Save Backup (Manual Process)

Below steps outline how to find & export the Sky Force Anniversary registry keys containing the stats & stars from your existing installation to another computer. I believe your medals, upgrades & cards are also stored here if you are not using Steam Cloud, else they will sync from the cloud when you start the game from the other PC.


  1. OPEN REGISTRY: Press Windows Key+R (or via the Search bar from the Windows Start Menu) & type 'regedit'.


  2. LOCATE REG KEYS: You can navigate the registry to manually find the SFA key as pictured below. Alternatively you can press CTRL+F to search registry. Enter 'Infinite Dreams'. It should be the second search result you are after. The key is found at this location:

    HKEY_USERS\S-1-5-21-xxxxxxxx-xxxxxxxxx-xxxxxxxxx-1000\Software\Infinite Dreams\

    ** Click Me 2 Enlarge **Note #1: The xxx numbers missing above will be unique to your Windows installation, but should have the same start & end structure.

    Note #2: There are actually 2 locations where this is stored in your registry, under the HKEY_CURRENT_USER & HKEY_USERS nodes. The difference is HKEY_CURRENT_USER is your local profile & HKEY_USERS is the system wide setting. The one you need is the HKEY_USER keys as this should apply to all users on the computer.

    Note #3: If HKEY_USER profile is missing then default to HKEY_CURRENT_USER.


  3. EXTRACT REG KEY: Right Click on the 'Infinite Dreams' folder & select Export.


  4. SAVE REG KEY: Enter name (eg. SFA-Backup.reg), a location (such as Desktop) & Save.




    Note #4: 'Selected Branch' should be automatically selected, but if not ensure it is before saving.

Congratulations! You have now successfully backed up your SFA registry settings.

Save Restore (Import Process)

It is relatively simple to add this registry backup to your new/alternative PC.


  1. IMPORT REG KEY: Copy your 'SFA-Backup.reg' file to your new/alternative PC (such as Desktop). Double click to execute (or Right Click & select Merge).

    When prompted choose 'Yes'.


    Note #5: If you encounter the following error then a further step will also be required to align the system serial numbers prior to importing:










  2. ERROR MANAGEMENT: Open regedit on the new/alternative PC & Navigate to the HKEY_USERS\S-1-5-21-xxxxxxxxx-xxxxxxxxxx-xxxxxxxxx-1000\ folder. This should be different to your original PC serial number.

    • Right Click on the folder & select 'Copy Key Name'.

    • Open your 'SFA-Backup.reg in Notepad (Right Click > Open With > Notepad).

    • Replace the two serial numbers by highlighting the portion of the key as shown below & Paste (CTRL-V) to copy over:







    • CTRL+S to Save (or Save on Exit).

    • Rerun 'SFA-Backup.reg'. Double click to execute (or Right Click & select Merge)

All done!

You can now startup the new SFA installation & should see all of your previously acquired stats.
Save Advanced (Semi-Auto Process)

If you are just wanting to transfer your stats 'once-off' to a new installation or PC then the above manual method is your best alternative, but for those that would like to backup frequently to cover scenarios like a harddrive or Windows failure or want to track their stats while playing on multiple PCs then the semi-automated method below is for you!

Instructions below explain how to use this script as a batch file to automatically extract the registry key & also convert the unique PC serial numbers. This is incase you are moving to another installation and will ensure the there is no errors adding to the registry again.


@echo off &setlocal @echo Aussiedroid's SFA Stats + Stars Registry Backup Script @echo ====================================================== @echo Setting Parameters... setlocal ENABLEDELAYEDEXPANSION set tempfile="%TEMP%\SFA-Backup-Temp.txt" set outputfile="D:\Desktop\SFA-Backup.reg" set origserial=S-1-5-21-1111111111-1111111111-1111111111-1000 set newserial=S-1-5-21-2222222222-2222222222-2222222222-1000 @echo Done @echo Running Extraction... regedit /e %tempfile% "HKEY_USERS\%origserial%\Software\Infinite Dreams" @echo Done @echo Running Conversion... for /f "tokens=* delims=¶" %%i in ('"type %tempfile%"') do ( set str=%%i set str=!str:%origserial%=%newserial%! echo !str!>>%outputfile% ) @echo Done @echo Deleting Temp File... del %tempfile% @echo Done @Pause

ADVANCED INSTRUCTIONS:
  1. Highlight all the text in the code box above, & Copy.

  2. Open Notepad & Paste copied text.

  3. Before proceeding further, you will need to customise the coloured variables seen in the code box above in your Notepad version.

    GREEN
    • Temporary File location (tempfile) will, by default, use your Windows Temp folder to save registry keys before editing. You can change this to any location you like, but is not required.

    • Output file name (outputfile) & location will tell the script where to save your converted registry keys as a .reg file. Your desktop or backup folders can be a good location. Choose somewhere where it is easy to access.

    PURPLE
    • These are the Unique serial numbers found in the registry for your installation (origserial & newserial) for each PC. Extract these from 'regedit' as explained further in the manual steps. Your original serial is the PC with your stats & stars, and new serial is the secondary PC you want to import the stats & stars across to.

    • If you are cloning an installation, then you will have the same serial number on both PCs. In such an event, make both origserial & newserial the same value for the script to work. Alternatively if you are savvy, you can edit the script to remove it.

  4. From the menu in Notepad select 'Save As'.

  5. Change the Save as type to *.* (All Files)

  6. Enter filename 'SFA-Backup.bat' & Press Save.

  7. Run 'SFA-Backup.bat'.

  8. Done!

SYNCING STATS BETWEEN TWO INSTALLATIONS:

If you are like me and want to keep all your stats on 2 PCs, then the above script can be used as well, but unfortunately I do not know a way to automate it completely. What this means is that you will need to edit two copies of the batch file, one on each PC, and invert the origserial & newserial values. Also update the file locations as needed for tempfile & output file.

After a play session you would need to run the batch file on that PC to get a fresh registry extract. Either save it in a shared network location or transfer back, and then import it over the other older playthrough on the second PC. Next time, rinse and repeat.

If anyone knows of a better way to automate this between two PCs on a network either using these batch files or otherwise, please leave a comment!!


Hope this information has been helpful!

Appendix
Change Log | Notes

Did I miss something?


Could I improve this guide?


Your constructive feedback is welcome!




*** Please give me a 'Thumbs Up' if you found this guide helpful ***














AUSSIEDROID'S CURATOR @
https://steamhost.cn/curator/6857016/

AUSSIEDROID'S WORKSHOP CONTRIBUTIONS @
https://steamhost.cn/steamcommunity_com/id/aussiedroid/myworkshopfiles/?section=guides

TRUE BLUE REVIEWS @
https://steamhost.cn/steamcommunity_com/groups/TrueBlueReviews



* 1.1 (6th Jan 17) - Removed Coloured Text (No longer working).
* 1.0 (30th Jun 16) - Published Guide! *
* 0.9 (29th Jun 16) - Added Save Advanced.*
* 0.7 (28th Jun 16) - Added Artwork & Formatting.*
* 0.5 (24th Jun 16) - Added Save Location Description & Instructions.*
* 0.3 (23rd Jun 16) - Added Hidden Menus & Started Artwork. *
* 0.1 (22nd Jun 16) - Created Draft Outline. *

--> My Sky Force Anniversary Review
--> My Sky Force Anniversary Icon (256x256) + PNG (512x512) Download Pack[drive.google.com]
5 Comments
Aussiedroid  [author] 29 Jun, 2020 @ 6:10am 
Hey Mate,

I haven't done much bat file coding recently and what you are suggesting sounds rather complicated. Could you use the file created time to check which one is newer?

AD
Meow 28 Jun, 2020 @ 9:47am 
You could make a .bat that compares the timestamps of the two files and always use the newest as your source to copy over the older file. When you're finished playing, execute the batch and you'll always have the latest .reg file ready to import on the other PC. Search stackoverflow for "compare timestamps of files in a batch script" for sample code. Repathing your Desktop folder to a different location (or sharing that path with your other PC) would be necessary but I think you've probably already done that.
Aussiedroid  [author] 30 Jun, 2016 @ 5:06pm 
Much appreciated pratfall! What was going to be a very simply batch file turned out to be a bit more complex than I was expecting :lol:

I'm not sure of the reason to not include the stats in the cloud (it is what it is I guess), but does seem odd to me too. Would love to see an update to address it, and also fix the In-Home streaming not allowing controllers and second controller issues too. :spazwinky:
Qix 30 Jun, 2016 @ 12:42pm 
Great work on this batch file.

I wish the developers would just implement cloud features more fully to begin with though. I think developers should be forced to implement backing up save game files as a prerequisite to declaring a game cloud sync enabled.
Aussiedroid  [author] 30 Jun, 2016 @ 8:32am 
I've been using this batch for a little while and has been working well for me, but I have not shared it publically until now. Please let me know if you run into any issues. Thanks All! :enemyace: