From WikiTemp, the GBAtemp wiki
m
Line 19: Line 19:
 
If you need/want to build nihstro yourself, you first need to install [http://www.cmake.org/ CMake] and the [http://www.boost.org/ C++ Boost libraries]. CMake has an installer for Windows, and is most likely available via your package manager on Linux.
 
If you need/want to build nihstro yourself, you first need to install [http://www.cmake.org/ CMake] and the [http://www.boost.org/ C++ Boost libraries]. CMake has an installer for Windows, and is most likely available via your package manager on Linux.
  
To install the Boost libraries, download the latest package from the boost main site and extract it anywhere. Open a command prompt (windows) or terminal (linux) and navigate (<code>cd</code>) to the extracted folder. Now run <code>boostrap.bat</code> (windows) or <code>./bootstrap.sh</code> (linux). It will generate a b2 executable. Install boost via <code>b2 install</code> (windows) or <code>./b2 install</code> (linux).
+
To install the Boost libraries, download the latest package from the boost main site and extract it anywhere. Open a command prompt (windows) or terminal (linux) and navigate (<code>cd</code>) to the extracted folder. Now run <code>boostrap.bat</code> (windows) or <code>./bootstrap.sh</code> (linux). It will generate a b2 executable. Install boost via <code>b2 install --prefix=c:\boost</code> (windows) or <code>./b2 install</code> (linux).
  
 
After all that is done, download and extract the nihstro package and <code>cd</code> to it in your command prompt/terminal. Now use the commands <code>cmake .</code> and <code>make</code> to compile nihstro. Finally, add an environment variable called "NIHSTRO" and point it to your nihstro folder (the one containing the assembler and disassembler).
 
After all that is done, download and extract the nihstro package and <code>cd</code> to it in your command prompt/terminal. Now use the commands <code>cmake .</code> and <code>make</code> to compile nihstro. Finally, add an environment variable called "NIHSTRO" and point it to your nihstro folder (the one containing the assembler and disassembler).

Revision as of 09:54, 28 August 2015

nihstro
General
Author[[User:neobrain]]
Links
Via GitHub
Source

Nihstro is a set of tools to assemble and disassemble shader code for the PICA200 GPU used in the Nintendo 3DS. It was inspired by aemstro, but is more user friendly and feature-rich.

Installation

The easiest way to install nihstro is to find a precompiled version of the nihstro-assembler and nihstro-disassembler. You can put them in any location and add an environment variable "NIHSTRO" which points to that location.

If you need/want to build nihstro yourself, you first need to install CMake and the C++ Boost libraries. CMake has an installer for Windows, and is most likely available via your package manager on Linux.

To install the Boost libraries, download the latest package from the boost main site and extract it anywhere. Open a command prompt (windows) or terminal (linux) and navigate (cd) to the extracted folder. Now run boostrap.bat (windows) or ./bootstrap.sh (linux). It will generate a b2 executable. Install boost via b2 install --prefix=c:\boost (windows) or ./b2 install (linux).

After all that is done, download and extract the nihstro package and cd to it in your command prompt/terminal. Now use the commands cmake . and make to compile nihstro. Finally, add an environment variable called "NIHSTRO" and point it to your nihstro folder (the one containing the assembler and disassembler).