Nihstro-assembler Help.

Discussion in '3DS - Homebrew Development and Emulators' started by Lordsble, Feb 22, 2016.

  1. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    Is the only way to use Nihstro is by building it with CMake and C++ Boost libraries? I heard theres a precompiled version, but I don't know where to find it.
     
  2. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    I would say the build instructions are pretty good but a certain amount of reading may be required ;)
     
  3. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    Yeah I bet they're great too, but is there a precompiled version, so I don't have to read the build instructions?
     
  4. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    Yes - Google it!! Nihstro binary download
     
  5. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,271
    Nov 24, 2014
    Italy
    Bologna
    Is there a specific reason why you're using nihstro? It's pretty outdated, there is picasso which received more recent updates.
     
  6. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
  7. TheCruel

    TheCruel Developer

    Banned
    1,351
    2,886
    Dec 6, 2013
    United States
  8. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
  9. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    I downloaded the Nihstro binary, but where do I put it? Because when I type the make command it says: "Makefile:10: *** "Please set NIHSTRO in your environment. export NIHSTRO=<path to>nihstro-assemble". Stop."
     
  10. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    It doesn't matter so much where you put it as you are going to add the "export NIHSTRO=" command to the makefile. Open up the makefile in a text editor and look for the line where it is complaining about exporting NIHSTRO. Then add the export command somewhere above it. You will be specifying the full path and file name. You could even dump it in the devkitpro folder if you are at a loss as to where to put it.(it being the binary file)
     
  11. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    I'm still getting the error.
    Here's the orignal code...

    ifeq ($(strip $(NIHSTRO)),)
    $(error "Please set NIHSTRO in your environment. export NIHSTRO=<path to>nihstro-assemble")
    endif

    Now here's my new one...

    ifeq ($(strip $(NIHSTRO)),)
    $(error "Please set NIHSTRO in your environment. export NIHSTRO=<C:\nihstro>nihstro-assemble")
    endif

    Is there something wrong with my new code?
     
  12. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    Interesting that you chose to put the export command after the error message. In this context "above" should be interpreted as "prior to". But go one step further and move the export above the ifeq line. Also, fix the path to the binary. What you have typed is not a valid format. If you can type the whole path and file name together on the command line - and it starts - then you have it right. Google absolute paths in Windows if you need to ;) good luck.
     
  13. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    @elhobbs When I do compress my files, so I can change blargSnes controls...where do I put the files?
     
  14. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    Sorry, no idea what you are talking about. Compress?
     
  15. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    When I type the command make it's suppose to compresses the files right?

    https://gbatemp.net/threads/how-do-i-compile-files-to-3dsx.415466/

    But when I do it says nihstro error.

    So, when I fix the nihstro error, I can compress the file. I'm compressing new blargSnes controls.
     
  16. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    Jul 28, 2008
    United States
    I am sorry. I don't think I can help you further. I suspect this task is beyond your current experience level. You should should maybe take some programming classes or perhaps some online tutorials specializing in C programming and/or make usage.
     
  17. Lordsble
    OP

    Lordsble Pokémon Trainer

    Member
    247
    17
    Feb 12, 2016
    United States
    Ok, that seems like good idea. Thanks for all the help, learned a lot.:D