{"id":17039018,"url":"https://github.com/dcnick3/shader-compiler-rs","last_synced_at":"2025-03-22T23:44:51.683Z","repository":{"id":107294166,"uuid":"609263836","full_name":"DCNick3/shader-compiler-rs","owner":"DCNick3","description":"A tool to recompile binary maxwell shaders (found on nintendo switch) to glsl","archived":false,"fork":false,"pushed_at":"2023-07-10T16:57:16.000Z","size":2344,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T03:29:50.909Z","etag":null,"topics":["nvn","recompilation","reverse-engineering","shaders"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DCNick3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-03T18:11:15.000Z","updated_at":"2024-12-16T08:13:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b57ec14e-1415-4eb5-a8bf-5ae3f29c17de","html_url":"https://github.com/DCNick3/shader-compiler-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCNick3%2Fshader-compiler-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCNick3%2Fshader-compiler-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCNick3%2Fshader-compiler-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCNick3%2Fshader-compiler-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCNick3","download_url":"https://codeload.github.com/DCNick3/shader-compiler-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245036121,"owners_count":20550661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nvn","recompilation","reverse-engineering","shaders"],"created_at":"2024-10-14T08:58:27.107Z","updated_at":"2025-03-22T23:44:51.673Z","avatar_url":"https://github.com/DCNick3.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## shader-compiler-rs\n\nA thin wrapper around the Hades - Yuzu Shader Recompiler, which allows to recompile binary NVN shaders into GLSL, found in many Nintendo Switch games.\n\n## Installation \u0026 Usage\n\nInstall with:\n\n```bash\ngit clone https://github.com/DCNick3/shader-compiler-rs\ncd shader-compiler-rs\ncargo install --path cli\n```\n\nUsage: \n\n```bash\nshader-compiler-cli shader.bin shader.glsl\n```\n\n`shader.bin` is the data part of the shader you pass to NVN. Note, that, unlike the [Ryujinx ShaderTools](https://github.com/Ryujinx/Ryujinx/tree/master/Ryujinx.ShaderTools), this tool accepts shaders with the 0x30-bytes NVN-specific header before the [SPH](https://download.nvidia.com/open-gpu-doc/Shader-Program-Header/1/Shader-Program-Header.html).\n\n`shader.glsl` is the output file. It will be overwritten if it already exists.\n\n## Thanks\n\nA big thanks to the [yuzu](https://github.com/yuzu-emu/yuzu) contributors for their work on the shader recompiler, which is used in this tool.\n\nAlso, personal thanks to ByLaws and Pharynx on the ReSwitched Discord for patiently answering my questions =)\n\n## License\n\nSame as the skyline's fork of Yuzu Shader Recompiler (Hades), this tool is licensed under the MPL-2.0 license. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcnick3%2Fshader-compiler-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcnick3%2Fshader-compiler-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcnick3%2Fshader-compiler-rs/lists"}