---
name: "nihstro-assemble"
section: "1"
platform: "linux"
package: "nihstro-tools"
version: "0.0~git20211107.e924e21-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nihstro-assemble"
---

# nihstro-assemble(1)

Utility for assembling SHBIN files from human-readable 3DS shader source code

## NAME

**nihstro-assemble** – Utility for assembling SHBIN files from human-readable 3DS shader source code

## SYNOPSIS

**nihstro-assemble** \[**-e** \| **--entrypoint** *label\_name*\] \[**-g** \| **--geo\_shader**\] \[**-h** \| **--help**\] \[**-o** \| **--output** *output\_filename*\] *file ...*

## DESCRIPTION

**nihstro-assemble** is a standalone assembler for assembling 3DS shader binaries from human-readable source code (the syntax of which is called "nihcode"). It is perfectly suitable for homebrew development. Shader source needs to follow the nihcode specification.

Options:

- **-e**, **--entrypoint** *label\_name*

  label name in the input source at which shader execution should start (defaults to "main")

- **-g**, **--geo\_shader**

  Compile shader source as a geometry shader

- **-h**, **--help**

  Show command line usage

- **-o**, **--output** *output\_filename*

  Filename of output shader binary

## SEE ALSO

[nihstro-disassemble(1)](/nihstro-disassemble/1.md)

## AUTHORS

**nihstro-assemble** was written by \
 Tony Wasserka

This manual page was written by\
 David James ⟨*davidjamescastor215@proton.me*⟩
