You are here

[Fixed] Blender leaves behind extensions and cache

6 posts / 0 new
Last post
Raimund58
Offline
Last seen: 11 months 5 days ago
Joined: 2023-12-21 10:59
[Fixed] Blender leaves behind extensions and cache

I just saw that you don't make use of this feature.
Maybe you don't even know about it. I at least didn't know about it till today.
https://docs.blender.org/manual/en/latest/getting_started/installing/win...

TLDR: Create a new empty folder called "config" in the Blender Path to have all config stuff next to the binary. (color management, addons, settings)

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Environment Variable

We use BLENDER_SYSTEM_CONFIG and other environment variables which has the same effect but without needing to move the folder back and forth so that it lives in Data when not in use.

Sometimes, the impossible can become possible, if you're awesome!

Raimund58
Offline
Last seen: 11 months 5 days ago
Joined: 2023-12-21 10:59
Perfect, just wanted to make

Perfect, just wanted to make sure that you don't miss out. Have a nice day!

luukgommans
Offline
Last seen: 1 month 6 days ago
Joined: 2008-11-15 17:20
Blender 4.2.1 extensions

I have noticed that the extensions from the Blender repository are stored in a different folder from the addons. When installing an addon from the extensions repository a directory is created in the Roaming folder named Blender Foundation. https://docs.blender.org/manual/en/latest/advanced/blender_directory_lay...
According to that source, there is a BLENDER_SYSTEM_EXTENSIONS and BLENDER_USER_EXTENSIONS variable that is used for the extensions.
When I added the following lines to BlenderPortable.ini in the Launcher folder:
BLENDER_SYSTEM_EXTENSIONS=%PAL:AppDir%\Blender64\4.2\extensions
BLENDER_USER_EXTENSIONS=%PAL:DataDir%\user_extensions

The issue appears to be resolved. And extensions are now also saved in the PAL:DataDir. So far it looks like this will work and be needed for any 4.2.x version.

However there still is a Blender Foundation folder created in the Appdata\Local folder. It appears to only have a Cache folder in it though, but I thought it was worth mentioning.

Hope this is useful information.

pbr
Offline
Last seen: 1 month 6 days ago
Joined: 2009-06-21 09:23
%AppData% folder

Second the Blender Foundation folder which, if you dig deep enough, contains some JSONs.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 4.2.3 / LTS 3.6.17

Extensions and cache are now portablized in the new release of Blender Portable 4.2.3 as well as Compat 4.2.3 and LTS 3.6.17

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments