Author Topic: Create a batch file to delete game cache files  (Read 69789 times)

Offline twallan

  • Townie
  • ***
  • Posts: 176
Re: Deleting cache files
« Reply #15 on: February 14, 2012, 04:37:18 PM »
The thing is, I tried it and I get a message telling me that windows couldn't find any of the locations I typed. Does anyone know the locations for Vista?

Try this :

1) Open a File Explorer window
2) Select the entry on the tree called "Computer"
3) Now in the "Search" box in the top right corner, type : simCompositorCache.package

See if that gives you the location of the file on your machine.

Good Luck. :)
NRaas Industries.  Saving Sims games from becoming doorstops since 2009.

Forum Rules

Offline Pam

  • Community Manager
  • Forum Founder and Friend
  • Watcher
  • ******
  • Posts: 14791
Re: Deleting cache files
« Reply #16 on: February 14, 2012, 05:05:38 PM »
@Frey:

I'm running Windows Vista, too.  The way I get to these files is by right clicking on the Start button (lower left corner), then click on Explore.  When the new window opens, I see "Favorite Links" in the upper left corner.  Right under that is Documents, Pictures, Music.  From there I double click Documents, then Electronic Arts, then Sims 3.  Then I can see the cache folders and delete them.

See if your computer is set up the same way.
Read and heed the Forum Rules, please!

Support the site when you purchase online!
Dreamweaver Immortal Dynasty
Dreamweaver 4 x 4 Dynasty
Pam's Sims 4 World Blog

"Half of my posts are correcting people. The other 49% is moving threads."



Registered members do not see ads on this Forum. Register here.

Frey

  • Guest
Re: Deleting cache files
« Reply #17 on: February 14, 2012, 06:34:55 PM »
Thanks.

I delete them regularly and I know where they are actually, it's just I don't know the exact route to type in the notepad and do what grimsoul suggested. When I type it I get an error message saying that the program/thingy wasn't able to find any of the routes I typed, but I have triple-checked that they are typed correctly, so I'm at a loss.  :-\

Offline Pam

  • Community Manager
  • Forum Founder and Friend
  • Watcher
  • ******
  • Posts: 14791
Re: Deleting cache files
« Reply #18 on: February 14, 2012, 07:44:56 PM »
Thanks.

I delete them regularly and I know where they are actually, it's just I don't know the exact route to type in the notepad and do what grimsoul suggested. When I type it I get an error message saying that the program/thingy wasn't able to find any of the routes I typed, but I have triple-checked that they are typed correctly, so I'm at a loss.  :-\

Ok, I'm sorry.  I misunderstood what you were trying to do.
Read and heed the Forum Rules, please!

Support the site when you purchase online!
Dreamweaver Immortal Dynasty
Dreamweaver 4 x 4 Dynasty
Pam's Sims 4 World Blog

"Half of my posts are correcting people. The other 49% is moving threads."

Offline grimsoul

  • Watcher
  • ******
  • Posts: 1632
Re: Deleting cache files
« Reply #19 on: February 14, 2012, 08:04:35 PM »
Thanks.

I delete them regularly and I know where they are actually, it's just I don't know the exact route to type in the notepad and do what grimsoul suggested. When I type it I get an error message saying that the program/thingy wasn't able to find any of the routes I typed, but I have triple-checked that they are typed correctly, so I'm at a loss.  :-\

I'm not running Vista so not sure if this would work the same as Windows 7 but to get the route to put in notepad try going to the file you want the path for and right click on it and select properties and see if it gives you the route there. If it does you should be able to select it and copy and past it to notepad.

A clear conscience is usually a sign of a bad memory.

Frey

  • Guest
Re: Deleting cache files
« Reply #20 on: February 14, 2012, 11:01:17 PM »
Thanks grimsoul!

