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

  • You got stair'd!
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3912
  • Rating: +184/-32
  • I luv birdies!
    • 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 <_<
Correct me if I'm wrong.


dagaem

Offline xlibman

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55809
  • Rating: +3149/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
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 am still active in the TI community, but I left Omni back in 2015 for various  reasons. I might come back one day, depending of certain circumstances, but my new online home (despite me being Omnimaga founder in 2001) is now CodeWalrus ( https://codewalr.us ). Sorry for the inconveniences.

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)