DXDecompiler
By spacehamster
HLSLcc
DirectX shader bytecode cross compiler (by Unity-Technologies)
DXDecompiler | HLSLcc | |
---|---|---|
1 | 2 | |
57 | 860 | |
- | 0.6% | |
0.0 | 0.0 | |
over 2 years ago | 6 months ago | |
HLSL | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DXDecompiler
Posts with mentions or reviews of DXDecompiler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-22.
-
Ripper for shaders or how fix them
In this issue (https://github.com/mafaca/UtinyRipper/issues/562) mafaca mentions that somebody else is doing work on a decompiler, relevant repo seems to be this one: https://github.com/spacehamster/DXDecompiler
HLSLcc
Posts with mentions or reviews of HLSLcc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-22.
-
Ripper for shaders or how fix them
No documentation, I got no clue if this one is working. Unity has a crosscompiler https://github.com/Unity-Technologies/HLSLcc, or you can also read this write-up and try out SlimShader (http://timjones.io/blog/archive/2015/09/02/parsing-direct3d-shader-bytecode).
-
So I got Outer Wilds working with OpenGL... kind of (disorientation warning, more details in comments)
Using the libraries AssetsTools.NET and uTinyRipper to deal with Unity asset bundles and HLSLcc and its wrapper HLSLccWrapper to convert the shaders themselves, I created a working prototype called GraphicsAdder that takes a Windows Steam installation of Outer Wilds and produces copies of its files that work with both Direct3D and OpenGL. By adding some flags to Launch Options in Properties, you can switch between the two at launch!
What are some alternatives?
When comparing DXDecompiler and HLSLcc you can also consider the following projects:
UtinyRipper - GUI and API library to work with Engine assets, serialized and bundle files
GraphicsAdder - A program that converts the Direct3D shaders of Outer Wilds to OpenGL as a first step to port it to other platforms. May be generalized to all Direct3D-exclusive games in the future.