Author Topic: 1337mod for Nspire  (Read 19594 times)

0 Members and 1 Guest are viewing this topic.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
1337mod for Nspire
« on: February 11, 2011, 03:19:26 pm »
1337mod for Nspire

Hi, i was messing around with the OS files a bit today and I made a small tool in C that replaces the English (U.S.) language file with 13375P34K ;D

Just transfer both the 1337mod.tns and the 1337_resources.tns to your Nspire and make sure that
both files are located in your document's root directory, otherwise this will not work.
Then click on 1337mod.tns and a message will popup that the installation was successfully, after this the calculator will reboot.
It might be a bit buggy, for example you can't see the calculator's free space, but it should work fine.

Refer to the readme.txt to see how to undo this.
« Last Edit: February 11, 2011, 03:20:03 pm by compu »

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: 1337mod for Nspire
« Reply #1 on: February 11, 2011, 03:45:24 pm »
How does this work?

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: 1337mod for Nspire
« Reply #2 on: February 11, 2011, 03:55:24 pm »
How does this work?
It overwrites the english language file with an edited one.
You can find the original file at /phoenix/syst/locales/en/strings.res in the Nspire's file system.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: 1337mod for Nspire
« Reply #3 on: February 11, 2011, 04:01:23 pm »
Haha!  Very nice!

Excellent work! :)

Now, I am going to go into the normal English file and make a few fun changes! ;D


Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: 1337mod for Nspire
« Reply #4 on: February 11, 2011, 04:02:18 pm »
Any decent language module needs to include the phrase "Netham is a Lobster" somewhere in it.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Ashbad

  • Guest
Re: 1337mod for Nspire
« Reply #5 on: February 11, 2011, 08:02:55 pm »
nice job!  I was actually of making something liek this for the ti84+ last night :)

though, maybe I won't.  Anyways, yours is quite aweome :)  +1 post rating

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: 1337mod for Nspire
« Reply #6 on: February 11, 2011, 08:11:21 pm »
That's quite cool.  Great job! :D

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: 1337mod for Nspire
« Reply #7 on: February 11, 2011, 10:05:52 pm »
Easy way for the 84+' corellation changing text to numbers and symbols. Confusing though.

Edit: because of 7 and T showing as 7 and 7 and such.
« Last Edit: February 11, 2011, 10:16:24 pm by willrandship »

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: 1337mod for Nspire
« Reply #8 on: February 14, 2011, 01:12:14 am »
I'm more curious about if this change is preserved when the Nspire reboots. If it's permanent (until OS re-install), then this is even more awesome (because I didn't know it was even possible to patch the OS files permanently, since it was loaded into RAM upon booting the calc then deleted afterward). O.O

If this is possible, then couldn't someone write patches that enables additional TI-BASIC commands through parser hooks such as Sprite()?
« Last Edit: February 14, 2011, 01:13:10 am by DJ_O »

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: 1337mod for Nspire
« Reply #9 on: February 14, 2011, 03:20:16 am »
Even if the change doesn't last, all you will have to do is rerun Ndless or the parser hook program. :)
Former Coder of Tomorrow


Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: 1337mod for Nspire
« Reply #10 on: February 14, 2011, 05:48:23 am »
I'm more curious about if this change is preserved when the Nspire reboots. If it's permanent (until OS re-install), then this is even more awesome (because I didn't know it was even possible to patch the OS files permanently, since it was loaded into RAM upon booting the calc then deleted afterward). O.O

If this is possible, then couldn't someone write patches that enables additional TI-BASIC commands through parser hooks such as Sprite()?
Yes, the changes are permanent ;D

And I remember files in other directories with function definitons... maybe it is possible to even replace those files with the CAS files on a non-CAS nspire... i will check that when i'm back home  ;)
« Last Edit: February 14, 2011, 07:19:26 am by compu »

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: 1337mod for Nspire
« Reply #11 on: February 14, 2011, 03:33:55 pm »
Darn that would rule. O.O

Maybe we won't need third-party OSes at all, after all. Someone could examine the entire OSes then write patches that gets rid of unneeded functions to free up considerable amounts of memory for the user and even add new commands.

Heck maybe someone could write something that replaces the built-in 84+ emu with Calc84's ;D
« Last Edit: February 14, 2011, 03:34:21 pm by DJ_O »

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: 1337mod for Nspire
« Reply #12 on: February 14, 2011, 04:18:46 pm »
And I remember files in other directories with function definitons... maybe it is possible to even replace those files with the CAS files on a non-CAS nspire... i will check that when i'm back home  ;)

I am working on this right now...

This would be EPIC!  :devil: :devil: :devil: :devil: :devil: :devil: :devil: :devil: :devil: >:D >:D >:D >:D >:D >:D >:D >:D :evillaugh: :evillaugh: :evillaugh: :evillaugh: :evillaugh: :evillaugh: :evillaugh:

EDIT:  I tracked down the different files between the regular Nspire and the Nspire CAS, but I can't get it to start using the CAS functions. :(
I will investigate more.
« Last Edit: February 14, 2011, 04:51:47 pm by apcalc »


Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: 1337mod for Nspire
« Reply #13 on: February 15, 2011, 12:28:11 am »
Can someone explain please why the changes are permanent? I always thought the OS copied its files from ROM during boot up...
Former Coder of Tomorrow


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: 1337mod for Nspire
« Reply #14 on: February 15, 2011, 04:50:20 am »
Yeah I am really curious about that. Of course, if they can write to flash directly (is it possible?), then I guess that might be how they do it, though.

Also Apcalc be careful with such software/patch. Distributing it would be illegal if it contains code from TI. Of course that's a different story if you use your own cas or an open-source one.