Omnimaga

Omnimaga => News => Topic started by: critor on August 13, 2012, 03:55:45 pm

Title: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 13, 2012, 03:55:45 pm
In a previous news (http://ourl.ca/16594), we released nTNOC, a wonderful tool to clean up your TI-Nspire OS main file (/phoenix/install/TI-Nspire.tnc) and gain 3MB on your TI-Nspire, and even 5MB if you were downgrading from OS 3.2.


But there are other useless things we can clean up on the TI-Nspire, like the hidden system folders extracted when you install a new OS.





For example, on non-CAS TI-Nspire and TI-Nspire TouchPad, there's a 1.5MB backup for the TI-84+SE emulator.
(http://i33.servimg.com/u/f33/13/23/13/53/nclean10.png)

It does include all preinstalled apps.
If you don't use that emulator, if you don't even own the special removable keypad necessary to launch it (not included with the TI-Nspire TouchPad), or if you just don't care about the preinstalled apps, then that's useless!



Big surprise, the filesystem does also include two TI-Nspire software skins taking something like 275KB! :o
(http://i33.servimg.com/u/f33/13/23/13/53/nclean12.png)

Those are the SVG image files used on the TI-Nspire Computer softwares, and they're totally useless on the TI-Nspire handheld.



You also get data for the 15 supported languages in many subfolders, especially for the chinese languages.
(http://i33.servimg.com/u/f33/13/23/13/53/nclean13.png)

If you don't speak 15 languages then again...



And you also get the OS extensions (the only one released up to now is the chinese-english dictionnary) which cannot be removed officially (http://ourl.ca/16765).
(http://i33.servimg.com/u/f33/13/23/13/53/nclean11.png)





Anyway, the problem is now solved this evening, thanks to the new tool by RayQuaza59 and myself: nCleaner! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

You just have to choose what you want to remove:

(http://i33.servimg.com/u/f33/13/23/13/53/nclean16.png)

(http://i33.servimg.com/u/f33/13/23/13/53/nclean15.png)



But wait, that's not all...

Even after removing the TI-84+SE backup, you can still use the TI-84+SE emulator. ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
It will just start with an empty memory, and recreate the 1.5MB backup once you turn off your handheld.

Even after removing all 15 languages locales, you can still set your OS in all 15 languages! :crazy:
Yes, I tried everyting... rebooting and all... those files are just useless, maybe only needed by the TI-Nspire softwares, included and extracted by mistake from the OS file like the skins.



Using nCleaner, you can free up to 6.5MB! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

(http://i33.servimg.com/u/f33/13/23/13/53/nclean17.png)

You get even more free space by using nCleaner together with nTNOC!

(http://i33.servimg.com/u/f33/13/23/13/53/tnocnc10.png)

(http://i33.servimg.com/u/f33/13/23/13/53/tnocnc11.png)



You can get as much as:

(http://tiplanet.org/forum/gallery/image.php?mode=medium&album_id=13&image_id=1242) (http://tiplanet.org/forum/gallery/image.php?mode=medium&album_id=13&image_id=1245)




Do you often reinstall the OS?
Of course, this is going to recreate all useless files...

But nCleaner does remember your settings, and can even clean up everything automatically and silently if moved to the Ndless startup folder. ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)





Source:
http://tiplanet.org/forum/viewtopic.php?f=43&t=10225&p=128144#p128129

Downloads:
nCleaner (http://tiplanet.org/forum/archives_voir.php?id=6656)
nTNOC (http://tiplanet.org/forum/archives_voir.php?id=6566)
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: DJ Omnimaga on August 13, 2012, 04:30:58 pm
Oh wow that will be amazing.

Can it cause crashes if I try to select a missing language or will it just exclude it from the list automatically?
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 13, 2012, 04:33:39 pm
Can it cause crashes if I try to select a missing language or will it just exclude it from the list automatically?

If a non-null size is displayed on the right, then nCleaner found files/folders to remove.

If you remove everything and relaunch nCleaner, all sizes should have dropped to zero.
There is just nothing left to remove and it won't crash trying to remove "nothing", no. :)
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: calc84maniac on August 13, 2012, 04:35:11 pm
I think he means selecting a language to use on the calculator from the drop-down menu.
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: DJ Omnimaga on August 13, 2012, 04:36:49 pm
Oh I meant, for example, if in the TI-Nspire menus, after deleting the French language files, I decided to select French again. Will it cause strange errors about missing files or even crashes? I know certain Windows apps like RPG Maker will crash or cause errors if you try to run a game or edit a game after deleting its chipset, for example.
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 13, 2012, 04:42:23 pm
Oh I meant, for example, if in the TI-Nspire menus, after deleting the French language files, I decided to select French again. Will it cause strange errors about missing files or even crashes? I know certain Windows apps like RPG Maker will crash or cause errors if you try to run a game or edit a game after deleting its chipset, for example.

Oh ok, sorry...

As far as I've tested and strangely, no.

You can set and use your calculator in french after removing the french locale files.
You can even remove the default english locale files without any problem.

It seems that the extracted locale files are just useless like both skin files.
They're probably needed by the TI-Nspire software and have been included by mistake in the TI-Nspire OS - which can be understood as the TI-Nspire OS and software are sharing many resources for the building process.
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: DJ Omnimaga on August 13, 2012, 04:44:44 pm
Hmm interesting. One thing I wonder is if the languages can be removed entirely. Unless the OS can't be modified at all?
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 13, 2012, 04:47:25 pm
Hmm interesting. One thing I wonder is if the languages can be removed entirely. Unless the OS can't be modified at all?

As far as we know, no.

I'm just removing files which have allready been extracted from the TI-Nspire.img file included in /phoenix/install/TI-Nspire.tnc.

I cannot modify the TI-Nspire.img file content as it is signed.


What's funny, is that I started a tool to let the user remove the extracted language files he didn't use, and in the end we find out that the user can just remove all language files without any problem...
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: DJ Omnimaga on August 13, 2012, 04:48:37 pm
Yeah that's the amazing part, and also the fact you can remove around 3 MB or more O.O

I still use OS 3.1 on both my calcs I think, so this tool will be much needed when I install new ROMs.
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: Deep Toaster on August 13, 2012, 04:55:22 pm
So basically most of those files taking up 20 MB are utterly useless to begin with O.o
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: Sorunome on August 13, 2012, 05:22:25 pm
wow, this is awesome on one hand but on the other hand it makes TI even more stupid.
Kinda glad I don't have a nspire XD
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: willrandship on August 13, 2012, 05:35:15 pm
I don't know, It seems like the text files for the different languages would only take up maybe 100-500 kb or so...but since the calc supports lots of langs I guess that could add up.

If only it supported that many programming languages. I could do with a little python.
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: ElementCoder on August 14, 2012, 08:49:13 am
Alright, from now on no more useless stuff on my nspire. Good job  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

P.S. How do you get to browse the system files from the normal documents screen  ???

[edit] I especially like the quite huge free space increase for clickpad models (but what's up with the clickpad CAS gaining more free memory then the NON-CAS, or am I misunderstanding the diagram?)
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: lkj on August 14, 2012, 09:56:43 am
The CAS gains less, but its OS is smaller from the start :P
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 14, 2012, 11:32:37 am
Alright, from now on no more useless stuff on my nspire. Good job  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

P.S. How do you get to browse the system files from the normal documents screen  ???

With RootDoc:
http://tiplanet.org/forum/archives_voir.php?id=5436
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: TIfanx1999 on August 14, 2012, 11:39:22 am
More awesome work with the nSpire stuff guys, you guys rock!  :thumbsup:
Title: Re: nCleaner: even more free space on your TI-Nspire
Post by: critor on August 15, 2012, 10:37:15 am
I'd like to apologize to all of you.

For some reason, the TI-Nspire catalog data is included in the english locale (1 file per tab).
I knew that, and had protected those files against removal... except 1 of them I forgot to protect :(

If you chose to remove the english locale, then nCleaner 1.00 was removing by mistake the units file from the catalog (3rd tab).


If you have downloaded nCleaner, you should get the updated copy, which won't cause the problem anymore:
nCleaner 1.01: http://tiplanet.org/forum/archives_voir.php?id=6656

But of course, simply using an updated nCleaner binary won't fix the problem on allready affected systems.
You can still reinstall the OS and Ndless...

But I've got faster and simpler for you: I've included a patch in a subfolder to fix the problem on allready affected systems.
It will just restore the missing file.

You only need to do that 1 time, if you have the problem:
- send units.res.tns to your ndless folder
- send ncleanpatch.tns
- launch ncleanpatch.tns

Units are now back in the catalog :)

You can remove ncleanpatch.tns (don't touch units.res.tns: it's removed automatically).
Don't forget to use an updated copy of nCleaner in the future.


Again, my deapest apologizes for the inconvenience.