Change default folder location

Hello, Is there a way to change de default location of the Shapespark Documents Folder to another place, like another drive for example?

Is it possible to add this option?

Thanks.

1 Like

It is possible, you need to place a file called config.json in the C:\Users\<YOUR-USER>\AppData\Roaming\Shapespark directory. With the following content:

{
  "scenesDir": "c:\\Users\\<YOUR-USER>\\Desktop\\Shapespark"
}

Please modify the path in this file to point to your desired scenes directory. Use double back-slashes \\ between directory names.

After adding this file, restart Shapespark. If you don’t see any errors, you can move your existing scenes from Documents\Shapespark to the new location.

3 Likes

Hello,

The config.json file was already present in my case. When I added your line of code and saved it, and restarted Shapespark, it says that config.json file is corrupt. Please remove it and start again.

Can you please let me know a fix for this.

Thanks.

Hi, could you share on the forum or send us your config?

Hi @jan
I experienced the same problem when I tried to change the path.

This is the original one:

{
“devices”: [
“CUDA_GeForce GTX 1080_0000:41:00”
]
}

I added your lines

image

I also tried it with additional brackets but always get an error message.

The JSON format requires each config entry except the last one to have a trailing comma, so you need to add a comma after the ]:

{
 “devices”: [
    “CUDA_GeForce GTX 1080_0000:41:00”
  ],
  "scenesDir": "e:\\Shapespark"
}

Works now!
Thank you :slightly_smiling_face:

Thank you @jan,

It worked for me too !

Good day,

Does the above work exactly for Windows 11?

if not

How do i change the default directory on Windows 11

Smarty

Yes, it works for Windows 11 as well.

Wojtek,

After a new installation of SHapespark on Win 11, when i seach for config.json i dont find the file

Help

Smarty

I think i’ve got it.

I had to make a change to my configuration for the program to create one.

After doing that i found it, and made the changes for the new directory.

Now all seems to work as i wish

Smarty

1 Like

Hello, can this config change to default with the program update?

@luiza, no, changes to the scenes folder made in config.json are preserved during application updates.