• Welcome to SC4 Devotion Forum Archives.

Cleanitol A Guide for Users

Started by xxdita, February 10, 2008, 03:57:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xxdita

Using Cleanitol

Using Cleanitol is absolutely the easiest way to make sure that your Plugins folder is in it's best shape possible.

Installation is quite easy, just be sure to read the installer as you go.

"$Deal"$ Dependencies:
Make sure you download & install the MSVCP71.DLL and gdiplus.dll into your c:\windows\system32 ( or whatever your windows folder is ) or to c:\Windows\SysWOW64 on 64 bits OS
If Cleanitol crash at startup and you have the following log, it means you have not one or both of those dlls or they are not on your windows path

Traceback (most recent call last):
  File "BSC Cleanitol TM.py", line 2, in ?
  File "zipextimporter.pyo", line 82, in load_module
  File "wx\__init__.pyo", line 45, in ?
  File "zipextimporter.pyo", line 82, in load_module
  File "wx\_core.pyo", line 4, in ?
  File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd


%%Order?/ Getting started:
For easy reference, I suggest creating two new folders within your Cleanitol folder, usually C:\Program Files\BSCCleanitol, unless you changed the directory during the install. Name the first Removal, the second Dependencies. This will help you sort out the cleanitol files, and keep track of them, should you need them again at some point.
There are two that I recommend using somewhat regularly, depending on your download frequency: the Cleanup list, and Remove Landmarks Growing on Empty Lots file attatched to RippleJet's first post here. Make sure you have the most recent edition of each.

%confuso Remember that you need to run Cleanitol on your Plugins folder in it's pre-DatPacked state. Also, Cleanitol only looks for files located in your Docs/SimCity 4/Plugins folder, so you may want to move over any plugins you have in your C:\Program Files\Maxis\SimCity 4 Deluxe\Plugins folder over, to make sure that all of your files are scanned.

()testing() Loading a file:
There are 2 ways to open a file to start scanning. You can open the program, and click on the ... button next to the Input file list area, and search through your hard drive for the correct file. Or, you can simply drag the Cleanitol directly from whatever folder you've saved it to, onto the handy shortcut on your desktop. You did keep that on the desktop right?

??? Let's start with something easy, the Cleanup list. Click on Locate Files to see what we've got.


Ouch.  &ops Been a while since I ran that one. So many files needlessly cluttering up my Plugins folder.
Time to take care of that. Click on Backup Now, and get those out of the Plugins folder.  ?$%kar&%h

Now all of those files have been safely moved outside of the plugins. But wait, wasn't there a ReadMe in there? That might be important. Better hang on to that. Go ahead and look in your Docs/SimCity 4/BSC_Cleanitol/ folder and see what all has been moved.
Remember, just because it shouldn't be in your Plugins folder doesn't mean you won't need it. Never know when you might need to check a ReadMe again.  "$Deal"$

;D That was fun, let's do another one. This time the Cleanitol Remove Landmarks Growing on Empty Lots file, to get rid of all of those awful empty lots growing all over the place.



Doh!  :o Look at all of those. They have got to go! I probably should have followed the directions for the CAM dependencies lists, and only installed the sc4model files, huh?

&hlp Oops, forgot to demolish them all before I did that. Not a problem. All I have to do is use the undo.bat in my Docs/SimCity 4/BSC_Cleanitol/20080210_02 folder. Or if you know the name of the file you need, you can move it back to your plugins folder manually. Now I can safely demolish all of those horrible lots. Then run the Cleanitol again to make sure they're gone for good.

Since all files are safely moved to the BSC_Cleanitol folder, you can play your game a while to make sure you won't need the files before deleting them completely.

:'( But I keep getting these blasted brown boxes all over the place!!! Somebody help!!! Maybe I forgot to download something? I'd better check for dependencies. Probably should start with the Mega Packs.



&mmm I seem to be missing dependencies. Luckily, all I have to do is click on the links provided to get them.

If that doesn't help, you can always check the Get Your Cleanitols for Free thread ;).



This of course is the message you REALLY want to get.

:angrymore: Ahhhhh!!!! My cat jumped on my mouse and clicked on Backup Now!!! All is lost!!!
Not quite. All you have to do is look for the undo.bat in your Docs/SimCity 4/BSC_Cleanitol/YYYYMMDD folder, and restore the files, back to the folders they came from. But as long as the Cleanitol file was made correctly, only the files that needed to be removed have been.

:satisfied: How long should I keep the files in my Cleanitol folder before I delete them permenantly?
Really, it depends on the file in question. If it's a sc4model file that's been included in a Mega Pack, then it should be safe to delete the file immediately. You may want to open a city where you've used that model to make sure though. If you get a Missing Plugin Error, or a brown box where there wasn't one, you'll need to restore at least that one file to your Plugins folder.
If it is a lot that has been included on a Removal file, you can safely delete it as soon as you are sure that all instances have been demolished, and that the new lot is functioning as it should. Again, if you get a Missing Plugin error, you'll need to move the file back into your Plugins and demolish all instances of the lot.
If it's a mod of any sort that has been updated with a new & improved version, make sure that the new one works the way you think it should. If you have any problems at all, you can revert back to the one you're used to.

