1. If you are going to register on XLNation, please make sure you do not use a proxy server.
    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.
    Dismiss Notice
  2. Please see the following thread for more information
    XLN's future is looking bad

Tutorial Delete CXL Shadercache Plus 2.0

Delete the shadercache and start CXL

  1. skullz613
    Compatible:
    • CitiesXL 2009
    • CitiesXL 2011
    • CitiesXL 2012
    • CitiesXL Platinum
    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.
    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
    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("C:\Users\Public\Desktop\Cities XL 2012.lnk")
    Platinum
    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")
    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.

    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!

Recent Reviews

  1. sadiemydog
    sadiemydog
    2/5,
    Version: 1.1
    Great idea but didn't work for CXL 2012 on windows 7 , get .batch files instead of .patch and get the same crash after it.
    1. skullz613
      Author's Response
      You are suppose to run the batch file before using XL, and not put the batch file into your paks folder
  2. Ze_Doc
    Ze_Doc
    5/5,
    Version: 1.1
    works with XXL !!!
    1. skullz613
      Author's Response
      You should not need to use it with XXL. I don't know for sure but it could cause problems
  3. Sabertooth
    Sabertooth
    5/5,
    Version: 1.0
    This is GREAT! I really appreciate this improvement! Thanks X.
  4. Supersnake
    Supersnake
    5/5,
    Version: 1.0
    D3DX errors killer. Good!
  5. Nogerivan
    Nogerivan
    5/5,
    Version: 1.0
    thanks...this is better then mine
  6. nicko2u
    nicko2u
    5/5,
    Version: 1.0
    This could be very useful thanks
  7. Artmaster
    Artmaster
    5/5,
    Version: 1.0
    I just had the D3DX error happen to me yesterday and this file is very helpful.
  8. Monty
    Monty
    5/5,
    Version: 1.0
    This is very helpful. Thank you.
  9. Radiant Dawn
    Radiant Dawn
    5/5,
    Version: 1.0
    Thanx! This should make game-play both easier and more convenient without the need to go through the all the folders to delete the shader catch files before every time I start the game. +1
  10. Mr.X²
    Mr.X²
    5/5,
    Version: 1.0
    nice to finally see it at the xlex, though id like to suggest to add some more explanations for the unexperienced users here ;)
    1. skullz613
      Author's Response
      Thanks :) I'll do an update soon.