1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. I will no longer be hosting XLNation as of March 1, 2017. Skullz613 will be taking the reigns of the site in early 2017 and XLNation will be moving to a new web hosting service. During that transition there will be an interruption in service of up to two weeks. Skullz613 is now a full administrator of XLNation. Be kind to him.

CXL 2012 Crash

Discussion in 'Tech Support' started by Masterpiece, Nov 27, 2014.

  1. Masterpiece

    Masterpiece Vagabond

    Joined:
    Sep 10, 2014
    Messages:
    9
    Likes Received:
    3
    Hi. These are the last log lines after which my game crashed. Is somebody able to explain me what's the problem? Thanks

    [14:42:51] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:42:51] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:42:51] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:42:55] LUA csScriptManager.cpp ( 522) Error No callbacks for PackDeco
    [14:42:58] LUA csScriptManager.cpp ( 522) Error Place :data/design/buildings/blueprint/ka_noc_paristriumpharch.class
    [14:43:39] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:43:39] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:43:39] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:43:39] LUA csScriptManager.cpp ( 522) Error LayerScript:ClearAll() called
    [14:44:01] CORE mcFile.cpp ( 198) Error can't open file Data/Gfx/Animation/a_fa_gen_lie04[1-lietransat03].motion
    [14:44:01] CORE mcFile.cpp ( 198) Error can't open file Data/Gfx/Animation/a_fa_gen_lie04[1-lietransat03].motion
    [14:44:02] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:44:02] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:44:02] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:44:23] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:44:23] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:44:23] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:45:08] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:45:08] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:45:56] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:45:56] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
    [14:45:56] GRAPH3D EffectFactory.cpp ( 323) Error Fx file <Data/Shader/#.fx> not found. Switching to default.
     
  2. Mr.X²

    Mr.X² Moderator

    Joined:
    Aug 23, 2014
    Messages:
    1,072
    Likes Received:
    1,296
  3. Masterpiece

    Masterpiece Vagabond

    Joined:
    Sep 10, 2014
    Messages:
    9
    Likes Received:
    3
    I already have the shader pack and I clean the shadercache folder every time before running the game. However it still causes that error which seems related to a graphical issue. Maybe a missing file? But which one?
     
  4. skullz613

    skullz613 Administrator

    Joined:
    Aug 21, 2014
    Messages:
    1,644
    Likes Received:
    1,403
    I just remembered how I got rid of that error. I copied the #default.fx file (You have to have Cities XL unpacked to get it), re-named it #.fx, created a folder called shader in the data folder and put it in there. I have not had that error since.
    I don't know if the file #.fx is suppose to exist and wonder if its a mistake somewhere in the code of the game.
     
    Mr.X² and Nogerivan like this.
  5. Mr.X²

    Mr.X² Moderator

    Joined:
    Aug 23, 2014
    Messages:
    1,072
    Likes Received:
    1,296
    do a patch and release it ;)
     
  6. skullz613

    skullz613 Administrator

    Joined:
    Aug 21, 2014
    Messages:
    1,644
    Likes Received:
    1,403
    I was unsure if there were going to be problems after I created the file so I did not say anything about it. I did it a few months ago so now and I have not had any issues with the game so could be worth making a patch. I'll put up a disclaimer that I wont be held responsible for any exploding PC's :LOL:
     
  7. skullz613

    skullz613 Administrator

    Joined:
    Aug 21, 2014
    Messages:
    1,644
    Likes Received:
    1,403
  8. Altiris

    Altiris Governor

    Joined:
    Aug 23, 2014
    Messages:
    93
    Likes Received:
    611
    That file is not supposed to exist, this will be a band aid fix, it's up to the modder to make sure the material and shader type are correct before exporting the model, pretty sure it will default to Default shader anyway when this error appears. depends on what mod is causing this error, but you may be better off copying Building shader and renaming it to #.fx, most of the time this will be the correct shader and will enable proper LOD rendering, AO maps, as well as vertex compression.

    While it may appear to get rid of the error it's best to try identify the model with incorrect shader and ask the creator to re-export it.
     
  9. skullz613

    skullz613 Administrator

    Joined:
    Aug 21, 2014
    Messages:
    1,644
    Likes Received:
    1,403
    Cheers for the info Altiris. Finding the model responsible would be a daunting task though. I'll do an update using the building fx file.
     
  10. Altiris

    Altiris Governor

    Joined:
    Aug 23, 2014
    Messages:
    93
    Likes Received:
    611
    It's worth a test anyhow, can't guarantee it'll work :p
     

Share This Page