Am I right in thinking that you cannot edit the help program in game because it is part of the ROM?
if so, is there anything I can do such that help works with my program? If I write a program called help which accepts program names as arguments could I redirect programs to the help program written in the ROM if the word is unknown?
[question] Am I right in thinking...
Started by sancarn, Aug 16 2012 05:53 PM
7 replies to this topic
#1
Posted 16 August 2012 - 05:53 PM
#2
Posted 16 August 2012 - 06:15 PM
There is this api but I haven't used it so i cant explain usage.
Spoiler
#3
Posted 16 August 2012 - 06:56 PM
BigSHinyToys, on 16 August 2012 - 06:15 PM, said:
There is this api but I haven't used it so i cant explain usage.
I see. I shall wiki it... Hmm... The path of help is rom/help/ so maybe fs.copy("<program name>","rom/help/<programname>") would work?
Edit: Nope - Error: lua:43: Access Denied - shame...
#4
Posted 16 August 2012 - 07:30 PM
Anything within ROM is write protected, so anything you do would have to be done by adding the files manually in you gamesave folders.
#5
Posted 16 August 2012 - 09:13 PM
You can change the path, from which the API draws its information apparently via help.setPath (<path>). No Idea how those files have look like, though.
#6
Posted 16 August 2012 - 09:33 PM
here is an example of a help file they are just text in a file the file is located in rom/help
Spoiler
#7
Posted 16 August 2012 - 10:47 PM
Just make a new help? "Edit help"
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












