Page 1 of 1

[Tip] How to recover layers when Golly crashes ?

Posted: June 7th, 2025, 12:31 pm
by Tawal
Sometimes, it can happen that Golly crashes for one reason or another.
If you have some layers which aren't saved before the crash, they seem to be lost.
But there is a way to recover them.

How to :
  • Take a look on the folder :
    • Linux : /tmp/golly_XXXXX
    • Windows : C:\Users\<your user>\AppData\Local\Temp\golXXXX.tmp (thanks to EvinZL)
  • Enter in this folder, you will see some files like that (on Linux) :

    Code: Select all

    ls -l /tmp/golly_sEyDdo
    total 1,6M
    -rw------- 1 tawal tawal 137K  7 juin  17:14 gg_Y5yKf0
    -rw------- 1 tawal tawal 132K  7 juin  17:14 gg_jgnKot
    -rw------- 1 tawal tawal 137K  7 juin  17:15 gg_uZro4O
    -rw------- 1 tawal tawal 132K  7 juin  17:14 gg_yYJemd
    -rw------- 1 tawal tawal  55K  7 juin  10:41 golly_start_8gqp5E
    -rw------- 1 tawal tawal  65K  7 juin  16:21 golly_start_AwC8OV
    -rw------- 1 tawal tawal 854K  7 juin  11:37 golly_start_ZV6Ijt
    -rw------- 1 tawal tawal    0  7 juin  10:32 golly_start_bOOyZU
    -rw------- 1 tawal tawal    0  5 juin  06:26 golly_start_pi1Tqg
    -rw------- 1 tawal tawal 104K  6 juin  16:36 golly_start_vxnrPF
    All theses files are patterns.
    The 'golly_start_xxxxx' are the layers.
    The other files are the different 'happenings' on the last layer you were before Golly crashes.
  • You just have to open theses files on the new Golly Front End you opened to retrieve your layers.
Enjoy 8)

Edit: post-scriptum
As you can see on the example, there is 2 empty files (golly_start_bOOyZU and golly_start_pi1Tqg).
These 2 files are the 2 layers which has been already saved and unmodified before the crash.

Re: [Linux Tip] How to recover layers when Golly crashes ?

Posted: June 8th, 2025, 10:09 am
by EvinZL
For reference, on Windows, the corresponding location is C:\Users\<your user>\AppData\Local\Temp\golXXXX.tmp (which are folders, then look inside them for the files)