Author Topic: nPatch: fix your Ndlessed TI-Nspire OS  (Read 6553 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:
http://tiplanet.org/forum/viewtopic.php?t=10183

Download:
http://tiplanet.org/forum/archives_voir.php?id=6616
« 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: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
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

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of 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.