v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

A backup/restore system

A place for general discussion about the content and gameplay of Andor's Trail.
User avatar
Kashim
Posts: 125
Joined: Tue Sep 13, 2016 8:40 pm
android_version: 9.0 - Pie
Location: The Internet

A backup/restore system

Post by Kashim »

So, I know that the game is still in development, and our saves should be treated as disposable, and I'm not mad, just heartbroken.
Last night my phone decided to spontaneously factory reset itself. Lost my contacts and photos, but more importantly, RIP to the following characters:
Kashim - Level 38, closest to my own moral compass, had a DR of 10, used shield + QSD, and could just beast through almost any area.
Lux - Level 24, fully Shadow aligned, and had 2 RoLS, and had already gotten to Remgard, and was about to attempt the Hira-Zinn.
Fey - Level 17, fully Feygard aligned, dual wielded brutal clubs. Never spent a level on AD (almost all AC) and only got 1 swing/turn, but MAN did that swing HURT.

And the most painful:
Flux - Level 1, my template, had a full set of reasonable equipment including 2 Villain's Rings, a Hardened Leather Shirt, a JoF, QSD, and others. He also had enough experience to jump him to level ~10 despite never having completed a single quest, or killed a single boss. He had the courage to take a stand against Rabies, no matter how long it took. Thank Elythara I hadn't gotten an RoLS pair on him yet like I was planning.

Has anyone considered linking the game to google play or something to allow drive to backup your saves, or some other backup/restore system beyond copying files off of your phone manually?
I have too many characters to list them, so I'll just list my most important:
Template Flux
Lvl: 1 XP:56034
L&E: RoLS: 2 ElyR: 1 RoL: 2 BD: 1
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: A backup/restore system

Post by Zukero »

I know some set up a Dropbox sync for the saves folder.
I also considered some Google play integration, but it doesn't fit with the free software spirit, and storage is limited (large enough for a couple dozens saves, but too small for worldmap thumbnails IIRC).

There must be a way to set up an rsync client on a schedule too.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: A backup/restore system

Post by rijackson741 »

Sorry to hear about that. I got paranoid about my savegames and manually backed them up to my PC. I do have some photos that are not backed up though, so I guess I should take care of that :roll:
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: A backup/restore system

Post by rijackson741 »

Zukero wrote: Fri Jul 28, 2017 2:23 pm storage is limited (large enough for a couple dozens saves, but too small for worldmap thumbnails IIRC).
Google drive gives you 15Gb for free. That includes your gmail and Google+ photos, but even then, savegames would be minimal. Savegames are unlikely to be more than 1Mb, total.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: A backup/restore system

Post by Zukero »

I was talking about automatic cloud saves on Google play games services.
Limits

Google Play games services currently enforce size limits on binary data and cover image sizes of 3 MB and 800 KB respectively.
More on https://developers.google.com/games/ser ... savedgames
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: A backup/restore system

Post by sdevaney »

Zukero wrote: Fri Jul 28, 2017 5:33 pm I was talking about automatic cloud saves on Google play games services.
Limits

Google Play games services currently enforce size limits on binary data and cover image sizes of 3 MB and 800 KB respectively.
More on https://developers.google.com/games/ser ... savedgames
Hmmm what if we did something along the lines of including the world map in the apk but only have them revealed on the map screen once the character goes into the map? Would that make the apk huge?
Then the save file can just contain a list of the maps that the player has visited and no need to store the images themselves with the save?
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: A backup/restore system

Post by Zukero »

Not really. Map thumbnails are updated when replace areas are triggered, and generating all combinations, while possible, would be painful. But that's only part of the problem. 3MB should fit at least 100 saves (without world maps), for now. What happens when saves grow, and suddenly we don't have enough storage to keep existing saves...
Our system of infinite save slots is nice, and I'd hate to restrict that, even more when it's to fit with a non-free (as in freedom) service.

We could write some tutorials here about how to set up auto-sync with popular services (GDrive, Dropbox...) or homemade hosting (rsync, nfs, scp, smb aka Windows shares...).
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: A backup/restore system

Post by rijackson741 »

Zukero wrote: Fri Jul 28, 2017 5:33 pm I was talking about automatic cloud saves on Google play games services.
Limits

Google Play games services currently enforce size limits on binary data and cover image sizes of 3 MB and 800 KB respectively.
More on https://developers.google.com/games/ser ... savedgames
I see. I wasn't aware of that.

Does the world map need to be backed up? I have never done that, and I've moved savegames between devices with no problems.

Edit: As I read it, the 3Mb limit is per savegame. The only limit on the number of savegames is the users limit.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: A backup/restore system

Post by sdevaney »

Maybe I am not understanding something but as I read it, that means with the 3MB limit each GPlay account can have 100 different save files?

They also mention in that same article that it goes against the user's GDrive storage? https://developers.google.com/games/ser ... ames#quota
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: A backup/restore system

Post by Zukero »

Yup. You're both right, I misread it. 3MB per save, unlimited saves in the limit of each user's gdrive quota.
Doesn't solve the issue of it being non-free. The principle of free software is very important for me.
Please read https://www.gnu.org/philosophy/open-sou ... nt.en.html and https://www.gnu.org/philosophy/who-does ... ve.en.html

It took me time to adhere to Stallman's vision, formerly preferring BSD and MIT licenses, but now I see that free software is critical for the freedom of the software user.

I know that we are a simple game project, running on Android, a corporation-controlled OS, lead by a user-control craving company, but I just can't get my head around compromising the freedom of our players for some feature we could provide while respecting their freedom. I hope that AT runs nicely on AOSP or even Replicant.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
Post Reply