[Tool] GD save file editor

@ArchangelNew
Hmm!

I think the latest version will fallback to doing a recursive file copy instead. Is that also failing?

Can you share a screenshot of the last few lines of output?


Steam installation path : d/steam
And the library with games is here: f:\SteamLibrary\steamapps\common\Grim Dawn
The program does not find the path to the game. How to fix?

Full log
[dom@PeKa Š—Š°Š³Ń€ŃƒŠ·ŠŗŠø]$ sudo su
[root@PeKa Š—Š°Š³Ń€ŃƒŠ·ŠŗŠø]# sh ./gd-edit.nix.bin ā€œ/home/dom/Š—Š°Š³Ń€ŃƒŠ·ŠŗŠø/charData (1).jsonā€
gd-edit 0.2.419 [build 51c5b98]

save directories:
/home/dom/.steam/steam/steamapps/compatdata/219990/pfx/drive_c/users/steamuser/Documents/My Games/Grim Dawn/save/user
/home/dom/.steam/steam/steamapps/compatdata/219990/pfx/drive_c/users/steamuser/Documents/My Games/Grim Dawn/save/main

game directory:
/home/dom/.steam/steam/steamapps/common/Grim Dawn

Give the character a name: BletMaster

Input the character level: 100
Changing level to 100

Updating the following fields:
Nothing has been changed

Setting ā€˜Raise the Deadā€™ to level 20
Setting ā€˜Blizzardā€™ to level 60
Setting ā€˜Rumorā€™ to level 20
Setting ā€˜Hand of Ultosā€™ to level 15
Setting ā€˜Black Blood of Yugolā€™ to level 15

Generating item for: weapon1
Generating item for: weapon2
Generating item for: head
Generating item for: chest
Generating item for: shoulders
Generating item for: ring1
Generating item for: ring2
Generating item for: amulet
Generating item for: feet
Generating item for: medal
Generating item for: waist
Generating item for: relic
Generating item for: hands
Generating item for: legs

local save dir seems to be:
Saving character to
/_BletMaster

Moving the directory didnā€™t seem to workā€¦
Copying and overwriting insteadā€¦
[root@PeKa Š—Š°Š³Ń€ŃƒŠ·ŠŗŠø]#

gamedir path to the Grim Dawn

Hi there,

The gamedir (game installation) path is looking a bit strange. For steam installs, the editor really should be able to find the game on its own. It goes through some trouble to find your steam install location, figure out where all your configured steam libraries are, then find the actual location of the game. It shouldnā€™t matter that your game is installed in another drive. I actually have it set up that way on my own machine.

Please try this command:

gamedir clear

Then restart the editor. This will clear out any gamedir settings you may have applied earlier and lets the editor try again on its own.

If the editor still canā€™t find the game for some reason, you can also manually set the path to the game this way:

gamedir "f:\SteamLibrary\steamapps\common\Grim Dawn"

Tried. The program does not work with spaces. If you remove the space, then Steam does not see the game. How to make the program work with spaces in directory names.

Yes, it turned out with quotes!. Thank you very much, Commander!

omgā€¦ Please donā€™t run it with su! Protect your system!

By the looks of the output, the editor might have written the save file to ā€œ/_BletMasterā€, meaning, it is sitting in the root directory.

Try:

ls /_BletMaster

in your shell.


The other thing that happened is that it looks like the program isnā€™t actually able to locate your local save directory.

A normal looking output should have the last few lines looking like this:

local save dir seems to be:  /Users/odie/Dropbox/Public/GrimDawn/main
Saving character to
         /Users/odie/Dropbox/Public/GrimDawn/main/_ZZZ

Moving the directory didn't seem to work...
Copying and overwriting instead...

In the program output you pasted above, it appears it said this as it started up:

save directories:
/home/dom/.steam/steam/steamapps/compatdata/219990/pfx/drive_c/users/steamuser/Documents/My Games/Grim Dawn/save/user

Is that actually a valid path?

Does

ls /home/dom/.steam/steam/steamapps/compatdata/219990/pfx/drive_c/users/steamuser/Documents/My Games/Grim Dawn/save/user

actually succeed with some meaningful output?

he automatically catches this way of saving / users. Can I delete this user folder?

I donā€™t know how you have set things up, so I canā€™t say what you should or shouldnā€™t delete. x_x

If you know the exact save directory you want to use. You can use the savedir command like this:

savedir "<some path to GD>/save/main"

Though Iā€™m not entirely certain how this interacts with the new character creation feature. =(

I originally specified the save path to / main. And before /users the program itself automatically picked up

in short, I understand everything) The created characters really fell into the root of the system. I remembered why I ran the program from the root: the main folder without write access for me) Thankā€™s)

