Author Topic: [Lua] Hill Climb Racing  (Read 25969 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Hill Climb Racing
« Reply #45 on: October 22, 2014, 08:19:41 pm »
Isn't there a free alternative to student software to look at Lua source code?

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: [Lua] Hill Climb Racing
« Reply #46 on: October 22, 2014, 08:52:52 pm »
Isn't there a free alternative to student software to look at Lua source code?
Yes, I think  you can use luna, but its much easier to use student software, and I assume he has student software, since he has an nspire.



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Lua] Hill Climb Racing
« Reply #47 on: October 22, 2014, 11:50:42 pm »
No, Luna is to make a tns, not extract one :)

A free altermative would be a ram dump while running it in the emu.
Or if you have Ndless 3.1, use tns2xml...
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Hill Climb Racing
« Reply #48 on: October 23, 2014, 01:55:51 am »
Yeah I was wondering since some people buy their Nspires on the secondary market (especially people who need Ndless and are looking for an older hardware) and thus, won't get a Student Software license.

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #49 on: October 24, 2014, 04:08:56 pm »
For all those who can't access the student software for whatever reason: The source code.
If there is an other way to open documents you could do a memory dump and search for lua code. I've used that to recover unsaved code from the student software after it had crashed. You can even access protected code that way. But it could also work with other software that can open nspire documents.
edit: I've just tested that method with nspire_emu and ndless_installer.tns and it worked. So you can retrieve the source files from scripts even when you don't have the student software. Just do the memory dump and search for some lua pattern. There is some other stuff, probably from the OS, but the lua source code of the current document can also be found.
« Last Edit: October 24, 2014, 04:22:30 pm by CinusMinus »
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [Lua] Hill Climb Racing
« Reply #50 on: November 08, 2014, 06:41:58 pm »
Just saw this thread. It's sad that I can't try this, because I have OS 3.1 and I'm not updating <_< Maybe I can dual boot one time. 
Though, judging from the looks this looks like an awesome project :D
I'm not a nerd but I pretend: