# Setup

## Quick Start

1. Download and unzip the latest FNIStash release.  You can unzip it anywhere on your system you like, but keep the files together.
2. Launch FNIStash by double clicking the “Launch FNIStash.bat” file.  A console window will pop up and FNIStash will load in your browser window.
3. When you are done with FNIStash, close your browser window and enter Ctrl+C in the console (possibly twice) and choose to terminate the batch job.  Alternatively you can leave the FNIStash console window running in the background and connect to it with your browser at anytime by navigating to localhost:10001.

## Configuration

If you play TL2 through Steam and play softcore, the default configuration will likely work for you.  If not, you can edit the configuration file at

AppData\Roaming\FNIStash\Backend.conf

to point FNIStash to the appropriate locations for your system.

## First Time Start Up

When FNIStash is started for the first time, it will create the following items within AppData\Roaming\FNIStash\

• Backend.conf – FNIStash configuration file.
• fnistash.db – SQLite database of registered items.
• Backups – Directory of automatic backups.  At most 10 backups are retained.
• Export – Directory where exported database shows up.
• FailedItems – Items that FNIStash is unable to parse are saved here so they are not lost.
• GUI – Directory containing all GUI assets.
• Import – Directory used for importing items.

NOTE: starting in release r1.4, you can optionally specify the location of the fnistash.db file.  This allows you to place the DB file on a network location and share with a friend, but only one of you can use FNIStash at a time.

At first time startup, FNIStash extracts all necessary GUI assets from the TL2 PAK file and writes them to disk.  This takes several minutes, even on a fast machine.

## Separate Instances

If you’d like to run separate instances for FNIStash, such as one for softcore and one for hardcore, just add a keyword as a second argument to the FNIStash launcher.  For example  you can edit the launcher .bat file like so

start http://localhost:10001
FNIStash Hardcore

and FNIStash will start up looking for the “Hardcore” instance.  You must still edit the configuration file to point to your desired locations for this instance.

## 12 thoughts on “Setup”

1. Hi,

I downloaded FNIStash but when I click the .bat file I get an “Entry Point Not Found” error with the following message “The procedure entry point_get_output_format could not be located in the dynamic link library msvcrt.dll”

Thanks for what looks like a great program (now if I can just get it installed).

Jon

• Hi Jon. What version of Windows are you using, and is it 32 bit or 64 bit? Do you have the msvcrt.dll file located at C:\Windows\System32 or C:\Windows\SysWOW64? (On my system it’s in both locations). I’ve only tested FNIStash on Win 7, for what it’s worth.

• Thanks for the quick reply. I’m still running 32 bit XP (if it ain’t broke don’t fix it mentality). I did check after I got the error message and I do have the msvcrt.dll file in the C\Windows\System32 directory.

• I sympathize with the tried-and-true mentality. 🙂 Unfortunately since I won’t be able to effectively debug this on my machine, I don’t think I can fix it for you in the short term, and I would like to focus on more functionality related bugs instead of compatibility ones. Drop me a line through the contact form and maybe we can figure out a way for you to try it with an updated dll file and see if that works for you.

2. Hi,
My wife & I just started playing Torchlight 2 together and one of the main things we wanted was a shared infinite stash. We first found stash ninja, which is terribly flawed but functional. Today, I found FNIstash and was quite happy to have something that had a better method of moving items back and forth. However, some testing revealed some flaws (for us) that without being able to change, mean we can’t use yourprogram.

My wife and I play together over a LAN connection; her at her computer and me at mine. While obviously we each have our own shared stash file, with StashNinja we were able to create and use a single infinite stash stored on our home server. Unfortunately, FNIstash doesn’t seem to allow me to set where the saved registry is created, thus my wife and I can’t share a single registry. Is there a way to change the location of the registry so we both can access the same file rather than having 2 registries? Thanks in advance for any help.

Désirée

• Hi, Desiree! Thanks for reaching out to me about FNIStash. I’m always glad to hear that people are still finding it useful.

As for your specific problem, I don’t know of any way to achieve the sharing you want with the present version of FNIStash. It always sticks all its files into a subdirectory of AppData, and although you can control which subdirectory is used, I don’t think this helps you with your problem. And, even IF you found a way to share your AppData/FNIStash folder, then you would automatically be sharing the Backend.conf file as well, which means you and your wife would need exactly the same configuration (including user name!).

I’ll go ahead and make some code updates for a new version that I *think* will work for your scenario, but be aware that I don’t have a LAN with which to test. Also know that no matter what, only 1 instance of FNIStash can access the .db file simultaneously, so you will need to take turns with your wife. Let me know if that works for you as well as any other constraints you might have, and I should have something in less than a week, depending on my free time.

• thank you so much for your efforts. We’re quite used to the “only one at a time” rule after 10 years of D2s ATMA and 2 more with TitanQuests Vault. I know nothing of this kind of programing so if you say the .db can’t be saved elsewhere I will take your word for it and we will adapt. I appreciate any time you put into this just for little ol’ me 🙂

• Hey, Desiree. I made some updates for you and sent them to you in an email to the address you provided for your comment. When you get a chance, check it out and let me know how it works out.

• Thank you so much! Been testing this on both our systems to make sure we were both accessing the same fnistash.db and we are. Yay! (Plus, it’s always nice to get database and document files off the C: drive)

Only issue I had (which is most likely simply my own lack of knowledge) was that I couldn’t figure out how to set the absolute location to a network path. I solved this by just mapping the network folder to a drive letter which worked perfectly. What I mean is “\\192.168.100.258\\Documents\\Shared stuff” didn’t work but “S:\\Shared stuff” did.

I was getting lots of unable to parse stuff going to failed which I realized was all my shared stash spells/tomes but then I remembered I am using a mod that changes the text color of those. When I disabled that, it worked perfectly.

You are awesome and my new Torchlight hero. Thank you thank you thank you 😀

3. Greetings, i need help with the DATA.PAK.MAN. i checked everywhere, i dont know what it is and located. (Note: i downloaded not through steam. but by different other methods.). my problem is that whenever i open FNIStash the DATA.PAK.MAN is not located thus rendering me unable to use FNIStash. any solution? Thanks in advance.

4. Hello dan, I got 1 problem
the items doesn’t show their icons
and C:\Users\A\AppData\Roaming\FNIStash\GUI\GUIAssets
it’s empty
I already tried to refresh the localhost
re-open it but stills nothing
Thanks.

• I fixed it
I erased FNIStash\GUI\GUIAssets
and re-opened the setup
and now it’s extracting the icons
!