Hi there. This tool seemed interesting enough that I made an account just to ask about it.

First off, my Grim Dawn is not in the default C:/ file path. How would I tell the exe to check its actual place?
Iā€™ve used the gamedir command but the exe says the file path does not look like a game directory.

Edit: Disregard the gamedir question. I was just having a syntax error because I forgot to use quotation marks. Iā€™m still interested in the shrines though.

Also, if shrines can be unlocked, could they also be locked back again? My game has bugged out with the Morgdrogen shrine and I need to reset it to locked.

Hi, I have problems generating this character Oppressor, Level 100 (GD 1.1.9.7) - Grim Dawn Build Calculator
(tested 2 times together with removing it from Get Grim Dawn website)

but no issues with generating this one Trickster, Level 100 (GD 1.1.9.7) - Grim Dawn Build Calculator

Would you mind having a look at it? Here are the errors (changed my username)

gd-edit 0.2.419 [build 51c5b98]

save directories:
    c:\program files (x86)\steam\userdata\165322030\219990\remote\save\main
    C:\Users\USERNAME\Documents\My Games\Grim Dawn\save\main
    C:\Users\USERNAME\Documents\My Games\Grim Dawn\save\user

game directory:
    c:\program files (x86)\steam\steamapps\common\Grim Dawn


Give the character a name: AcidRE_Guard_Oppr

Input the character level: 100
Changing level to 100

Updating the following fields:
Nothing has been changed

Setting 'Twin Fangs' to level 25
Setting 'Ghoulish Hunger' to level 25
Setting 'Raise the Dead' to level 20
Setting 'Tainted Eruption' to level 15
Setting 'Rumor' to level 20

Generating item for: weapon1
Generating item for: weapon2
Generating item for: head
Generating item for: amulet
Generating item for: chest
Generating item for: hands
Generating item for: medal
Generating item for: waist
Generating item for: ring1
Generating item for: ring2
Generating item for: shoulders
Generating item for: legs
Generating item for: feet
Generating item for: relic
Exception in thread "main" java.lang.AssertionError: Assert failed: (not (nil? d
ata))
        at gd_edit.structure$fn__15517.invokeStatic(structure.clj:370)
        at gd_edit.structure$fn__15517.invoke(structure.clj:367)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at gd_edit.structure$write_struct.invokeStatic(structure.clj:452)
        at gd_edit.structure$write_struct.invoke(structure.clj:424)
        at gd_edit.structure$fn__15507.invokeStatic(structure.clj:365)
        at gd_edit.structure$fn__15507.invoke(structure.clj:344)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at gd_edit.structure$write_struct.invokeStatic(structure.clj:452)
        at gd_edit.structure$write_struct.invoke(structure.clj:424)
        at gd_edit.io.gdc$write_block.invokeStatic(gdc.clj:1064)
        at gd_edit.io.gdc$write_block.invoke(gdc.clj:1039)
        at gd_edit.io.gdc$write_character_file.invokeStatic(gdc.clj:1229)
        at gd_edit.io.gdc$write_character_file.invoke(gdc.clj:1193)
        at gd_edit.commands.create_character$create_character.invokeStatic(creat
e_character.clj:448)
        at gd_edit.commands.create_character$create_character.invoke(create_char
acter.clj:429)
        at gd_edit.core$_main.invokeStatic(core.clj:646)
        at gd_edit.core$_main.doInvoke(core.clj:624)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at gd_edit.core.main(Unknown Source)

Truly remarkable tool Odie & WyreZ, but so far using the latest feature I stumbbled across two instances (which may have already been mentioned).

One is when itā€™s not generating conduits correctly leaving them half empty and another thing is when items generate, after entering the gameā€¦ sometimes some gear gets unequipped due to (low, not enough?) phyqique/spirit/cunning. My suspision to last one is quite self-explanatory I guess, because I often make builds which have nea-miss enough spirit for example, but still very great thing to have.

Have saved me already around 10 or more build ideas time spent. Take this :crown:, you guys dropped it.

1 Like

Hi there!

Do you mind just sending the character json file youā€™re getting this error with?
I grabbed the linked problem character via Get Grim Dawn. It didnā€™t seem to have a problem with the editor?

=(

1 Like

Thanks for looking into it charData.zip (12.8 KB)

This new one also has had this problem Reaper, Level 100 (GD 1.1.9.6) - Grim Dawn Build Calculator

This one however generates w/o issues for me Witch Hunter, Level 100 (GD 1.1.9.7) - Grim Dawn Build Calculator

Yes you can use the editor to lock and unlock shrines (or at least you used to be able to) unless the latest set of changes broke something.

Do you know what commands I could use to do so? Would I be able to reset just one shrine or would I have to reset the whole list?