Author Topic: nPatch: fix your Ndlessed TI-Nspire OS  (Read 4562 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:23:32 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

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: nPatch: fix your Ndlessed TI-Nspire OS
« Reply #1 on: August 03, 2012, 03:45:37 am »
Awesome work critor. :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: nPatch: fix your Ndlessed TI-Nspire OS
« Reply #2 on: August 03, 2012, 05:07:28 pm »
Wow, very nice! It should be easier to share games that require ndless now. =)