[Tip] How to recover layers when Golly crashes ?

A place, especially for newcomers, to ask questions and learn the basics.
Post Reply
User avatar
Tawal
Posts: 850
Joined: October 8th, 2023, 7:20 am
Location: Mælar

[Tip] How to recover layers when Golly crashes ?

Post 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.
Last edited by Tawal on June 9th, 2025, 6:54 am, edited 2 times in total.
Alone we go faster … Together we go further …
Avatar's pattern
My Sandbox
Bom-Bom
ℝ - ℕ = ℝ or ℕ ⊄ ℝ
User avatar
EvinZL
Posts: 1068
Joined: November 8th, 2018, 4:15 pm
Location: here

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

Post 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)
Post Reply