﻿<?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%2FProposal</id>
	<title>Dev:2.5/Source/Installation/Proposal - 版の履歴</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%2FProposal"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/Proposal&amp;action=history"/>
	<updated>2026-07-03T22:58:37Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/Proposal&amp;diff=97371&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/Proposal&amp;diff=97371&amp;oldid=prev"/>
		<updated>2018-06-28T19:37:12Z</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日 (木) 19:37時点における版&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/Proposal&amp;diff=97370&amp;oldid=prev</id>
		<title>wiki&gt;Dobz: &quot;Application Data&quot; -&gt; &quot;AppData&quot;; &quot;2.52&quot; -&gt; &quot;2.56&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Source/Installation/Proposal&amp;diff=97370&amp;oldid=prev"/>
		<updated>2011-03-29T11:58:55Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;Application Data&amp;quot; -&amp;gt; &amp;quot;AppData&amp;quot;; &amp;quot;2.52&amp;quot; -&amp;gt; &amp;quot;2.56&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Installation=&lt;br /&gt;
This proposal unifies the ideas in several proposed changes to Blender's method of storing and retrieving external data. Much of this follows directly from the [http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/EnvironmentVariables 'environment variables' proposal], which I agree with, with some minor adjustments.&lt;br /&gt;
&lt;br /&gt;
In summary:&lt;br /&gt;
&lt;br /&gt;
• We split&lt;br /&gt;
* ''System Files'':  Default blender data such as ui scripts&lt;br /&gt;
*  ''User Files'':  Saved configurations, user-owned data such as edited or added scripts&lt;br /&gt;
: These are stored in separate locations.&lt;br /&gt;
&lt;br /&gt;
• We store both ''System'' and ''User'' files split by Blender version number within their parent folders.&lt;br /&gt;
&lt;br /&gt;
• ''System'' and ''User'' files are kept in OS-specific locations using OS APIs, able to be overridden by environment variables.&lt;br /&gt;
&lt;br /&gt;
• Individual config/data files are renamed to be less cryptic&lt;br /&gt;
&lt;br /&gt;
• For now, we will just worry about fixing up the issue of finding paths, using similar to existing APIs in Blender. We won't wrap FILE etc for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===System data files===&lt;br /&gt;
Default data files such as translations, icons, etc. required by Blender are saved in system-wide storage at installation time. These are read-only by Blender.&lt;br /&gt;
&lt;br /&gt;
''example: BLENDER_SYSTEM_DATAFILES''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unix: /usr/share/blender/2.56/datafiles&lt;br /&gt;
osx: blender.app/Contents/MacOS/2.56/datafiles&lt;br /&gt;
win: C:\Program Files\Blender\2.56\datafiles&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===User data files===&lt;br /&gt;
User-specific data files are installed as needed in user-specific locations&lt;br /&gt;
&lt;br /&gt;
''example: BLENDER_USER_DATAFILES''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unix: ~/.blender/2.56/datafiles&lt;br /&gt;
osx: ~/Library/Application Support/Blender/2.56/datafiles&lt;br /&gt;
win: C:\Users\Username\AppData\Blender\2.56\datafiles&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other variants include, BLENDER_SYSTEM_SCRIPTS, BLENDER_SYSTEM_PLUGINS, and BLENDER_USER_* counterparts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===User Configuration Files===&lt;br /&gt;
Blender should run fully by default without any configuration files needed.&lt;br /&gt;
User-specific config files are created as needed in user-specific locations.&lt;br /&gt;
&lt;br /&gt;
''example: BLENDER_USER_CONFIG:''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unix: ~/.blender/2.56/config&lt;br /&gt;
osx: ~/Library/Application Support/Blender/2.56/config&lt;br /&gt;
win: C:\Users\Username\AppData\Blender\2.56\config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===System Configuration Files===&lt;br /&gt;
As an option that is not defined by default, system configuration files can be used, to provide customised defaults to all users, taking precedence over the built-in blender defaults, but under user configurations. This can be useful for large site installations such as schools to have customised default preferences.&lt;br /&gt;
&lt;br /&gt;
System configuration files are read-only by Blender, all newly saved preferences go to USER_CONFIG.&lt;br /&gt;
example: BLENDER_SYSTEM_CONFIG&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Not defined by default, can be any path, but generally alongside BLENDER_SYSTEM_DATA.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Temporary files===&lt;br /&gt;
Temporary caches/backups such as 'last session' .blend file, or temporary EXRs are stored in user-specific locations. This should not use system-wide temp locations such as /tmp, to prevent them getting deleted and to prevent other users from affecting them.&lt;br /&gt;
&lt;br /&gt;
''example: BLENDER_TEMP''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unix: ~/.blender/2.56/temp&lt;br /&gt;
osx: ~/Library/Application Support/Blender/2.56/temp&lt;br /&gt;
win: C:\Users\Username\AppData\Blender\2.56\temp&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File Naming===&lt;br /&gt;
We can rename the configuration files used by Blender to be less cryptic:&lt;br /&gt;
* startup.blend      ( .B.blend )&lt;br /&gt;
* bookmarks.txt         ( .Bfs )&lt;br /&gt;
* recent-files.txt           ( .Blog )&lt;br /&gt;
We can also change the quit.blend to:&lt;br /&gt;
* &amp;lt;saved_filename&amp;gt;_&amp;lt;process_id&amp;gt;_quit.blend&lt;br /&gt;
: to avoid conflicts from multiple blender sessions. Saving the filename as part of the title will also allow users to more quickly identify older sessions to restore.&lt;br /&gt;
Temp files can also be changed similarly, to:&lt;br /&gt;
* &amp;lt;saved_filename&amp;gt;_&amp;lt;process_id&amp;gt;_temp.blend&lt;br /&gt;
: to more easily identify stored temp files, and perhaps can be used to automatically restore temp versions when they are older than the saved 'real' version.&lt;br /&gt;
&lt;br /&gt;
===Running Locally===&lt;br /&gt;
A feature that some people find useful is to run blender 'locally', out of a self-contained folder, without needing to install in the system. To support this, when retrieving the BLENDER_SYSTEM_DATAFILES path, blender can first check for a 'datafiles' path in the same folder as the blender executable, and use that first. Same for other associated paths such as BLENDER_SYSTEM_SCRIPTS and BLENDER_SYSTEM_PLUGINS.&lt;br /&gt;
&lt;br /&gt;
These only override the BLENDER_SYSTEM_* entries, BLENDER_USER_* still takes precedence in general situations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
1) As a 'stage 1' quickly achievable target, we can possibly ignore the environment variables part, and concentrate on the Blender internal API. This can use the same names, but just retrieving path info from OS-specific functions.&lt;br /&gt;
eg.&lt;br /&gt;
 BLI_getfolder(BLENDER_USER_DATAFILES)&lt;br /&gt;
2) Add ability to read/overwrite these paths with environment variables&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====References====&lt;br /&gt;
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/ResourceFilePaths&lt;br /&gt;
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/EnvironmentVariables&lt;br /&gt;
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Unix_FHS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Broken|Matt Ebb]] 08:16, 11 May 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>wiki&gt;Dobz</name></author>
		
	</entry>
</feed>