RippleJet

 &apls

Finally, the guide that Wouanagaine has been urging everyone to read for the past year or so... ::)

Excellent work, xxdita! And fun to read as well! :D

SC4BOY

#2
Quote from: xxdita on February 10, 2008, 03:57:33 AM
Using Cleanitol

()testing() Loading a file:
... Or, you can simply drag the Cleanitol directly from the zip it came in, or from whatever folder you've saved it to, onto the handy shortcut on your desktop. You did keep that on the desktop right?

Just a note.. This file can't be drag&dropped onto a shortcut from a zipped folder under my XP at least.. it has to be unpacked first. Perhaps on other op systems it can be done.. don't know .. or perhaps it can be done from unzippers other than XP's internal one. anyways...

Great work!! both needed and well written!   &apls

wouanagaine


New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4

jeronij

#4
I get an error when I click on the Invisible lots Remove file link  ::) ... Can you pls provide a valid link for my spanish translation...  ;D  :thumbsup:

also, I dont undestand where you get the Mega Pack file mentioned in the third picture.... again a link pls... ;D
I am currently not active - Please, contact Tarkus for any site related matter. Thanks for enjoying SC4D :D


Autism Awareness;  A Father Shares
Mallorca My Mayor Diary


Pat

Nate ()testing() my computer hates me for reading this lol

Don't forget the SC4D Podcast is back and live on Saturdays @ 12 noon CST!! -- The Podcast soon to Return Here Linkie

xxdita

JRJ - Link fixed to point to RippleJet's first post in that thread. The Remove Empty Lots file is attatched, but we have been changing the filename rather frequently this week as we find more.
In the 3rd picture, I used one of the Mega Pack Cleanitols done by Capo. But I need to update that, as a lot can happen within 3 months, and add it to the Cleanitols for free thread (link in my sig).
Thank you for your help with the Spanish translation. Perhaps someone could volunteer to translate into other languages for the rest of our international friends?

jjeffrey

Okay, NAM says to run the Cleanitol file before installing the NAM.

Is that true for all of the remove lists that come with other mods/props/etc.?

But, after installing NAM, what happens if I install something later that the NAM cleanitol removed.

Do I have to remove NAM periodically to rerun the cleanitol file?
Jeffrey

xxdita

In most instances, you'll only need to run a Remove Cleanitol one time, before installing, which is why the Cleanitols are included outside of the installer, along with the ReadMe. If you run the Cleanitol after installing, it may just remove the lots you've just installed, if the filenames weren't changed as the lots were updated.
With NAM, the main thing is making sure you are using the most recent release, as it is the only one that comes with any support. On the LEX, all outdated versions are locked or replaced, for this reason.

jjeffrey

Jeffrey

SlimShady

I still get this message after I installed the two dll files you mentioned.

Traceback (most recent call last):
  File "BSC Cleanitol TM.py", line 467, in OnReport
  File "BSC Cleanitol TM.py", line 121, in locate
  File "BSC Cleanitol TM.py", line 440, in Log
  File "wx\_controls.pyo", line 1804, in AppendText
  File "encodings\cp1252.pyo", line 22, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 16: character maps to <undefined>

This from the CAMeLOT_Dependencies_070731 list. Also when I scan my hard drive I find that gdiplus.dll is located in quite a few places. I am wondering if there is another file I could use.

mike_eminidis

Hey! Very good tutorial! I have a question

Where can I get that file named: "empty RCI Lots.txt", to get from those empty lots?

bob56

You can call me Grif

--Currently out of the office, will resume SC4 7/19

mike_eminidis

Hey hello! I just installed Cleanitol and used it! Does quite a good job except for the fact it creates double copies of different tools in game menu. E.g the icon of the tool to build RHW apears twice! Why? Can there be sth done pls! It's very confussing and annoying! Thanks in advance!

wouanagaine

if you have dble icons, IIRC it is because the NAM and its plugins are not correctly installed

New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4

Jezus53

I am going to cry, literally. I downloaded it. got the files you told me to get. doesn't work. Can anyone help? I haven't had a good day so any help would make my day. I keep getting a message saying "See the logfile 'C:\Program Files\ BSCCleanitol\BSC Cleanitol TM.exe.log' for details." The problem is that I have no idea what it means and it's not working and I just want the new NAM.

Mush love, Jezus53. Hey, my first post here.

Jezus53

Nevermind. The MSVCR71.dll that cam with the program wasn't what I was supposed to put in the system 32 folder. Dumb mistake. Oh well.

Gustav Von Vader

thank you for the great tutorial. somewhat related, not too long ago there was discussion about a generic utility that looked for file duplicates on your entire hard drive. silly me never clicked the link, and now i am unable to find it.

best wishes.

ps- apologies for being such a lurker- im still working my way through the tutorials, and so seldom feel i have anything to contribute.

atilla5

Quote from: vendetta007.mike on November 30, 2008, 11:30:51 AM
Hey! Very good tutorial! I have a question

Where can I get that file named: "empty RCI Lots.txt", to get from those empty lots?


i have the same question, where do we get this file name?   %confuso  &hlp

wouanagaine


New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4