Author Topic: nPatch: fix your Ndlessed TI-Nspire OS  (Read 4312 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
nPatch: fix your Ndlessed TI-Nspire OS
« on: August 02, 2012, 07:18:43 pm »
You probably have noticed that once you install Ndless on your calculator, you can't send the OS to another handheld :(

In a previous news, while developping nTNOC, the tool to free up to 5MB on your TI-Nspire, I had figured out the problem.

The Ndless installer does inject some code in your hidden OS file (/phoenix/install/TI-Nspire.tnc) as you could notice in nTNOC:

But it does not update the file size in the header:

So the receiving unit is announced a file size which does not match, and rejects the OS at the end of the transfer.

nTNOC was fixing the problem while modifying your OS file, but only if your OS could be optimized.
There was no way to fix an allready optimized OS :(

That's why I've just released for you a very light version of nTNOC code called nPatch.
It just checks the size in your OS file header and fixes it if it's wrong :)

You can now send your Ndlessed OS to other TI-Nspire :)

Source with additional informations:

« Last Edit: August 02, 2012, 07:19:26 pm by critor »
TI-Planet co-admin.

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: nPatch: fix your Ndlessed TI-Nspire OS
« Reply #1 on: July 07, 2014, 12:31:23 am »
I know this is a pretty big necro, but has this been fixed in the ndless installer? It seems like it could be done as part of the ndless_installer program.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
Re: nPatch: fix your Ndlessed TI-Nspire OS
« Reply #2 on: July 07, 2014, 08:37:37 am »
Why didn't this thread get any replies anyway <_<
I'm not a nerd but I pretend:

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: nPatch: fix your Ndlessed TI-Nspire OS
« Reply #3 on: July 07, 2014, 10:47:48 am »
I think it might be that back then there were many many Nspire news and quite a lot of hacking tools for those calcs, so as a result, certain news and programs that are not nLaunchy/OSLauncher/TNOC/Ndless might have been overshadowed by others, especially if they didn't get many news.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at

Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify