Programs for turtles

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

darksingularity

New Member
Jul 29, 2019
1
0
0
Hi, has anyone found the actual programs within the turtles? like excavate, tunnel, etc. I've been looking on the internet and I cannot find them. I really want to either edit them or copy them, as recreating it would be a small nuisance. Also, if there's a way to access it directly from the turtle, that would be great too. thanks
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
They are in <FTB folder>/<modpack name>/minecraft/mods/computercraft.zip/lua/rom/programs/turtle.
 

AlanEsh

New Member
Jul 29, 2019
907
0
0
They are in <FTB folder>/<modpack name>/minecraft/mods/computercraft.zip/lua/rom/programs/turtle.
wuuuuh, can I edit text files in that directory to make new programs for my turtles (single or multiplayer?) ?!
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
If you edit the files, they will change in your turtles in SSP. SMP uses files from the server.
 

Guswut

New Member
Jul 29, 2019
2,152
0
0
Also, if there's a way to access it directly from the turtle, that would be great too. thanks

Type this:

Code:
cp /rom/programs/turtle/excavate /excavate

That should copy the rom (Read Only Memory [data]) program excavate to the root directory as excavate.
 

AlanEsh

New Member
Jul 29, 2019
907
0
0
If you edit the files, they will change in your turtles in SSP. SMP uses files from the server.
bummer

but I found this suggestion on another forum...
"pastebin get fn5Y14aV [give it a name]"

So if i create a pastebin with the desired LUA code, I can just access it via my turtle with that command? Where fn5Y14aV is the part of the Pastebin address that follows "pastebin.com/"?
 

Captain Neckbeard

New Member
Jul 29, 2019
214
0
0
So if i create a pastebin with the desired LUA code, I can just access it via my turtle with that command?
Yes, actually I was about to suggest that very thing to you. Unfortunately I'm away from my notes and my thinkybits don't do long-term storage very well, so I can't tell you if that's actually the correct command.
 
  • Like
Reactions: AlanEsh

Guswut

New Member
Jul 29, 2019
2,152
0
0
Yes, actually I was about to suggest that very thing to you. Unfortunately I'm away from my notes and my thinkybits don't do long-term storage very well, so I can't tell you if that's actually the correct command.

It is.

You need to enable the HTTP functionality of computercraft (which is disabled by default for some silly reason), but it is a MUCH more efficient way to move programs.

You can also use "pastebin put <FILENAME>" to move a script from a turtle to pastebin, which makes copying scripts between turtles much much easier.
 

DWLooney

New Member
Jul 29, 2019
86
0
0
HTTP is enabled by default on DW20 pack.
Also, you can use "pastebin get <pastebin code> <name> to get a program off the interwebs.
My personal favorite for quarries is this. It's faster than a bc quarry at max efficiency by only mining ores, not stone if it has to.
 

Bibble

New Member
Jul 29, 2019
1,089
0
0
It's also possible to upload from a turtle (or a computer) directly to pastebin, with the
Code:
pastebin put <program name>
command. It'll show the pastebin code for the uploaded program.