Update: Huge update! I have used AutoIt to build new exe files. This does away with the need for bat files and having to edit files yourself for Platinum. I've copied the update notes onto this page as well.
- CitiesXL 2009
- CitiesXL 2011
- CitiesXL 2012
- CitiesXL Platinum
I've put a spoiler around the old information as it's not relevant anymore but wanted to leave it for history.
I have revisited the delete shadercache files and decided to give AutoIt a go in making new exe files.
Took a bit of testing to find the right commands but managed to even compile the Platinium one so there's no need to make any changes yourself.
Just download, unzip and place the correct exe for your XL version onto your desktop.
The two exe files in the ZIP file are,
Empty Shadercache & Start Cities XL 2012.exe &
Empty Shadercache & Start Cities XL Platinum.exe
Here's the AutoIt code for both exe files so you can see how it works.
Cities XL 2012
PlatinumCode:FileRecycleEmpty() FileSetAttrib(@UserProfileDir & "\AppData\Local\Focus Home Interactive\Cities XL 2012\live\shadercache\*", "-RASHOT", 1) FileDelete(@UserProfileDir & "\AppData\Local\Focus Home Interactive\Cities XL 2012\live\shadercache\*") ShellExecute("C:\Users\Public\Desktop\Cities XL 2012.lnk")
You can see on the last lines that there is a difference in locations. That's due to XL 2012 using the public desktop. I was going to just run the game exe files but ran into file permission errors.Code:FileRecycleEmpty() FileSetAttrib(@UserProfileDir & "\AppData\Local\Focus Home Interactive\Cities XL 2012\live\shadercache\*", "-RASHOT", 1) FileDelete(@UserProfileDir & "\AppData\Local\Focus Home Interactive\Cities XL 2012\live\shadercache\*") ShellExecute(@DesktopDir & "\Cities XL Platinum.lnk")
Please let me know in the discussion area if there's problems. These were compiled for x86 so I may need to make two others for 64bit.
Register or to view Spoiler content!
If you are going to register on XLNation, please make sure you do not use a proxy server.Dismiss Notice
If you use a proxy server your registration will most likely get blocked due to spammers and hackers using proxy servers to hide their real IP address.
If your using your home or work IP address and have not received your registration email, check your spam folder.
PLEASE DO NOT ASK TO HAVE YOUR ACCOUNT DELETED IF YOU HAVE POSTED IN THE FORUM! If so we do not delete accounts due to the mess it can make on the forum.
Tutorial Delete CXL Shadercache Plus 2.0
Delete the shadercache and start CXL
- Updated using AutoIt to compile the exe files Jun 12, 2017
- The exe file has been removed Feb 5, 2015
- No version change. I made a exe for the 2012 bat file plus added some extras Nov 29, 2014