Turns out that even though I have the spanish version of Windows Vista, and the folders are named in spanish ("usuarios" instead of "users, for example) the route to the files are in english. So, the route I had written was right.... but in the wrong language  ???

Now it works! My sims, my computer and I will really appreciate this  ;D

Offline MoonsAreBlue

  • Infatuated Fanatic
  • Watcher
  • ******
  • Posts: 1366
Re: Deleting cache files
« Reply #21 on: April 03, 2012, 11:11:48 AM »
Okay, I'm having some trouble doing this. I'm running Windows 7, but I can't seem to save it as a .bat file. It just saves as CleanSims.bat.txt. I'm not exactly sure what I'm doing wrong. :-\ Could somebody help me?



Registered members do not see ads on this Forum. Register here.

Offline wednesday21

  • Lurker
  • Occult
  • ****
  • Posts: 318
  • Joker is slightly amused.
Re: Deleting cache files
« Reply #22 on: April 03, 2012, 12:41:19 PM »
Okay, I'm having some trouble doing this. I'm running Windows 7, but I can't seem to save it as a .bat file. It just saves as CleanSims.bat.txt. I'm not exactly sure what I'm doing wrong. :-\ Could somebody help me?

Can you delete the .txt part when renaming the file? It should give you a message that doing so will cause the file to not work properly, but that is not a problem, since that's exactly what you're aiming for - to change its extension to .bat.

Offline MoonsAreBlue

  • Infatuated Fanatic
  • Watcher
  • ******
  • Posts: 1366
Re: Deleting cache files
« Reply #23 on: April 03, 2012, 12:46:51 PM »
No, it's really strange. I copied the text to a text document and name dit CleanSims.bat. Then I reopened it and clicked Save As. It showed up as CleanSims.bat, but when I save it, it says there's already a file named CleanSims.bat.txt. But it doesn't show the .txt extension when it saves. I think it's just a Windows 7 thing, but I don't know to fix it.

Offline wednesday21

  • Lurker
  • Occult
  • ****
  • Posts: 318
  • Joker is slightly amused.
Re: Deleting cache files
« Reply #24 on: April 03, 2012, 02:06:35 PM »
That's not what I meant. It won't work that way anyway. You should rename the already created file. Right-click on it and choose "rename" from the list, then delete the .txt part at the end.

Did you do that and did it not work again?

Offline grimsoul

  • Watcher
  • ******
  • Posts: 1632
Re: Deleting cache files
« Reply #25 on: April 03, 2012, 04:44:19 PM »
Okay, I'm having some trouble doing this. I'm running Windows 7, but I can't seem to save it as a .bat file. It just saves as CleanSims.bat.txt. I'm not exactly sure what I'm doing wrong. :-\ Could somebody help me?

When you go to save it are you going in the Save as Type drop down menu and changing from .txt files to All Files? If you don't do that is will add the .txt to the file name.
A clear conscience is usually a sign of a bad memory.

Offline MoonsAreBlue

  • Infatuated Fanatic
  • Watcher
  • ******
  • Posts: 1366
Re: Deleting cache files
« Reply #26 on: April 03, 2012, 06:51:19 PM »
That's not what I meant. It won't work that way anyway. You should rename the already created file. Right-click on it and choose "rename" from the list, then delete the .txt part at the end.

Did you do that and did it not work again?

When I rename it, only the name shows up, not the extension.

When you go to save it are you going in the Save as Type drop down menu and changing from .txt files to All Files? If you don't do that is will add the .txt to the file name.

That's exactly what I did, but it still saved it as a .txt file. There's a separate drop-down menu Encoding and the options are ANSI, Unicode, Unicode big endian, and UTF-8. ANSI is default. Should I select any of those?

Offline wednesday21

  • Lurker
  • Occult
  • ****
  • Posts: 318
  • Joker is slightly amused.
Re: Deleting cache files
« Reply #27 on: April 03, 2012, 07:00:33 PM »
Gotcha. ;) Here you go. Do that, then go back to the file, rename it and erase the .txt part at the end. That should do it.

Offline grimsoul

  • Watcher
  • ******
  • Posts: 1632
Re: Deleting cache files
« Reply #28 on: April 03, 2012, 07:24:39 PM »
That's exactly what I did, but it still saved it as a .txt file. There's a separate drop-down menu Encoding and the options are ANSI, Unicode, Unicode big endian, and UTF-8. ANSI is default. Should I select any of those?

No, you shouldn't have to change it. It should be ANSI. I don't why it's not working for you.
Let's try a different route. Do you have your folders options set to Hide extensions for known file types? If so change that by
Open Folder Options by clicking the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options, click on the View tab find the option for Hide extensions for known file types. If there is a check in that box click it to uncheck it then click ok.

Now go back to notepad and after putting in the info for the batch file do a save as and give it a name like Clean Cache and leave everything as default so it saves it as a .txt file.
Now find the file you just saved and right click it and choose rename. Replace txt with bat and hit enter and that should have you set.
I know it's a long way around to do it but I'm not sure why it's not saving right in notepad for you but this should take care of it.

edit: Looks like wednesday21 beat me to it. :)
A clear conscience is usually a sign of a bad memory.

Offline MoonsAreBlue

  • Infatuated Fanatic
  • Watcher
  • ******
  • Posts: 1366
Re: Deleting cache files
« Reply #29 on: April 03, 2012, 07:27:09 PM »
Gotcha. ;) Here you go. Do that, then go back to the file, rename it and erase the .txt part at the end. That should do it.

That did it. Thank you. :)

 

anything