Jump to content




Edit rom

computer lua

  • You cannot reply to this topic
8 replies to this topic

#1 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 16 April 2016 - 06:48 PM

I saw that you can include programs with a resource pack.
Is it possible to create new read only memory folders?
And is it possible to overwrite existing programs like shell?

Edited by Sewbacca, 16 April 2016 - 06:48 PM.


#2 FoxData

  • Members
  • 159 posts

Posted 16 April 2016 - 06:57 PM

Yes you can but it is very risky.

CC will not let you edit/delete the files. So what you need to do is goto %appdata% and .minecraft/saves/[The name of your save]/computer/[The ID]/[All your CC files are here]/

An admin or some user might say that i am giving you instructions on how to brake computercraft. But remember that you are doing this at your own risk.

I will try to edit shell.lua after writing this reply.

#3 Anavrins

  • Members
  • 775 posts

Posted 16 April 2016 - 06:57 PM

View PostSewbacca, on 16 April 2016 - 06:48 PM, said:

I saw that you can include programs with a resource pack.
Is it possible to create new read only memory folders?
And is it possible to overwrite existing programs like shell?
Yes, that's their whole point, everything you put into a resource pack is put into every computer's rom, and having something at /programs/shell will overwrite the existing shell.

#4 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 16 April 2016 - 07:15 PM

NICE, but what is what question two?

#5 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 16 April 2016 - 07:25 PM

new folders in rom? they are just folders in the resource pack

#6 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 16 April 2016 - 08:02 PM

No, I mean new folders on the computer:
All are 'roms'.
/NewFolder
/rom
/stairs

Edited by Sewbacca, 16 April 2016 - 08:22 PM.


#7 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 16 April 2016 - 08:34 PM

that is not possible


well it kind of is, but you will have to get clever with the fs api and mount to those locations from other folders

#8 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 16 April 2016 - 09:04 PM

View PostLupus590, on 16 April 2016 - 08:34 PM, said:

that is not possible


well it kind of is, but you will have to get clever with the fs api and mount to those locations from other folders

But then I have to overwrite {[(almost)]} the whole fs api.

#9 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 16 April 2016 - 11:00 PM

Why not simply stick those folder into the rom folder?





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users