How To Change Where Nintendo Dev Interface Stores It's Temporary Directory

Discussion in 'Computer Software and Operating Systems' started by MarioMasta64, May 18, 2017.

  1. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    I Need To Change Where NDI Saves It's Temp Files Because Of This:

    There is not enough space in the user's TEMP folder to extract the software.
    TEMP path: C:\Users\MarioMasta64\AppData\Local\Temp\
    Minimum space required: 2.3 GB
    Space available: 3.5 GB

    What I've tried:

    ndi.bat
    >@echo off
    >Color 0A
    >title Nintendo Developer Interface Launcher - MarioMasta64
    >if not exist D:\temp mkdir D:\temp
    >if not exist D:\temp\appdata mkdir D:\temp\appdata
    >set "temp=D:\temp"
    >set "appdata=D:\temp\appdata"
    >echo temp: %temp%
    >echo appdata: %appdata%
    >echo starting program
    >"C:\Program Files\Nintendo\Nintendo Dev Interface\NDI.exe"
    >echo program end
    >pause

    yet it stills says C:\Users\MarioMasta64\AppData\Local\Temp\ despite output being:
    >temp: D:\temp
    >appdata: D:\temp\appdata
    >starting program
     
  2. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    should I just change full on where the user profile is saved? does anyone know how it chooses to save? (hopefully not hardlinked)

    — Posts automatically merged - Please don't double post! —

    also changing even userprofile doesnt seem to help :/ is there anything else i can do?
     
  3. Joom

    Joom  ❤❤❤

    Member
    3,892
    2,620
    Jan 8, 2016
    United States
    It's most likely hardcoded. Also, why is the medium that your AppData folder resides on so tiny?
     
    MarioMasta64 likes this.
  4. gamesquest1

    gamesquest1 Nabnut

    Member
    14,119
    9,455
    Sep 23, 2013
  5. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    615
    274
    Jun 12, 2009
    You could try creating a symbolic link.
     
  6. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    Because I have to program on my netbook until I can get a new hdd cable for my main pc. its 32gb.

    — Posts automatically merged - Please don't double post! —

    that's what setting the temp / appdata / userprofile variable does. and it doesn't work so I'm guessing its hardcoded.

    — Posts automatically merged - Please don't double post! —

    I already changed userprofile (I can do this by setting a variable in a batch file super easily) it doesn't work.
     
  7. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    615
    274
    Jun 12, 2009
    Symbolic links are different to setting the environment variable.

    I've used them many times to override hardcoded links.

    https://en.wikipedia.org/wiki/NTFS_symbolic_link
     
  8. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    well Nintendo developer portal is down for now so I will test this sometime soon thank you for this (I could use this in some of my portable projects if it wasn't for windows vista / 7 needing admin -~-)
     
  9. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    Joom and tech3475 like this.
  10. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    on second thought. it works perfectly till you try and install something. it still calculates space according to C:
     
  11. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,868
    5,018
    Mar 17, 2010
    Norway
    Alola
    Did you also try changing the LocalAppData environment variable?
     
  12. RemixDeluxe

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    Are you allowed to be discussing this on a public forum?

    Seems like anything SDK related has you tied to an NDA with anyone about its use.
     
  13. Joom

    Joom  ❤❤❤

    Member
    3,892
    2,620
    Jan 8, 2016
    United States
    This is just specifically talking about installation, not the use of or the content of the SDK.
     
    MarioMasta64 likes this.
  14. RemixDeluxe

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    Alright, that's fair. I'd be concerned for his sake, Nintendo employees could potentially be watching this forum and see this person discussing things they aren't supposed to (don't know the full extent of their NDA). Thats all.
     
  15. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    615
    274
    Jun 12, 2009
    One option might be to move something else over to the other drive to bring the size down, you could either move something like the documents folder or something like a game using steammover (a program which moves a folder and creates a symbolic link).
     
  16. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    I have tried both separetly but not together. ill try that

    — Posts automatically merged - Please don't double post! —

    I already have a way to save steam games and everything else to my external drive (I made portable steam launcher that handles that)

    — Posts automatically merged - Please don't double post! —

    I'm not talking of anything that would be violating NDA (ive read it thouroughly I cant afford being sued lol)

    — Posts automatically merged - Please don't double post! —

    the only thing on my drive btw is my OS and NDI lol and most all NDI is moved to D:
     
  17. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    615
    274
    Jun 12, 2009
    Have you checked for anything else which could clean up space e.g. Browser cache (i use ccleaner), system restore backups (using disk cleanup), disable hibernate, etc?
     
    MarioMasta64 likes this.
  18. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,890
    408
    Dec 21, 2016
    United States
    trust me that's not gonna help :/ the internal ssd that cant be modified or taken off is 32gb but. I got my 750gb laptop back up and working.