Save directories for C2

Discussion and feedback on Construct 2

Post » Tue Jun 25, 2013 9:03 am

From Ashley's tutorial, saved game files are stored permanently on disks, but they are stored on different locations, depending on the browser, platform, etc.

Now, can we have a list of locations where are these files saved? I am using Win7 and Chrome, so where would my save files be?
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Tue Jun 25, 2013 11:27 am

It's not designed to be easy to find them. I think at least Chrome uses miniature SQL databases which it stores information away in, and it's not documented or obvious how to get the information back out - other than to use the 'SaveStateJSON' expression with the browser's 'Download' action to download the save file out of the web page.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464

Post » Wed Jun 26, 2013 10:24 am

I see. Actually, from my other post, what I was looking for, is only the size of the saved file. I wanna see how big it is.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Wed Jun 26, 2013 10:51 am

You can always look at "len(SaveStateJSON)" in the "On save complete" event, I don't think you can get it anywhere else though.
B
17
S
8
G
4
Posts: 461
Reputation: 6,147

Post » Thu Jun 27, 2013 10:54 am

The number I got is in bytes, I presume?
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Thu Jun 27, 2013 11:08 am

Yep.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464


Return to Construct 2 General

Who is online

Users browsing this forum: R0J0hound, vikuserro and 1 guest