Thread for your script-related questions
-
- Posts: 1476
- Joined: January 28th, 2022, 7:18 pm
- Location: Planet Z
Re: Thread for your script-related questions
Out of curiosity, does there exist a GPU accelerated version of catforce, I’m assuming not because there is currently not mention of such a script. Is someone willing to make one if necessary?
- Banananananan
- Posts: 175
- Joined: May 5th, 2024, 8:52 pm
Re: Thread for your script-related questions
is there a python script of hacked apgsearch 1.x i can use in replit?
Re: Thread for your script-related questions
I want to know, which guns in collection (in directory full of rle files) contain specific object (Rich's p16 for example).
Is there a program that allows to do such search?
If not, I plan to make one.
upd: Done.
Is there a program that allows to do such search?
If not, I plan to make one.
upd: Done.
Last edited by Vort on August 10th, 2024, 3:11 pm, edited 1 time in total.
Re: Thread for your script-related questions
There's some Python code in this "recognizer" folder that could be adapted to do that task fairly well -- but not particularly quickly.Vort wrote: ↑August 10th, 2024, 7:21 amI want to know, which guns in collection (in directory full of rle files) contain specific object (Rich's p16 for example).
Is there a program that allows to do such search?
If not, I plan to make one.
A much more efficient option would be lifelib's pattern-matching functionality. Documentation for some lifelib functions is still somewhat sparse and potentially puzzling, but there are code snippets like this one available that show how it works.
- aFewTrafficLights
- Posts: 5
- Joined: August 7th, 2024, 2:55 pm
Re: Thread for your script-related questions
for whatever reason, my ikpx2 script that i downloaded keeps outputting this error when i try to run "./recompile.sh" it outputs this error message:
any help on this?
Code: Select all
grep: warning: stray \ before -
Rule unspecified; assuming b3s23.
Updating submodules...
./recompile.sh: line 15: git: command not found
well i do not know what to put here so i guess i could put this here
Re: Thread for your script-related questions
The last line says that you don't have 'git' installed. Do you have git installed? If not, how did you download ikpx2?aFewTrafficLights wrote: ↑September 14th, 2024, 7:27 pmfor whatever reason, my ikpx2 script that i downloaded keeps outputting this error when i try to run "./recompile.sh" it outputs this error message:any help on this?Code: Select all
grep: warning: stray \ before - Rule unspecified; assuming b3s23. Updating submodules... ./recompile.sh: line 15: git: command not found
If you downloaded ikpx2 by any other method than cloning the ikpx2 repository, then I'd recommend deleting everything and starting over and doing that. There isn't a specific LifeWiki tutorial on using Git to clone ikpx2, but it's the same process for any Git repo. See the notes in Tutorials/LLS but substitute the ikpx2 repository for the LLS one.
The ikpx2 quick start guide is maybe a little _too_ quick, since it doesn't mention starting by cloning the repo.
You'll need to have git and (based on a quick review of this thread) g++ installed, and then I think the submodule install will grab the rest of what you need. I haven't tried this recently, so maybe someone else can correct me. Really maybe the thing that will solve the most problems is
sudo apt-get install build-essential
... but you'll need to be able to follow the first few steps in the LSS tutorial before you'll have a Cygwin or WSL2 or other Linux-ish window open where that command will work.
Re: Thread for your script-related questions
It would be nice to press hotkey in Golly and after automatic gun verification, normalization and comparison with Catagolue, have option to upload result with one click.confocaloid wrote: ↑September 15th, 2024, 11:25 am... Please check Catagolue first, before posting, to see if the gun would be a bounding box area reduction. ...
However, I'm not sure if Python and Lua plugins in Golly have restrictions preventing contacting Catagolue.
- aFewTrafficLights
- Posts: 5
- Joined: August 7th, 2024, 2:55 pm
Re: Thread for your script-related questions
I already had cygwin installed but i am missing many directories, such as sudo and git (look i did not think i needed them since I only wanted to use gfind and its variations). does running the "setup-x64_64" folder replace the cygwin I already installed or does it add on to the cygwin I already installed?dvgrn wrote: ↑September 15th, 2024, 6:35 amThe last line says that you don't have 'git' installed. Do you have git installed? If not, how did you download ikpx2?aFewTrafficLights wrote: ↑September 14th, 2024, 7:27 pmfor whatever reason, my ikpx2 script that i downloaded keeps outputting this error when i try to run "./recompile.sh" it outputs this error message:any help on this?Code: Select all
grep: warning: stray \ before - Rule unspecified; assuming b3s23. Updating submodules... ./recompile.sh: line 15: git: command not found
If you downloaded ikpx2 by any other method than cloning the ikpx2 repository, then I'd recommend deleting everything and starting over and doing that. There isn't a specific LifeWiki tutorial on using Git to clone ikpx2, but it's the same process for any Git repo. See the notes in Tutorials/LLS but substitute the ikpx2 repository for the LLS one.
The ikpx2 quick start guide is maybe a little _too_ quick, since it doesn't mention starting by cloning the repo.
You'll need to have git and (based on a quick review of this thread) g++ installed, and then I think the submodule install will grab the rest of what you need. I haven't tried this recently, so maybe someone else can correct me. Really maybe the thing that will solve the most problems is
sudo apt-get install build-essential
... but you'll need to be able to follow the first few steps in the LSS tutorial before you'll have a Cygwin or WSL2 or other Linux-ish window open where that command will work.
well i do not know what to put here so i guess i could put this here
Re: Thread for your script-related questions
It adds on. At least in my experience, when you run the installer you'll see things checked off if they're already installed, and the option to change what's checked and unchecked so the installer can do the relevant new installs/uninstalls.aFewTrafficLights wrote: ↑September 15th, 2024, 3:13 pmI already had cygwin installed but i am missing many directories, such as sudo and git (look i did not think i needed them since I only wanted to use gfind and its variations). does running the "setup-x64_64" folder replace the cygwin I already installed or does it add on to the cygwin I already installed?
- TigerCub414
- Posts: 15
- Joined: March 25th, 2024, 9:51 pm
Re: Thread for your script-related questions
How can gnf2seed.py be modified to remove separation of stages and have one stage that can be wider than 160 cells? I tried modifying it manually, but it doesn't work.