[Tool] GD save file editor

Try


set inv/1/items “mythical siegebreaker”

:slight_smile:

Work! Thx and good New Year :wink:

Happy New Year! :slight_smile:

Hey Odie, is there any way to add xp/level to a characters devotions?

Howdy!

You sure can. First, use the “find” command to find the devotion skill you want to edit.


> find "falcon swoop"

Falcon Swoop: skills/14

That says the skill is hiding in the “skills” array, at slot 14.

You can then take a look at what data it contains:


> show skills/14


  autocast-controller-name : ""
       autocast-skill-name : ""
       devotion-experience : 6070859
            devotion-level : 18
                   enabled : true
                     level : 1
              skill-active : false
                skill-name : records/skills/devotion/tier1_10e_skill.dbr
          skill-transition : false
                  sublevel : 0

                        10 fields

There are fields named “devotion-experience” and “devotion-level”. You can tweak these with the “set” command, like so:


> set skills/14/devotion-level 20
> set skills/14/devotion-experience 10000000

Note that you should not just use the “skills/14” as in the examples above. The skills array is a list of masteries, skills, and devotions you’ve taken. This means the exact location of a skill will change from character to character, or even from save to save. Definitely do run the “find” command on your character first.

Thank you very much, worked like a charm :slight_smile: I love this handy little tool :smiley:

How would you bring in inventory items such as helmets, chest pieces and rings?

I kept messing around with the input but keep coming up with blanks

Hi there!

Please see this entry in the faq:
https://odie.github.io/gd-edit-docs/faq/#how-to-i-change-my-faction-alignment

An example would be


set faction-values/5/faction-value 25000

Also, the original posts tries to introduce the idea of navigating/accessing/changing a specific field in your save file. It should help illustrate the idea of referring to a specific field in your save file using a path.

Do let me know if that’s not explained very well. Maybe I should take another shot at explaining the concept. :slight_smile:

Hi there!

I’m not entirely sure what you mean. Are you trying to make a new item? Or just check an existing item? If you just want to view your current equipment:


show equipment

will give you a listing of your currently equipped items.

Also, you can always try using the “find” command if you know the partial name of the thing you’re looking for.

For example:


> find Legguards

Thornhide Legguards: equipment/3

This asks the editor for some item with “Legguards” it its name. The editors finds the character currently has the item in the “equipment/3” slot.

This means I can now do:


show equipment/3

to bring up the details of the item.

Howdy!

There is a new version of the editor available! The editor can now read your quest progress! Yay! (Note that this is mostly a novelty feature for now)

Browsing your quest progress data


> show quest

quest
   elite : collection of 337 items
  normal : collection of 247 items

       2 fields

Looks like this character has been in at least the normal and elite difficulty. You can further inspect the quest structure with the “show” command like a directory tree as usual.

The find command also works! If you know the name of a quest or task by name, you can do:


> find burial

Find The Burial Cave: quest/elite/quests/329/tasks/1
Find The Burial Cave: quest/normal/quests/237/tasks/1

> show quest/normal/quests/237

quest/normal/quests/237
    id1 : 725856128
    id2 : byte array[16]
   name : Waking to Misery
  tasks : collection of 4 items

      4 fields

So… it looks like the word “burial” helped us find the first quest task in the game, which belongs in the “Waking to Misery” quest.

The “set” command should work as usual on the quest progress data.


How do I write the quest data to file?
Sorry, you can’t, at the moment. That’s why I mentioned this is mostly a novelty feature for now.

Technically, the editor is able to write the quest data back to disk. But, after a very brief look at what the data contains, it is likely a
really really bad idea to tweak it manually.

Anyway, if there is interest in enabling write capabilities for experimentation, please let me know.

Hi Odie,

I’m having difficulties to create AOM items after this update.

> set equipment/1 “Uroboruuk’s eye”
Caught exception: Don’t know how to create ISeq from: java.lang.Boolean
java.lang.IllegalArgumentException: Don’t know how to create ISeq from: java.lang.Boolean

> set inv/1/items “Mythical Warpfire” 100
Sorry, the item could not be constructed

> level 100
Sorry, max allowed level is 85

> update
Already running latest version

Wow, I must have really messed something up. Will take a look in a few hours. If you’ve been using the update command, it should have kept the previous version of the editor with the extension .bak. Hopefully, it will work correctly before I can investigate and fix the issue.

Thanks for letting me know!

Howdy!

Thanks for reporting all these issues! The new version contains the following fixes:

  • Correctly locate AOM database records
  • Correctly show item placement path (instead of throwing exception)
  • Correctly show “from” and “to” values when running the “level” command

I’ll try to stop breaking things in the future! x)

Hi Odie,

I can’t seem to get the gamedir command to work. My saves are in C:\Users\xxxxxxx\Documents\My Games\Grim Dawn\save while the game’s installation is on another hd E:\SteamLibrary\steamapps\common\Grim Dawn.
I can edit the character but when it comes to items it’s error time:

And this is me trying to use gamedir (I may be entering the wrong path syntax or pointing to an incorrect folder ):

I have both 32 and 64 bit Java on Windows 7, perhaps a conflict, read-only folders? I’m all out of ideas :smiley:

Hi there!

Looks like it’s just the matter of having to put “long filenames” in quotes. So in your case:

gamedir “E:\SteamLibrary\steamapps\common\Grim Dawn”

Should help the editor to find the game.

The silly reason behind this is simply that the “space” character is usually used by these types of command line tools to tell one parameter/option from the next. It becomes a little problematic when the parameter itself contains a space. So in these cases, the convention is normally to put these kinds of parameters in quotes, so the program understands the whole input string, spaces included, is meant as a single parameter.

=)

And that worked, thank you very much!
I completely forgot about quotation marks, the days of Windows 3.1 and command prompts are too far back and I’m getting older :smiley:

Howdy!

The editor now knows about your Steam Library folders and is better at finding your GD install!

=)

Sweet little program. Thanks for providing it.

Glad you like it! :slight_smile:

Hi Odie,

Since AOM you can see objects with different versions, for example the Ravager’s Dreadgaze has 3 versions. Using that magnificent tool of yours, how do you choose which one you want to create?

Thx