Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: njaddison on December 07, 2011, 08:01:20 pm

Title: Lua nHancer
Post by: njaddison on December 07, 2011, 08:01:20 pm
I thought of this idea when i was using tiny-3d viewer in study hall. such an awesome program thanks to chocksta   ;). But animation and typing is so slow! this gets on my nerves. So, I want to make or have a program that runs lua scripted tns files in full screen, and speeds up the frame rate. All you have to do is rename your lua scripts like this <example.lua.tns> replacing example with the name of your lua script. This is kinda like a lua emulator, except the whole concept is not an emulator, it is a more enhanced way to use lua programs and games. such a good idea, isn't it?
-nelson
Title: Re: Lua nHancer
Post by: Scipi on December 07, 2011, 08:18:06 pm
You should also have it add the parts of Lua that TI removed, such as print.
Title: Re: Lua nHancer
Post by: annoyingcalc on December 07, 2011, 08:26:18 pm
^^ great idea
Title: Re: Lua nHancer
Post by: epic7 on December 07, 2011, 08:50:25 pm
Print is something that I actually remember from lua :P
Ti got rid of it?
Title: Re: Lua nHancer
Post by: AzNg0d1030 on December 07, 2011, 10:02:26 pm
Print is something that I actually remember from lua :P
Ti got rid of it?
With the updated OS, yes.
Title: Re: Lua nHancer
Post by: JosJuice on December 08, 2011, 02:52:53 pm
(Note: I don't actually have an Nspire, so I might not be completely correct.)

While this would be useful, I don't think it is feasible (at least not right now). The OS is very complicated, and inserting code that affects nearly everything about how Lua programs are run is incredibly complex, especially because the OS wasn't intended to be modified by programs. Even if all of that was possible, you can't simply increase the frame rate because you want to. You'd need to do some serious optimization (without any access to the source code at all!), but an overclock might be easier. Actually, overclocking grayscale Nspires is already possible, so maybe that could be possible on OS 3.0/3.1 at some point in the future. You won't get a special Lua "launcher", but the speed will be increased.
Title: Re: Lua nHancer
Post by: aeTIos on December 08, 2011, 03:03:18 pm
Maybe create an ndless lua interpreter? /weird idea
Title: Re: Lua nHancer
Post by: DJ Omnimaga on December 25, 2011, 11:33:54 pm
Do you mean  a better/faster version of Lua for the Nspire? It might be better to wait a bit in case TI improves the current Lua language, though, because IIRC they're supposed to improve it a lot eventually, so it would suck if nHancer took off only to be obsoleted by an even better TI version of Lua.