882 posts
Location
Behind you.
Posted 02 March 2014 - 07:58 AM
I have a program on my GitHub
repo and I want to load a 'language pack' with the 'startup' file. The installer should work on computers.
ERROR: Not loading language pack file.
SOLUTION: Load 'BiOS/.lgpacks/english' file and run it.
LINES: ~50-60.
Edited on 02 March 2014 - 09:10 PM
8543 posts
Posted 02 March 2014 - 08:16 AM
"This paste has been removed."
Are we to assume you solved this yourself?
882 posts
Location
Behind you.
Posted 02 March 2014 - 08:22 AM
"This paste has been removed."
Are we to assume you solved this yourself?
I'm going to kill Pastebin if it deletes it again.
http://hastebin.com/hemukaqiqe.lua
Edited on 02 March 2014 - 07:23 AM
882 posts
Location
Behind you.
Posted 02 March 2014 - 06:32 PM
Question still stands - can someone help?
8543 posts
Posted 02 March 2014 - 06:56 PM
Can you show a screenshot of running `textutils.tabulate(fs.list("/BiOS"))` after running this script on a new computer?
882 posts
Location
Behind you.
Posted 02 March 2014 - 07:12 PM
Fixed an error, now 'english' wasn't installing in the right directory. Time to work on that.
882 posts
Location
Behind you.
Posted 02 March 2014 - 09:27 PM
Bump for new question.
1522 posts
Location
The Netherlands
Posted 02 March 2014 - 10:02 PM
Bump for new question.
What is the question? And please give some information so we can look at some lines specifically, because this is just searching a needle in a haystack.
Eloberate moar! :P/>
882 posts
Location
Behind you.
Posted 02 March 2014 - 10:10 PM
Bump for new question.
What is the question? And please give some information so we can look at some lines specifically, because this is just searching a needle in a haystack.
Eloberate moar! :P/>/>
New question in OP
Added information about question
7508 posts
Location
Australia
Posted 02 March 2014 - 10:33 PM
line 55 there is no file called "/.lg"
line 62 there is no variable called language it used to be a file handle, now it's nil.
Edited on 02 March 2014 - 09:33 PM
882 posts
Location
Behind you.
Posted 02 March 2014 - 10:40 PM
I found the problem, thanks.
Multiple bugs occured, but the biggest being that my file I was trying to load didn't have anything in it, so I had to remake it.
Edited on 02 March 2014 - 10:11 PM