More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 25, 03:18:51

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  TS2: Burnination
| |-+  The Podium
| | |-+  Do unused meshes take up memory?
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Do unused meshes take up memory?  (Read 7125 times)
spambi
Corpulent Cretin
*
Posts: 133



View Profile
Do unused meshes take up memory?
« on: 2007 February 17, 16:32:24 »
THANKS THIS IS GREAT

If I delete the textures but not the meshes they use, do the meshes still get loaded? I'm trying to clean out my downloads folder and I'm wondering how much effort I should put in to finding unused meshes and deleting them. Btw, is there a way in SimPE to find unused meshes? I think I read something about this but I've never been able to figure out how to do it. Thanks Smiley
Logged
notveryawesome
Stupid Schlemiel
****
Posts: 1992


INTJ. I like putting hats on my avatar.


View Profile WWW
Re: Do unused meshes take up memory?
« Reply #1 on: 2007 February 17, 19:34:24 »
THANKS THIS IS GREAT

As far as I know, the meshes do get left behind, even after you delete all the textures for them. This even happens with clothing, hair, etc when you delete them from Bodyshop or CAS - even when you delete the ones labelled as meshes, only the textures are actually deleted. I don't know how to find orphaned meshes in SimPE. Somebody more awesome than me will have to explain it (and I'll learn something too).
Logged

Disclaimer: I am condescending, arrogant, pedantic, and have a foot-shaped mouth. I also like to throw stones from my glass house. Resemblance to any persons, living or dead, is purely coincidental.
kuronue
Querulous Quidnunc
****
Posts: 1154



View Profile
Re: Do unused meshes take up memory?
« Reply #2 on: 2007 February 17, 20:01:46 »
THANKS THIS IS GREAT

I think the question wasn't do the mesh files remain in the folder, but does the game bother to load them into memory when there's no texture, thus causing slowdowns
Logged

INFP or something
RainbowTigress
Sucky Name Person
Whiny Wussy
*****
Posts: 5871


View Profile
Re: Do unused meshes take up memory?
« Reply #3 on: 2007 February 17, 20:04:10 »
THANKS THIS IS GREAT

I wondered this too.  I also heard there was supposed to be a way to find orphaned meshes in SimPE, but I think they said it wasn't working properly.  Sad
Logged
wes_h
Knuckleheaded Knob
**
Posts: 530


Lady on Rancho Como


View Profile
Re: Do unused meshes take up memory?
« Reply #4 on: 2007 February 17, 20:30:47 »
THANKS THIS IS GREAT

From all that I have learned from my research (which is not awesome either), everything that is in your downloads folder (generally everywhere in the "The Sims 2" directory) is at least partially loaded in memory when starting up. I believe the memory usage is greatly lessened when there are no textures and catalog entries associated with that mesh.

It certainly requires additional time to read through all these mesh files at startup.
But I don't know of an automated way (or even an easy manual way) to located the unused ones. Perhaps you could make a lot and put all your keeper items on it and to then move these files out of the directory in small groups and see if you get flashing blue out of them.

If you want to even figure out which files are only meshes without a hint in the filename, you would have to look at them in SimPE and find the ones that have a GMDC in them with no TXTR.
Logged
SaraMK
Nefarious!
Terrible Twerp
****
Posts: 2038


Playing again.


View Profile
Re: Do unused meshes take up memory?
« Reply #5 on: 2007 February 17, 20:43:39 »
THANKS THIS IS GREAT

Clean Installer and SimPE can both tell you which files are meshes and which are just textures/recolors. Sadly that's as far as it goes.
Logged

Fail.
KatEnigma
Axe Murderer
Souped!
*
Posts: 1698


ENFJ


View Profile
Re: Do unused meshes take up memory?
« Reply #6 on: 2007 February 17, 22:42:37 »
THANKS THIS IS GREAT

A very timely topic, I just am doing this today.  Cheesy Yes, they take up memory.

This is the orignal topic about it a couple months back, that I searched for today, to refresh my memory.  Smiley http://www.moreawesomethanyou.com/smf/index.php/topic,5836.50.html

Basically, the base-recolor mesh that's built into SimPe works on non-bodyshop things, and Theo wrote a plugin that works on the rest- and his site had an update for .60 (which also is working fine in .60.2...)  The trick is, you have to have the mesh and recolor in the same folder, without subfolders, to get it to work right. To get rid of them, sort by "found base" for instance, unclick enable on all the red highlighted "no's" and then go into your downloads folder and delete all the .packagedisabled files.
Logged

"There is a tragic flaw in our precious Constitution, and I don't know what can be done to fix it. This is it: Only nut cases want to be president."

- Kurt Vonnegut
spambi
Corpulent Cretin
*
Posts: 133



