Omnimaga

Omnimaga => News => Topic started by: critor on August 02, 2012, 07:23:32 pm

Title: nPatch: fix your Ndlessed TI-Nspire OS
Post by: critor 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 :(
(http://i43.servimg.com/u/f43/13/23/13/53/08-02-10.jpg)

In a previous news (http://ourl.ca/16594), 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:
(http://tiplanet.org/modules/archives/captures/1342578951ntnoc.png)

But it does not update the file size in the header:
(http://i43.servimg.com/u/f43/13/23/13/53/nheade10.png)

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 :)

(http://tiplanet.org/modules/archives/captures/134390429508-02-2012%20Image%20002.jpg)



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
Title: Re: nPatch: fix your Ndlessed TI-Nspire OS
Post by: DJ Omnimaga on August 03, 2012, 03:45:37 am
Awesome work critor. :)
Title: Re: nPatch: fix your Ndlessed TI-Nspire OS
Post by: TIfanx1999 on August 03, 2012, 05:07:28 pm
Wow, very nice! It should be easier to share games that require ndless now. =)