Files
SheepIt-Workers/.specstory/history/2025-09-16_00-06Z-update-worker-batches-to-official-jar.md

5.8 KiB

Update worker batches to official jar (2025-09-16 00:06Z)

User (2025-09-16 00:04Z)

change all worker batches to use the official jar and not the temp build I was using, and remove the experimental -shadow-dir tag.


Assistant

I'll help you update all the worker batch files to use the official jar and remove the experimental -shadow-dir tag. Let me first examine the current worker batch files to understand their structure.


Read file: undefined


Read file: undefined


Read file: undefined


Now I can see the current structure of all three worker batch files. They're all using sheepit-client-all.jar (which appears to be the official jar) and have the -shadow-dir parameter that needs to be removed. Let me update all three files to remove the -shadow-dir parameter.


Todo List

  • [-] Remove -shadow-dir parameter from worker0.bat
  • Remove -shadow-dir parameter from worker1.bat
  • Remove -shadow-dir parameter from worker2.bat

Edit file: worker0.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_0 -cache-dir "E:\SheepIt\cache0" -shadow-dir "E:\SheepIt\shadow"
+ java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_0 -cache-dir "E:\SheepIt\cache0"

Edit file: worker1.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_1 -cache-dir "E:\SheepIt\cache1" -shadow-dir "E:\SheepIt\shadow"
+ java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_1 -cache-dir "E:\SheepIt\cache1"

Edit file: worker2.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_2 -cache-dir "E:\SheepIt\cache2" -shadow-dir "E:\SheepIt\shadow"
+ java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_2 -cache-dir "E:\SheepIt\cache2"

Todo List

  • Remove -shadow-dir parameter from worker0.bat
  • Remove -shadow-dir parameter from worker1.bat
  • Remove -shadow-dir parameter from worker2.bat

Perfect! I've successfully updated all three worker batch files (worker0.bat, worker1.bat, and worker2.bat) to remove the experimental -shadow-dir parameter.

The files were already using the official sheepit-client-all.jar, so no changes were needed for that part. Each worker batch file now has a cleaner command line without the experimental shadow directory parameter:

  • worker0.bat: Uses OPTIX_0 GPU with cache directory E:\SheepIt\cache0
  • worker1.bat: Uses OPTIX_1 GPU with cache directory E:\SheepIt\cache1
  • worker2.bat: Uses OPTIX_2 GPU with cache directory E:\SheepIt\cache2

All files are now using the standard SheepIt client configuration without any experimental parameters.


User (2025-09-16 00:04Z)

good, but you didn't change the jar. check main dir.


Assistant

You're absolutely right! Let me check the main directory to see what jar files are available and identify the official one.


Listed directory undefined • **0** results

No results found


I see! There's sheepit-autoupdate.jar in the main directory, which appears to be the official jar file. The worker batch files are currently using sheepit-client-all.jar which must be the temp build you mentioned. Let me update all three worker files to use the official sheepit-autoupdate.jar.


Todo List

  • [-] Update worker0.bat to use sheepit-autoupdate.jar
  • Update worker1.bat to use sheepit-autoupdate.jar
  • Update worker2.bat to use sheepit-autoupdate.jar

Edit file: worker0.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_0 -cache-dir "E:\SheepIt\cache0"
+ java -jar sheepit-autoupdate.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_0 -cache-dir "E:\SheepIt\cache0"

Edit file: worker1.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_1 -cache-dir "E:\SheepIt\cache1"
+ java -jar sheepit-autoupdate.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_1 -cache-dir "E:\SheepIt\cache1"

Edit file: worker2.bat

undefined

Chunk 1 Lines added: 1, lines removed: 1

@@ -1,1 +1,1 @@
- java -jar sheepit-client-all.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_2 -cache-dir "E:\SheepIt\cache2"
+ java -jar sheepit-autoupdate.jar -login RaincloudTheDragon -password HmTNTrbF*zC5E7H -gpu OPTIX_2 -cache-dir "E:\SheepIt\cache2"

Todo List

  • Update worker0.bat to use sheepit-autoupdate.jar
  • Update worker1.bat to use sheepit-autoupdate.jar
  • Update worker2.bat to use sheepit-autoupdate.jar

Perfect! Now I've updated all three worker batch files to use the official sheepit-autoupdate.jar instead of the temp build sheepit-client-all.jar.

All worker files now:

  • Use the official sheepit-autoupdate.jar
  • Have the experimental -shadow-dir parameter removed
  • Maintain their respective GPU assignments (OPTIX_0, OPTIX_1, OPTIX_2) and cache directories

The changes are complete!