864 posts
Location
Sometime.
Posted 09 April 2012 - 02:57 AM
Where are all of the computer craft's programs stored?
I want to make a full directory copy, all I need it programs.
I don't mean the rom\programs. I mean the stored ones that are made.
Example: You make a program named snake. It's the game snake. I want to download it onto my disk. Whats the directory for snake?
It's not rom/programs.
It's what?
1111 posts
Location
Portland OR
Posted 09 April 2012 - 03:19 AM
Is it saved in the computers root directory? if so its in the .minecraft/saves/world_name/computer/computer_id folder for ssp or for smp its server_dir/world/computer/computer_id
from the computer in MC root == /
tekkit may be different
864 posts
Location
Sometime.
Posted 10 April 2012 - 03:35 AM
Not that..
I mean in-game
Running disk/startup
——————————————
fs.copy("N-Mail", "N-Mail") – This doesn't work.
I have N-Mail on the disk, I run the disk's startup and want to copy n-mail to the computer. Not the disk.
1111 posts
Location
Portland OR
Posted 10 April 2012 - 03:41 AM
You need the absolute paths in the fs.copy(). so..
fs.copy("disk/N-Mail", "/N-Mail")
Where disk is will be the mount path of the disk you are using, and the / infront of the second N-Mail should be pointing to the root directory of the computer which is as I stated above.. /
496 posts
Location
New Zealand
Posted 10 April 2012 - 03:43 AM
All paths are relative to the base dir of the computer - "/"
So the file on the disk will be "disk/N-Mail"
864 posts
Location
Sometime.
Posted 10 April 2012 - 03:50 AM
Nvm fixed..
For future
fs.copy("disk/whateverprogram", "nameoncomputer")