﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.5%2FSource%2FInstallation%2FEnvironmentVariables</id>
	<title>Dev:2.5/Source/Installation/EnvironmentVariables - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.5%2FSource%2FInstallation%2FEnvironmentVariables"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/EnvironmentVariables&amp;action=history"/>
	<updated>2026-06-02T16:43:29Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/EnvironmentVariables&amp;diff=91051&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/EnvironmentVariables&amp;diff=91051&amp;oldid=prev"/>
		<updated>2018-06-28T18:43:46Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 18:43時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/EnvironmentVariables&amp;diff=91050&amp;oldid=prev</id>
		<title>wiki&gt;Jby601: minor grammatical edit</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/EnvironmentVariables&amp;diff=91050&amp;oldid=prev"/>
		<updated>2012-01-02T17:48:14Z</updated>

		<summary type="html">&lt;p&gt;minor grammatical edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Future versions of Blender will rely internally and externally on some environment variables to configure the location of certain files. The reason is that this way scripts or the user can configure things before launch, and child process can inherit the settings&lt;br /&gt;
and thus reference the same data. Note: 2.50 still uses &amp;lt;=2.49 system.&lt;br /&gt;
&lt;br /&gt;
= Typical EnvVars =&lt;br /&gt;
&lt;br /&gt;
The common set of envvars follow the rule of starting with BLENDER_ and having&lt;br /&gt;
_ as separator for other words.&lt;br /&gt;
&lt;br /&gt;
== BLENDER_VERSION (and BLENDER_VERSION_PREV) ==&lt;br /&gt;
The program will set this variable to a three digit number on startup. Eg, 258.&lt;br /&gt;
Some other envvars will depend on it. The _PREV one will be 0 if the program&lt;br /&gt;
is unable to figure which version was used before, otherwise it will be also&lt;br /&gt;
three digits. _PREV does not mean previous version avaliable but previous used&lt;br /&gt;
version, so will have a higher value than the other when the user launches&lt;br /&gt;
an older program, or the same value if launching again the same binary.&lt;br /&gt;
&lt;br /&gt;
None can be overriden by setting before launch (they will be ignored and set&lt;br /&gt;
to the right values).&lt;br /&gt;
&lt;br /&gt;
== BLENDER_SHARE ==&lt;br /&gt;
This variable will point to the directory where Blender should be able to find&lt;br /&gt;
all the system configuration files. In case of being a &amp;quot;unpack and run&amp;quot;, it will&lt;br /&gt;
be set to the main directory created by uncompressing. Normal installs would&lt;br /&gt;
probably use /usr/share/blender as value.&lt;br /&gt;
&lt;br /&gt;
It can be overriden by setting it before launch.&lt;br /&gt;
&lt;br /&gt;
== BLENDER_TEMP ==&lt;br /&gt;
It stores the directory in which temporary files will be created, including quit.blend.&lt;br /&gt;
It should be a safe location, to avoid other users causing problems. Blender will&lt;br /&gt;
try to reuse the saved path from previous launches, if it can, so quit.blend should&lt;br /&gt;
be avaliable.&lt;br /&gt;
&lt;br /&gt;
This one can be set before launch.&lt;br /&gt;
&lt;br /&gt;
== BLENDER_USER_* and BLENDER_SYSTEM_* ==&lt;br /&gt;
The core of the system that lets differentiate user path, where things can be saved,&lt;br /&gt;
from other paths that are used for read only shared data. Currently the possible&lt;br /&gt;
variables are BASE, DATAFILES, PYTHON and PLUGINS (as in BLENDER_USER_BASE or&lt;br /&gt;
BLENDER_SYSTEM_PLUGINS). All should refer BLENDER_VERSION to allow running multiple&lt;br /&gt;
versions in parallel.&lt;br /&gt;
&lt;br /&gt;
BLENDER_SYSTEM_* can store multiple directory names, separated by : (or ; in&lt;br /&gt;
MSWindows). When looking for a file, the program will split the components and use&lt;br /&gt;
the first match. This can be useful to point to previous versions that are still&lt;br /&gt;
compatible or to store information in multiple places.&lt;br /&gt;
&lt;br /&gt;
BASE will store the files named startup.blend (old .B.blend and .B25.blend),&lt;br /&gt;
enviroment, bookmarks (old .Bfs), file-history (old .Blog).&lt;br /&gt;
&lt;br /&gt;
DATAFILES has the icons, themes and data library files.&lt;br /&gt;
&lt;br /&gt;
PY will contain all the python related directories and files, including&lt;br /&gt;
the ui/ and io/ directories.&lt;br /&gt;
&lt;br /&gt;
PLUGINS will store the sequencer/ and texture/ directories where plugins will&lt;br /&gt;
be found.&lt;br /&gt;
&lt;br /&gt;
They can be set before launch, or in the environment files.&lt;br /&gt;
&lt;br /&gt;
= environment file =&lt;br /&gt;
User file is ~/.blender/${BLENDER_VERSION}/environment. System defaults will be&lt;br /&gt;
read from ${BLENDER_SHARE}/${BLENDER_VERSION}/environment. The user settings&lt;br /&gt;
have preference over the system ones, and envvar set before launch have preference&lt;br /&gt;
over both (except in the noted exceptions).&lt;br /&gt;
&lt;br /&gt;
The file allows comments, those lines that start with '#'. Other lines will&lt;br /&gt;
contain envvar and value pairs, separated by '='. Anything before the symbol&lt;br /&gt;
will be considered the envvar name, and anything after will be in the value,&lt;br /&gt;
whitespace included. If an envvar appears more than once, the first occurrence&lt;br /&gt;
will be the one used, and if not already set before launching.&lt;br /&gt;
&lt;br /&gt;
While reading each line, Blender will replace any string that looks like '${FOO}'&lt;br /&gt;
(or '%FOO%' in MSWindows) with the value contained in the envvar 'FOO'. If there&lt;br /&gt;
is no such envvar, the string is left as is.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 # This is a comment line and the next are valid Unix paths.&lt;br /&gt;
 # Notice the last envvar has two paths, separated by :&lt;br /&gt;
 #  and using a non Blender envvar&lt;br /&gt;
 BLENDER_USER_BASE=${HOME}/.blender/${BLENDER_VERSION}&lt;br /&gt;
 BLENDER_SYSTEM_BASE=${BLENDER_SHARE}/${BLENDER_VERSION}&lt;br /&gt;
 BLENDER_USER_DATAFILES=${HOME}/.blender/${BLENDER_VERSION}/datafiles&lt;br /&gt;
 BLENDER_SYSTEM_DATAFILES=${BLENDER_SHARE}/${BLENDER_VERSION}/datafiles&lt;br /&gt;
 BLENDER_USER_PY=${HOME}/.blender/${BLENDER_VERSION}/py&lt;br /&gt;
 BLENDER_SYSTEM_PY=${BLENDER_SHARE}/${BLENDER_VERSION}/py&lt;br /&gt;
 BLENDER_USER_PLUGINS=${HOME}/.blender/${BLENDER_VERSION}/plugins&lt;br /&gt;
 BLENDER_SYSTEM_PLUGINS=${BLENDER_SHARE}/${BLENDER_VERSION}/plugins:${MOVIE_PROJECT}/plugins&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Jby601</name></author>
		
	</entry>
</feed>