NW.js v0.13.0 alpha 6 local storage saving.

Discussion and feedback on Construct 2

Post » Fri Nov 27, 2015 9:25 am

It runs my game now but my save files are gone on export. (can't use this because my games already released.)

I use the local storage And just add the global variable information to a file. Is there any way to make my old saves work?

Edit: so I noticed that saves have moved from:
C:\Users\Sapphire Dragon\AppData\Local\EternalStep\Local Storage
to:
C:\Users\Sapphire Dragon\AppData\Local\EternalStep\User Data\Default\Local Storage

and if I move them there then change the name form:
file__0.localstorage
to:
chrome-extension_gikennafeifiahbkmpgilekpijcnjhac_0.localstorage

I can get it working.

Any way to get C2 to use the old destination and name?
B
12
S
4
G
1
Posts: 137
Reputation: 1,519

Post » Fri Nov 27, 2015 10:17 am

Try adding the the args --data_path="" to set a folder for storage, or the user data path args.

See if it works.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,607

Post » Fri Nov 27, 2015 11:01 am

Is this in the chromium args in the package.lson and just adding the link to the local storage folder?

I tried doing it that way and got:
Failed to load extension from:(path) manifest is not a valid JSON on starting the game
B
12
S
4
G
1
Posts: 137
Reputation: 1,519


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests