phyver / GameShell

a game to learn (or teach) how to use standard commands in a Unix shell
GNU General Public License v3.0
2.12k stars 135 forks source link

Lost my progression #108

Closed Adjenz closed 2 years ago

Adjenz commented 2 years ago

Hi GameShell team,

I love this game, you did such a great job !

I played until the mission 40 but then I had to restart the computer. When I launched back the game I had to restart it all. How can I resume my game ?

Thanks,

--

Salut l'équipe de GameShell,

J'adore ce jeu, vous avez fait un si bon travail !

J'ai joué jusqu'à la mission 40 mais ensuite j'ai dû redémarrer l'ordinateur. Quand j'ai relancé le jeu, j'ai dû tout recommencer. Comment puis-je reprendre ma partie ?

Merci,

phyver commented 2 years ago

Ah! When you quit GameShell cleanly, it should generate a gameshell-save.sh file, which will restart the game from the last mission.

If you had to reboot your computer without quiting GameShell first, it is possible the gameshell-save.sh file was not generated. In that case, you probably have (had?) a gameshell directory, from which you can run bash start.sh to continue the game. There is a problem when doing that: quitting will not generate a new gameshell-save.sh file, and you'll have to start GameShell with bash start.sh each time. This directory shouldn't be overwritten when running a new version of GameShell, so it might still be there. Can you check?

Adjenz commented 2 years ago

Unfortunately there is no gameshell directory.

phyver commented 2 years ago

If you have neither a gameshell-save.sh file nor a gameshell directory, I'm afraid your progression was lost somewhere along the way. :( If you don't want to start from the beginning, you can always do a gsh skip to skip a mission, or a gsh goto 40 to go directly to mission 40 (or any other). The default password is gsh.

I added the following to my TODO list: "try saving progression after each completed mission" to mitigate such problems.

Adjenz commented 2 years ago

Great, thank you Pierre !