How do I find save state files

Get help using Construct 2

Post » Mon May 16, 2016 12:35 pm

I'm using save state in my app and have been trying to find where they are created on the computer itself?
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Post » Mon May 16, 2016 6:04 pm

As a cookie for the specified browser.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Tue May 17, 2016 3:07 pm

Hi @plinkie,

Is there a way to get the this as a specific file? I have an app that uses save state to keep setups the user makes. (It lists them for loading at a later date). I'd like to have some pre setup save states if it is possible.

Cheers,
Last edited by Mayfly on Fri May 20, 2016 10:27 am, edited 1 time in total.
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Post » Fri May 20, 2016 10:27 am

I've tried a search on my pc for the save state name used in the event editor but nothing was found.
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Post » Sun May 22, 2016 6:16 pm

Clearing browser cache will clear any local save data. I don't think you're supposed to access it locally though, not without some kind of code workaround. To do the pre setup save states wouldn't you just create them all on a first load? The name used for the save state is just an HTML tag it won't appear as a local file in a search, all data should be in a cookie file somewhere.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Mon May 23, 2016 4:41 am

maybe if you access the cookie list it should be listed like something like Localhost:5000 ? Like as in the same name as the game in the browser? Im curious about this as well.

I mean if anti-virus scan can find those cookies then we should be able to manually find it as well ?
B
52
S
24
G
6
Posts: 391
Reputation: 7,845

Post » Mon May 23, 2016 12:09 pm

You could probably find it but why would you need to? You can clear browser cache to clear data. If you locate the actual file it's probably just a load of encryption.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Mon May 23, 2016 6:49 pm

Hi @plinkie,

I have a few different states I'd like to have loadable and the site would be visited by different computers. My app has around 90 rows of lists / text files so rather than do a loop trough and read / write to a variable in local storage back and forth the save state was a very nice easy fix to start with.

I need to allow the app to import from excel so can use that option (It currently exports to excel) but this was a nice quick implementation to save certain quotes / stages of quotes with no code.

Image

Thanks,
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Post » Wed May 25, 2016 3:53 pm

@ashley

Do you know if there is a way to make save states local on the computer so that it is a file that can be transferred to other users / also is safe from cookies being deleted?
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Post » Wed May 25, 2016 4:30 pm

Posting the data to a server is probably most preferable these days, or to save a local file use the Browser "Invoke download" option.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Next

Return to How do I....?

Who is online

Users browsing this forum: blackhornet, Matei511 and 64 guests