This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MarcoPolo0306's profile picture

[HELP] Can someone make a file browser for my OS?

Started by MarcoPolo0306, 31 August 2016 - 09:57 PM
MarcoPolo0306 #1
Posted 31 August 2016 - 11:57 PM
May someone please make a file browser for my os?

What I want the interface to look like:

[attachment=2650:example.png]

I will give all credit to the maker in the Credit tab of the os!
Edited on 31 August 2016 - 09:59 PM
Lyqyd #2
Posted 01 September 2016 - 01:13 AM
Ask a Pro isn't really a place to request that programs be made for you. In fact, those sorts of requests are discouraged forum-wide. I'll toss this in General for now.
MarcoPolo0306 #3
Posted 01 September 2016 - 01:37 AM
Thanks!
H4X0RZ #4
Posted 01 September 2016 - 06:27 AM
Usually nobody will write a complete program for you because that's just not how the community works. We happily help you at writing and debugging your code, but spoon-feeding is not seen too often here.

Also, I don't want to discourage you, but if you can't write a file browser, you shouldn't try to make an "OS". Either you drop the project after some time, or you actually release it and receive much negative input because it will be another one of these "NDFJay-clones" (that's just an example. NDFJay clones finally died in the last few months I think).
CCJJSax #5
Posted 02 September 2016 - 03:38 AM
I actually like that you're teying to learn the code. I do think you should work on smaller projects because an is a really long process and needs lot of programming skill. You don't want to get discouraged because you find out you bit off more than you can chew. That will inhibit your drive to learn.

Finally it's best to ask for smaller things. I'd ask something like "how do I get all the folders in a computer?" And things like that.
DannySMc #6
Posted 02 September 2016 - 10:50 AM
As posted above, you won't be spoon fed what you want, BUT we will give you help, so I would suggest looking at the following API's, then ask any questions respectively.

http://computercraft.info/wiki/OS_(API) - This if you wish to display times and getting inputs from the user,
http://computercraft.info/wiki/Fs_(API) - This has all of the API's and information you need for learning how to manage/control the file system,
http://computercraft.info/wiki/Paintutils_(API) - This is for drawing stuff to the screen, there are many user interface libraries out there to use also,
http://computercraft.info/wiki/Textutils_(API) - This is for basic text manipulation,
http://computercraft.info/wiki/Term_(API) - Also part of drawing to the screen,
http://lua-users.org/wiki/TablesTutorial - Look at this for learning to manage tables,
http://lua-users.org/wiki/StringLibraryTutorial - This shows you how to manipulate strings


For a basic file manager, the above should help, just ask a question in Ask-a-pro for any help while you learn.