I essentially have to reverse the reading logic in order to write the file back. Will probably be a bit of trial and error with the encoding woven into it.
I have started on the analysis for writing the stash back and first bits of code have been begun, but that will be it for today.
Read the included documentation first, that should answer most questions (I hope).
To all beta testers:
Delete the old version entirely (including the db subdirectory). The stash item DB table has changed due to the changes in the save format. This table is only created the very first time the database is being created (i.e. if there is no db subdirectory yet), as the stored items are supposed to āsurviveā new releases.
Going forward I will add some code to convert the content of that table if the format ever changes again. As so far no one (but me) had items stored, I did not do so this time.
I canāt configure this. It just keeps telling me the directory is wrong. I canāt get it to recognize the save folder. When I select the save folder it just wants to open it and wonāt let me actually select it instead.
I check that it is the right dir by verifying that it contains a transfer.gst or transfer.gsh file. Any dir that contains either is accepted.
As to not being able to select the save dir, I have no idea how you do that. This is a standard selection window and you can select any dir in it. Once you have navigated to the save dir, press the Open button. Same way you selected the GD installation dir.
Hereās a feature suggestion: Please implement sort controls for collection search results. As of now, the results appear to be grouped by item type and ordered alphabetically by item name.
For larger collections it would be great if overall sorting by column headers (item name, level) of the result table were optionally available. Cheers.
It wonāt let me āImport databaseā, returning a java.lang.OutOfMemoryError when trying to extract Items.arc and text_en.arc.
Increasing memory allocation in gdstash.bat wonāt even let me run it via .bat anymore either.
Unrelated: The java.exe default directory was different for me on Windows 7, I had to manually change it to:
Iām trying to use mass import but when I click āload transfer filesā nothing happens. I click, wait a while, nothing happens. I have the import directory set to āsaveā where my .gst stashes and save files are.
Iām following the instructions in the doc file since Iām not too good with these things. Itās a fair bit more difficult to figure out than TQVault but good work regardless. Really excited to play with this from now on.
In the docs I say that you have to create such a .bat file, the one included really is intended more as an example. I have no idea what JVM you have and where it is installed, so it is expected that you have to edit that part.
With the increased heap space, did it then work ? Someone told me he still had issues, bht after switching to the 64 bit VM those were solved. You could also increase the heap space further.
Not sure why some people have that issue to begin with, I never had to increase the heap size on my machine. Seems pretty random too as it is the same code and most testers used the same JVM, yet only 2 had the heap issue, all others could use the standard size.
Might have to change the logic a bit as I read every .gst file, regardless of its name (so also formula.gst, which has a different format), but it still should work
Worst case, as someone said, copy the transfer files to a different dir and point the Mass Import at that, not sure what would interfere though
Iām following the instructions in the doc file since Iām not too good with these things. Itās a fair bit more difficult to figure out than TQVault but good work regardless. Really excited to play with this from now on.
I guess the difference is that I do not give you 100 or however many large stash pages to drop items in but tried a different approach that allows for searching.
It really is not difficult, just different, so I assume you get used to it pretty soon
No cloud saves I am talking about the save folder in my documents/my games/grim dawn/save
When I navigate to the save folder and hit open it doesnāt select the folder it literally opens the folder up and simply does not let me do anything. I can cancel or I can continue to click folders and select open which are obviously incorrect at this point. It allows me to select main then click open then select a character folder and select open until it finally accepts one and then says incorrect directory.