[Tool] GD save file editor

i input

set inv/0/items “bloodreaper’s claw”

sorry, the item could not be constructed

Iv even tried to make a common bonecarver and keep getting the same message.
I think its to do with the program not need link to the database.
Any help would be great thx

how do i make it so i get exp after i change the level on a character
any help would be great thx

Hi there,

Please use the “level” command to change your character level.

For example:

level 100

There are multiple fields that require tweaking to get the character up to the correct level. Just setting the level value via “set level” isn’t what you want. Sorry if you followed the first post and found this to be confusing. I’ll get that updated at some point.

thx i worked it out now i went back like 5-6 pages and found someone else with the problem thx for the reply

Hey Odie! Love the editor, thank you very much for creating it!
There’s only one thing I would like to do and am having no luck doing it.

I want to create the item “a strange key” from act 1 in my inventory.

I’ve tried this so far:

set inv/1/item “a strange key”
set inv/1/item “a strange key”
set inv/1/items “a strange key”
set inv/1/items “a strange key”

I also tried without the “a” with no luck.

I keep getting the error message “Sorry, this item could not be constructed”.

Wondering if you knew what I was doing wrong. I tried searching the database for the item name but couldn’t figure how to actually search under the records/items query.

thanks for any help!

Howdy!

I just pushed a new version with a fix to your issue. The editor is now able to generate quest items! Don’t forget to use the “update” command to grab the latest!

To generate the item “A strange key” any of these commands should work:


> set inv/1/item "a strange key"
> set inv/1/items "a strange key"
> set inv/1/item "strange key"
> set inv/1/items "strange key"

In general, the editor looks for items with names that is “reasonably” similar to the one you entered.

Oh… since you mentioned you tried searching the db…
If you wanted to search a specific record that represents something named “strange key”, you can try:


> q value~"strange key"

This command means to, “search the game db for records where any of the fields has a string value that partially matches ‘strange key’”.

If that didn’t make any sense, feel free to ignore the explanation and just use the updated “set” command. =) But, if that did make sense and you want more tools for digging in the db, you can find more docs on the “q” command here: https://odie.github.io/gd-edit-docs/commands/#command-q

It worked! Thank you so much Opie!!! Woot Woot!

The update command never works for me. I run gd-edit, type update and press enter, and it shows the Downloading new version… and goes from multiple 0% to 96%, then says done! and Restarting…

When I run gd-edit again, the version number remains the same. Right now, it’s gd-edit 0.1.7-SNAPSHOT [build ed86c61] both before and after I run update.

This happened with the previous 0.1.6 version, too. I ended up having to delete the copy I had, manually redownload the file from the link in the OP, and extract it.

Could it be because I have Steam and games installed on my C:\ drive, and gd-edit on my E:\ drive?

It shouldn’t be because you have it on the E drive. There was a bug where self update got confused because it didn’t know how to work with paths that contained space characters. But I thought I fixed that a few version back.

I’d certainly appreciate it if you can help me track down this bug. :slight_smile: When you run the update command, the editor does a few thing. It check if there is a newer version, if so, downloads the file to a temporary location, generates a “restart.bat” file, runs the bat file, which moves the new version from the temp directory to the location gd-edit was running from, then launches gd-edit again. Gd-edit is then supposed to delete the bat file just to clean after itself.

From what you were describing, it sounds like restat.bat has already been generated. But things broke when restart.bat was not able to do its job correctly. Can you send me that restart.bat file? It should be sitting in the same directory as your copy of gd-edit.

The file won’t be there if the editor actually manages to relaunch itself, however. If this is the case, I can send you a tweaked version that doesn’t delete the bat file to try this with.

That seems to be the problem. It’s located in E:\Games\Grim Dawn\

I just renamed it to E:\Games\GrimDawn\ then ran gd-edit and the update command. It updated, then restarted. There was a brief error, but I wasn’t able to see what it said. It now says it’s gd-edit 0.1.7-SNAPSHOT [build 23c433e].

Before, after it finished the update part, it would just open another command prompt, and I had to manually run gd-edit again. This time, though, it ran gd-edit when it was done.

Ran into some issues with the latest update.
Whenever I try to load a character in the editor, I end up getting an error saying “Exception in thread “main” java.lang.AssertionError: Assert failed: expected end position” or something similar.

Unfortunately I have no knowledge of java coding, but the directories seem fine and the save files are still in the same location. Not entirely sure what’s going on.

Apparently, the save file format changed… Will have to update it x_x

Ah, fair enough!
Figured I’d drop the error message incase it was solely on my end or something else. Good to know atleast.

Howdy!

A new version is available! The editor is now able to read/write GD’s new save file format introduced by v1.0.3.0.

Lemme know if there are any issues!
Have fun!

Did some quick testing and everything works just fine.
Cheers for the quick update!

I must be special because I am having issues with this editor.

I have Java 8, the editor starts up, I see the “>” asking me to select a character, I type the number “4” and hit enter, and then it seems to pull up the files it wants but I can’t enter any more commands?

I have a blinking underscore at the bottom of the screen, with no green “>”.

What did I do / not do?

Thank you in advance

Howdy!

When the editor finishes loading the character you asked for, it should print out something like this:
When the editor finishes loading the character you’ve selected, it should print out something like this:


Loading from:
    <full path to your character file>

Character:  <Your character name appears here>
r) reload
w) write

>

Do you see this at all? If not, is this an issue you’ve only encountered with this latest version, or did something similar happen to previous versions also? Is the CPU usage for the editor locked at 100%?

Please do send me your character file. That’s probably the most straightforward way for me to figure out what’s wrong. Maybe the character file contains data that the reader doesn’t know how to deal with. It’s also possible I messed something up with the character file reading code and caused the editor go to into some infinite loop somewhere. But seeing as it appears to be working correctly for the few characters I tried it on, I’ll need your character file to pinpoint exactly what might be wrong.

Thanks!

So the editor apparently knew that I told daddy it was being bad… it appears to be working perfectly now.

To answer your questions, it was not getting to the reload / write options before. I have not tried any previous versions of the editor as I’ve been enjoying Grim Dawn at my own pace.

Do you still want me to send you my char file? Or no since it fixed itself?

Hmmm, that’s really strange.

Since it’s working now, I’m not sure if looking at your character file will help anything. Do send the file if you run into this problem again though! :slight_smile:

Hi guys!

I don’t know how many people will see this message. But… Would anybody like to share their experiences trying to use the editor?

Was it really hard to figure out and get into? Was there something that was particularly confusing? Is the original post actually helpful in explaining how to do things? Is there something I can do to help make using this console based tool a little bit more pleasant?

Hope this reaches somebody!
Look forward to what you all have to share! =)