View Profile
Re: Do unused meshes take up memory?
« Reply #7 on: 2007 February 18, 00:58:03 »
THANKS THIS IS GREAT

Thanks everyone. I will give Theo's plugin a try.
Logged
Baroness
witch
Breakfast of Champions!
Senator
*
Posts: 11636


Shunning the accursed daystar.


View Profile
Re: Do unused meshes take up memory?
« Reply #8 on: 2007 February 18, 02:10:24 »
THANKS THIS IS GREAT

Another way of seeing orphaned meshes is in game. After I deleted a bunch of hairstyles - because I can only really see them properly in game - I ended up with a lot of the placeholder hairstyle - the straight shoulder length one with the part in the middle - there were zillions in my custom hair area.

The same for clothing, if I have a mesh but no recolours, it is shown as the shirt and 3/4 pants - white and (red or orange or pink)? outfit. I assume when I delete those I'm actually getting rid of the mesh as the placeholder outfits don't come back.

Don't know what the male or other age defaults are, I tend to have more cc crap for female adults than any other group.
Logged

My fists are named Feminine and Wiles.
notveryawesome
Stupid Schlemiel
****
Posts: 1992


INTJ. I like putting hats on my avatar.


View Profile WWW
Re: Do unused meshes take up memory?
« Reply #9 on: 2007 February 18, 08:32:35 »
THANKS THIS IS GREAT

I think the question wasn't do the mesh files remain in the folder, but does the game bother to load them into memory when there's no texture, thus causing slowdowns

Yep. Ye olde brainfog strikes again. Roll Eyes I really have quite good reading comprehension skills when I'm not tired, I swear.

ETA: The male adult placeholder for Bodyshop/CAS is a grey suit with a blue tie. I think the tie is either solid blue or blue with stripes, but I don't remember for sure. I just look for whatever Maxis outfit or hair keeps repeating itself within my CC and delete each instance of it that I find.
« Last Edit: 2007 February 18, 08:39:33 by notveryawesome » Logged

Disclaimer: I am condescending, arrogant, pedantic, and have a foot-shaped mouth. I also like to throw stones from my glass house. Resemblance to any persons, living or dead, is purely coincidental.
KatEnigma
Axe Murderer
Souped!
*
Posts: 1698


ENFJ


View Profile
Re: Do unused meshes take up memory?
« Reply #10 on: 2007 February 18, 12:31:38 »
THANKS THIS IS GREAT

With objects, that doesn't work at all. If you delete in-game, it will delete the mesh,but not all the recolors, which also slow you down.

It also is painfully slow to delete things in-game. Once you've cached in SimPe, it takes a lot less time.  Smiley (And yesterday, I started it loading and then ran errands. When I came home, I could clean it out LOL)
Logged

"There is a tragic flaw in our precious Constitution, and I don't know what can be done to fix it. This is it: Only nut cases want to be president."

- Kurt Vonnegut
maxon
Obtuse Oaf
***
Posts: 929

Unrepentant Inteenimator User - Kitten Killer.


View Profile
Re: Do unused meshes take up memory?
« Reply #11 on: 2007 February 18, 14:35:58 »
THANKS THIS IS GREAT

With objects, that doesn't work at all. If you delete in-game, it will delete the mesh,but not all the recolors, which also slow you down.

With objects in game, the trick is to delete all the recolours first and then the mesh - delete the recolours with the design tool menu and the mesh in the catalogue
Logged

Inteen for AL, yay!
notveryawesome
Stupid Schlemiel
****
Posts: 1992


INTJ. I like putting hats on my avatar.


View Profile WWW
Re: Do unused meshes take up memory?
« Reply #12 on: 2007 February 19, 05:15:36 »
THANKS THIS IS GREAT

With objects in game, the trick is to delete all the recolours first and then the mesh - delete the recolours with the design tool menu and the mesh in the catalogue

That's what I do. It's much less time-consuming than loading SimPE or Paladin's Categorizer.
Logged

Disclaimer: I am condescending, arrogant, pedantic, and have a foot-shaped mouth. I also like to throw stones from my glass house. Resemblance to any persons, living or dead, is purely coincidental.
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Do unused meshes take up memory?
« Reply #13 on: 2007 February 19, 05:29:30 »
THANKS THIS IS GREAT

If I delete the textures but not the meshes they use, do the meshes still get loaded? I'm trying to clean out my downloads folder and I'm wondering how much effort I should put in to finding unused meshes and deleting them. Btw, is there a way in SimPE to find unused meshes? I think I read something about this but I've never been able to figure out how to do it. Thanks Smiley
A controlled experiment has not been performed on this, but the theory would seem to be yes, as you can't delete the file while the game is running even if the game does not use it.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.065 seconds with 20 queries.