Yoel wrote: November 22nd, 2020, 9:19 pm
I assume that neighborhoods are encoded the same way as in Golly 4.0?
Yes, neighbourhoods are encoded in a similiar way to Golly.
Yoel wrote: November 22nd, 2020, 9:19 pm
When I try to define a custom neighborhood, it does not save the setting in .rle files.
Oops... That was my mistake. I forgot to implement the methods to save the stuff as comments in the RLE files. I'll have that fixed.
Yoel wrote: November 22nd, 2020, 9:19 pm
For example, how do you rewrite the rulestring for Gluonic with the explicit neighborhood?
The Gluonic rulestring with the explicit neighbourhood would be R1,C4,B0,0,2,0,2,1,M,M,S0,0,0,0,1,1,3,0,0,0,3,0,0,0,3,1,2,0,0,1,2,2,0,1,2,1,0,0,2,1,1,0,2,1,1,1,NM.
Note that commas are needed to seperate the numbers since for rules with larger neighbourhoods, the number of cells is larger than 10.
Yoel wrote: November 22nd, 2020, 9:19 pm
Also, let's say I wish to redefine Gluonic with all cells weighted as 16. Is there way to do it?
That would be R1,C4,B0,0,32,0,32,16,M,M,S0,0,0,0,16,16,48,0,0,0,48,0,0,0,48,16,32,0,0,16,32,32,0,16,32,16,0,0,32,16,16,0,32,16,16,16,NW101010100010101010.
But, it appears that there is a bug parsing such high weights so it won't work in the application. I'll go and fix it.