Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

[SDK] Destruction Tool Problem

Discussion in 'Modding' started by Lemmy, Dec 9, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Lemmy Trainee Engineer

    Messages:
    5
    I hope this is not a duplicate, but I cannot properly run the Destruction tool, it gives an error when I try to open the model viewer. Here are the errors I get.

    ModelViewerTool.log
    Code:
    2016-12-09 17:22:55.658 - Thread:  1 ->  Log Started
    2016-12-09 17:22:55.660 - Thread:  1 ->  Timezone (local - UTC): 1h
    2016-12-09 17:22:55.660 - Thread:  1 ->  App Version:
    2016-12-09 17:22:57.379 - Thread:  1 ->  ! ERROR ! Couldn't start game!
    2016-12-09 17:22:57.379 - Thread:  1 ->        Game content path: F:\SteamLibrary\SteamApps\common\MedievalEngineersModSDK\Tools\DestructionTool\Plugins\ModelViewer\Content
    2016-12-09 17:22:57.379 - Thread:  1 ->        Error message: Failed to compile shaderps_[blur.hlsl][blur_h]#define SAMPLE_FREQ_PASS_
    2016-12-09 17:23:01.126 - Thread:  1 ->  Log Closed
    VRageRender-DirectX11.log
    Code:
    2016-12-09 17:22:57.378 - Thread:   1 ->  Compilation of shader ps_[blur.hlsl][blur_h]#define SAMPLE_FREQ_PASS_ failed: SharpDX.CompilationException: error X3501: 'blur_h': entrypoint not found
    
       bei SharpDX.D3DCompiler.ShaderBytecode.Compile(Byte[] shaderSource, String entryPoint, String profile, ShaderFlags shaderFlags, EffectFlags effectFlags, ShaderMacro[] defines, Include include, String sourceFileName)
       bei SharpDX.D3DCompiler.ShaderBytecode.Compile(String shaderSource, String entryPoint, String profile, ShaderFlags shaderFlags, EffectFlags effectFlags, ShaderMacro[] defines, Include include, String sourceFileName)
       bei VRageRender.MyShaders.Compile(String source, String function, String profile, String name, Boolean invalidateCache)
    2016-12-09 17:22:57.379 - Thread:   1 ->  Failed to compile shaderps_[blur.hlsl][blur_h]#define SAMPLE_FREQ_PASS_
    
    blur_h and blur_v are however defined in blur_planet.hlsl, so I have no idea how to work on that.

    I've got .NET Framework SDK 4.5, 4.5.1, 4.5.2, 4.6 and 4.6.1 and DirectX SDK (June 2010).

    Anything I'm missing here?
     
  2. CptTwinkie Master Engineer

    Messages:
    4,458
    Shader errors aside, the destruction tool does not work currently because of licensing issues involving Havok's dll's. If we are able to reach a solution that gives us the functionality needed for the destruction tool with publicly distributable libraries then we'll get it working again. Sorry for the inconvenience.
     
  3. Yurand Trainee Engineer

    Messages:
    68
    Hello, has this licencing invonvenience been fixed? Actually nowdays I can't find anywhere the destruction tool and also I have no ideas at all on how to make those parts without having it.

    Thanks for your help,
    Yurand2000
     
Thread Status:
This last post in this thread was made more than 31 days old.