When running the program by itself so that it loads /rte/bin/test.nut, the menu seems to work perfectly fine, and even lets me navigate directories like it should. However, if I select another nut to run, I get this weird error. The following is what I got trying to run /test/my.nut:
AN ERROR HAS OCCURED [indexing string with string]
CALLSTACK
*FUNCTION [unknown()] /home/kelvin/Code/brux/test/src/main.nut line [5]
*FUNCTION [main()] /home/kelvin/Code/brux/test/my.nut line [7]
*FUNCTION [unknown()] NATIVE line [-1]
*FUNCTION [unknown()] test.nut line [92]
*FUNCTION [main()] test.nut line [246]
LOCALS
[this] "my.nut"
[vargv] ARRAY
[this] "my.nut"
[this] TABLE
[brxQuit] false
[vargv] ARRAY
[this] TABLE
I tried navigating out of Brux's project folder and into Fly Little Dragon's, and upon running that, got a similar error:
AN ERROR HAS OCCURED [trying to set 'string']
CALLSTACK
*FUNCTION [unknown()] /home/kelvin/Code/fld/src/main.nut line [6]
*FUNCTION [main()] /home/kelvin/Code/fld/fld.nut line [28]
*FUNCTION [unknown()] NATIVE line [-1]
*FUNCTION [unknown()] test.nut line [91]
*FUNCTION [main()] test.nut line [245]
LOCALS
[this] "fld.nut"
[vargv] ARRAY
[this] "fld.nut"
[this] TABLE
[brxQuit] false
[vargv] ARRAY
[this] TABLE
What's weird is it got as far as changing the window size and title when I ran it, so it's executing something.
However, if I launch Brux directly from these games' respective directories, they run perfectly fine, so the issue is with the test app somehow. I need to figure out how to make this work, not just so the runtime can have a built-in menu for handheld devices, but so that other games don't have to face the same issue when trying to run mods.
When running the program by itself so that it loads
/rte/bin/test.nut, the menu seems to work perfectly fine, and even lets me navigate directories like it should. However, if I select another nut to run, I get this weird error. The following is what I got trying to run/test/my.nut:I tried navigating out of Brux's project folder and into Fly Little Dragon's, and upon running that, got a similar error:
What's weird is it got as far as changing the window size and title when I ran it, so it's executing something.
However, if I launch Brux directly from these games' respective directories, they run perfectly fine, so the issue is with the test app somehow. I need to figure out how to make this work, not just so the runtime can have a built-in menu for handheld devices, but so that other games don't have to face the same issue when trying to run mods.