killzxgaming / cafe-shader-studio Goto Github PK
View Code? Open in Web Editor NEWA program to preview various materials and shaders in games.
License: MIT License
A program to preview various materials and shaders in games.
License: MIT License
When I try opening it, it instantly closes. I tried unblocking the zip before extracting as well. GPU is NVIDIA GeForce GTX 1050.
Console Log:
FragmentShaderArb:
0:15(29): error: syntax error, unexpected NEW_IDENTIFIER, expecting ')' or ','
I recently upgraded my CPU and while a lot of your tools stayed functional. Cafe Shader Studio now has a issue where I import models from NSMBU, it shows various bounding boxes that define the size of the various meshes on the model, but rotated 90 degrees.
However, most other view modes look fine with the addition of said bounding boxes noted above.
Also 'Lighting' and 'Diffuse' show black results.
When attempting to export 3D models from Splatoon 2 or Mario Kart 8, Shader Studio crashes because it is unable to locate one or more libraries (specifically it is trying to reference Model.cs module at C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Models\ as well as a projects directory located at the base of the C drive (C:\projects\cafe-shader-studio)
Crash Log:
FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120
VertexShader:
FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120
VertexShader:
FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120
VertexShader:
FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120
VertexShader:
FragmentShaderArb:
0(40) : warning C7533: global variable gl_FragColor is deprecated after version 120
VertexShader:
FragmentShaderArb:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
VertexShader:
VertexShader:
FragmentShaderArb:
Resized dear imgui vertex buffer to new size 41680
Resized dear imgui index buffer to new size 6252
compressionFormat Yaz0
Reloading Shader Program Jnt_Body__m_Body
program 5
program 6
program 7
program 8
program 9
Reloading Shader Program Jnt_Body__m_Light
program 0
program 1
program 2
program 3
program 4
Reloading Shader Program Jnt_PartsL__m_Body
program 5
program 6
program 7
program 8
program 9
Reloading Shader Program Jnt_PartsR__m_Body
program 5
program 6
program 7
program 8
program 9
VertexShader:
FragmentShaderArb:
FragmentShaderArb:
VertexShader:
depth 6
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 953856
size 524288
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 953856
size 524288
format BC5_SNORM 16 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 1415168
size 589824
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 718848
size 294912
format BC4_UNORM 8 4 4 blockHeight 2 BlockHeightLog2 1 ImageData 15872
size 2048
format BC4_UNORM 8 4 4 blockHeight 8 BlockHeightLog2 3 ImageData 66560
size 27720
FragmentShaderArb:
VertexShader:
VertexShader:
FragmentShaderArb:
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at BfresLibrary.Core.ResFileSaver.ExportSection(String fileName, IResData resData, ResFile resFile) in C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Core\ResFileSaver.cs:line 75
at BfresLibrary.Model.Export(String FileName, ResFile ResFile) in C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Models\Model.cs:line 104
at BfresEditor.FMDL.Export(String fileName) in C:\projects\cafe-shader-studio\BfresEditor\Bfres\Wrappers\FMDL.cs:line 85
at CafeStudio.UI.Outliner.SetupRightClickMenu(NodeBase node) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 546
at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 283
at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 483
at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 483
at CafeStudio.UI.Outliner.Render() in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 170
at CafeShaderStudio.MainWindow.LoadWorkspaces() in C:\projects\cafe-shader-studio\CafeShaderStudio\MainWindow.cs:line 466
at CafeShaderStudio.MainWindow.OnRenderFrame(FrameEventArgs e) in C:\projects\cafe-shader-studio\CafeShaderStudio\MainWindow.cs:line 383
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at OpenTK.GameWindow.Run()
at CafeShaderStudio.Program.Main(String[] args) in C:\projects\cafe-shader-studio\CafeShaderStudio\Program.cs:line 23```
Setting the animation framerate higher (at least for texture srt animations, maybe all) does not affect speed. Making it lower makes it slower, as expected.
Sometimes this bug sometimes only happens the very first time a file is loaded by an install of Cafe Shader. Is persistent on G64_KinopioHighway (MK8 WiiU), however persistence's aren't really consistent; I've noticed that some courses that were previously fine, after a clean install of Cafe shader, are now consistently experiencing this bug.
Tested in Gu_City from MK8 WiiU.
When multiple animations are playing, sometimes animations with clamping can snap to the wrong position. This could be related to differing lengths of animations.
The orange marker appears to interpolate back to its starting position when it should snap. This issue may be a result of seeing the animation without clamping, in which case it is a duplicate of #7.
Tested in Mario Circuit from Mario Kart 8 WiiU.
the issue can be resolved by changing MainWindow.cs,1206
, MainWindow.cs,1219
, MainWindow.cs,121
from
whatever(Runtime.ExecutableDir + "{Path.DirectorySeparatorChar}Recent.txt");
to either
whatever(Runtime.ExecutableDir + $"{Path.DirectorySeparatorChar}Recent.txt");
whatever(Runtime.ExecutableDir + Path.DirectorySeparatorChar + "Recent.txt");
or
whatever($"{Runtime.ExecutableDir}{Path.DirectorySeparatorChar}Recent.txt");
and
and BfresModelAsset.cs,96
from
(System.IO.File.Exists("GFD{Path.DirectorySeparatorChar}gx2shader-decompiler.exe"))
to either
(System.IO.File.Exists($"GFD{Path.DirectorySeparatorChar}gx2shader-decompiler.exe"))
or
(System.IO.File.Exists("GFD" + Path.DirectorySeparatorChar + "gx2shader-decompiler.exe"))
When starting the latest auto-build from the releases page with dotnet CafeShaderStudio.dll
, a window appears, then exits with [1] 6364 segmentation fault (core dumped) dotnet CafeShaderStudio.dll
in the console.
OS: Manjaro Linux 21.1.0
Dotnet Version: 5.0.205
Full output of dotnet CafeShaderStudio.dll
:
VertexShader:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
LoadShader Generic/Basic
VertexShader:
FragmentShaderArb:
LoadShader Generic/Line
LoadShader Normals/Normals
VertexShader:
FragmentShaderArb:
GeometryShader:
LoadShader Generic/BillboardTexture
VertexShader:
FragmentShaderArb:
LoadShader Screen/Screen
VertexShader:
FragmentShaderArb:
LoadShader Viewer/Grid
VertexShader:
FragmentShaderArb:
LoadShader Shadow
VertexShader:
FragmentShaderArb:
LoadShader ColorCorrection
VertexShader:
FragmentShaderArb:
LoadShader NormalizeDepth
VertexShader:
FragmentShaderArb:
LoadShader Picking
VertexShader:
FragmentShaderArb:
0:15(29): error: syntax error, unexpected NEW_IDENTIFIER, expecting ')' or ','
LoadShader Selection
VertexShader:
FragmentShaderArb:
LoadShader Editor/Gizmo
VertexShader:
FragmentShaderArb:
LoadShader Editor/UVWindow
VertexShader:
FragmentShaderArb:
LoadShader Editor/ImageEditor
VertexShader:
FragmentShaderArb:
LoadShader BFRES/BfresDebug
VertexShader:
FragmentShaderArb:
LoadShader TextureIcon
VertexShader:
FragmentShaderArb:
LoadShader Cubemap/Equirectangular
VertexShader:
FragmentShaderArb:
LoadShader Lightmap
VertexShader:
FragmentShaderArb:
LoadShader Cubemap/HdrEncode
VertexShader:
FragmentShaderArb:
LoadShader Cubemap/HdrDecode
VertexShader:
FragmentShaderArb:
LoadShader Cubemap/Irradiance
VertexShader:
FragmentShaderArb:
LoadShader Cubemap/Prefilter
VertexShader:
FragmentShaderArb:
LoadShader Effects/Default
LoadShader Blur/GaussianBlur
LoadShader BloomExtract
VertexShader:
FragmentShaderArb:
LoadShader LightPrepass
VertexShader:
FragmentShaderArb:
LoadShader Caustics
VertexShader:
FragmentShaderArb:
FragmentShaderArb:
VertexShader:
FragmentShaderArb:
VertexShader:
[1] 7191 segmentation fault (core dumped) dotnet CafeShaderStudio.dll
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.