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.
CitiesXL 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.
-
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.Please see the following thread for more information
XLN's future is looking badTutorial Delete CXL Shadercache Plus 2.0
Delete the shadercache and start CXL