Views: 1,609,099 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 11-21-24 09:27 AM |
Guest: |
0 users reading 3DS Shader Tools - nihstro | 1 bot |
Main - Homebrew tools - 3DS Shader Tools - nihstro | Hide post layouts | New reply |
neobrain |
| ||
Member Normal user Level: 10 Posts: 1/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
WHAT IS NIHSTRO?
nihstro is a collection of tools for dealing with 3DS shader developement and reverse engineering. Currently it accommodates an assembler and a disassembler. The assembly shading language used by nihstro follows a public specification. Included with nihstro is a description of the shader assembly language and a concrete list instruction set reference. Additionally, two very simple example applications are included to illustrate usage (shaders are bundled in the data subdirectories). nihstro is written in C++11 and requires the Boost libraries. You can read about the details on the GitHub page. BINARIES Windows binaries can be downloaded REPORTING ASSEMBLER BUGS Given its early development state, there may be a number of quirks with the assembler, in particular: * Code which you would intuitively expect to work might not compile, or compile in an unexpected way * Statements which are valid according to the specification or the instruction set reference may be rejected as invalid, or generate an incorrect shader binary. If you encounter any of these issues or have any other suggestions to make, please report them in this thread (and include an example shader source and the output shbin in that report). You can also create an issue on GitHub. |
StapleButter |
| ||
Member blarg Level: 30 Posts: 19/184 EXP: 151355 Next: 14514 Since: 10-27-14 From: France Last post: 2648 days ago Last view: 2558 days ago |
Interesting project.
When I'm less busy with blargSNES's hardware renderer, I'll port the shaders it uses, so you can test them. I'll gladly switch to this if it is practical enough. devkitPro integration would be gold, but atleast being readily available for Windows and Linux would do it for me. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
neobrain |
| ||
Member Normal user Level: 10 Posts: 4/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
Fwiw, I just uploaded a Windows binary (link in the first post). |
neobrain |
| ||
Member Normal user Level: 10 Posts: 7/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
Just put out an official 0.1 pre-release, link in the first post!
Quoting announcement from gbatemp:
|
StapleButter |
| ||
Member blarg Level: 30 Posts: 60/184 EXP: 151355 Next: 14514 Since: 10-27-14 From: France Last post: 2648 days ago Last view: 2558 days ago |
Nice! If this could get more people into the homebrew scene
And especially into using the GPU, too. Framebuffer drawing works, but the 3DS is too slow to refresh the whole framebuffers at 60FPS. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
Tcm0 |
| ||
Newcomer Normal user Level: 6 Posts: 6/6 EXP: 883 Next: 24 Since: 12-29-14 Last post: 3546 days ago Last view: 3006 days ago |
Could you please add some samples like how to display backgrounds (if that's possible) and how to texture triangles? |
neobrain |
| ||
Member Normal user Level: 10 Posts: 8/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
Posted by Tcm0 Unfortunately I don't have too much time on my hands to come up with new examples, so any contributions would be welcome there. As for texturing triangles, the cube demo will show you how to do that already. Displaying backgrounds might be as simple as rendering a textured quad (= two triangles) spanning the whole screen; something more sophisticated is known as "sky boxes", and should be easy enough to find using Google. |
neobrain |
| ||
Member Normal user Level: 10 Posts: 11/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
New Windows x86 binaries: revision c3d7977888cd New builds below. |
neobrain |
| ||
Member Normal user Level: 10 Posts: 14/17 EXP: 4239 Next: 175 Since: 11-15-14 Last post: 3313 days ago Last view: 2802 days ago |
New nightly builds (August 19, 2015)
Windows x64 binaries: revision c3d7977888cd Windows x86 binaries: revision c3d7977888cd |
Main - Homebrew tools - 3DS Shader Tools - nihstro | Hide post layouts | New reply |
Page rendered in 0.018 seconds. (2048KB of memory used) MySQL - queries: 26, rows: 79/79, time: 0.007 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |