Jump to content

My SVN installation (for 27) is failing at launch with this error


Old Roman
 Share

Recommended Posts

A few weeks ago my windows SVN installation of 0Ad starting crashing with the following error message.  (complete error text attached)

Any suggestions appreciated, if not I'll just wait for the release.

 

Assertion failed: "Tech"

Location: canvas2d.cpp:108 (CCanvas2D::Impl::BindTechIfNeeded)

Call stack:

CCanvas2D::Impl::BindTechIfNeeded (canvas2d.cpp:108)
    this = 0xFFC00000 -> 
        WidthInPixels = (unavailable - internal error)

        HeightInPixels = (unavailable - internal error)

        Scale = (unavailable - internal error)

        TransformScale = 
            X = (unavailable - internal error)

            Y = (unavailable - internal error)


        Translation = 
            X = (unavailable - internal error)

            Y = (unavailable - internal error)


        m_VertexInputLayout = (unavailable - internal error)

        DeviceCommandContext = (unavailable - internal error)

        Tech = (shared_ptr<CShaderTechnique>)
        BindingSlots = 
            transform = (unavailable - internal error)

            translation = (unavailable - internal error)

            colorAdd = (unavailable - internal error)

 

            colorMul = (unavailable - internal error)

            grayscaleFactor = (unavailable - internal error)

            tex = (unavailable - internal error)

complete error text attached:

SVN launch error.txt

Link to comment
Share on other sites

I may have tried the new vulcan option, but it was working with that. I definitely added mods in the old version.  Would that affect the  the SVN?

I'll try going vanilla on the old version.  I haven't played the SvN for a while but now that you mention it I have a vague memory that I maybe I had to disable mods in the old version to get it to work properly.  Before the release of a26 I was playing the SVN with no mods installed in a25.

 

Link to comment
Share on other sites

Yes both application use the same config file unless you use -writableRoot. 

Previously there was no issue with incompatible mods as the default mod contained everything we needed to run the game. The version in SVN misses Vulkan shaders, so if you try to run the default mod without them the game will crash. To rule that out you can run the game with -conf:rendererbackend:gl

Link to comment
Share on other sites

Thanks Stan

I got the SVN to run by using the -writableRoot command, the -conf:rendererbackend:gl command did not work.

Within the SVN I downloaded the vulcan shader mod and was able to run with that as well.

(I also got some new insight into running from the command line from an internet search which showed me the trick of dragging the "binary" folder icon in explorer,  where pyrogenesis.exe  is located, to the command line which  when pasted after the cd command adds the full correct syntax to the line saving a lot of typing.) All in all a fruitful exercise.

  • Like 1
Link to comment
Share on other sites

10 hours ago, real_tabasco_sauce said:

So is vulkan the default for a27? Or is this just to ensure vulkan isn't enabled without the shaders mod?

No GL stays the default. Here I'm just forcing the configuration.

@Old Roman Glad it worked I messed up the command it's -conf=rendererbackend:gl

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...