<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=VirtualFileSystem</id>
	<title>VirtualFileSystem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=VirtualFileSystem"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=VirtualFileSystem&amp;action=history"/>
	<updated>2026-04-21T05:43:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=VirtualFileSystem&amp;diff=642&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=VirtualFileSystem&amp;diff=642&amp;oldid=prev"/>
		<updated>2025-11-14T05:21:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:21, 13 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=VirtualFileSystem&amp;diff=641&amp;oldid=prev</id>
		<title>Interwiki&gt;Flozi: Game development -&gt; Game Dev</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=VirtualFileSystem&amp;diff=641&amp;oldid=prev"/>
		<updated>2013-03-25T20:18:32Z</updated>

		<summary type="html">&lt;p&gt;Game development -&amp;gt; Game Dev&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Engine_Development|Development]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
=VFS=&lt;br /&gt;
The Virtual File System is an unified layer to access (read-only) the different archives used at runtime. So you can access map, game &amp;amp; config files via the same interface.&lt;br /&gt;
&lt;br /&gt;
==Archive Hierarchy==&lt;br /&gt;
When loading a new archive (sdz, sd7, sdd) it overrides existing file references in the VFS, so the order archives are loaded is very important. So here it is (in reverse):&lt;br /&gt;
&lt;br /&gt;
# raw file system (only for unsynced data)&lt;br /&gt;
# map&lt;br /&gt;
## map archive itself&lt;br /&gt;
## map dependencies&lt;br /&gt;
## maphelper.sdz (engine supplied)&lt;br /&gt;
# game&lt;br /&gt;
## game archive itself&lt;br /&gt;
## game dependencies&lt;br /&gt;
## springcontent.sdz (engine supplied)&lt;br /&gt;
### bitmaps.sdz (engine supplied)&lt;br /&gt;
&lt;br /&gt;
(top most are checked first when accessing a file -&amp;gt; map overrides game files!)&lt;br /&gt;
&lt;br /&gt;
==Extra Informations==&lt;br /&gt;
Spring&amp;#039;s VFS is &amp;#039;&amp;#039;&amp;#039;lowercase&amp;#039;&amp;#039;&amp;#039; only.&lt;br /&gt;
Also it is &amp;#039;&amp;#039;&amp;#039;extremely&amp;#039;&amp;#039;&amp;#039; recommended to use linux style path separators, e.g. &amp;quot;foo/bar.txt&amp;quot; and not &amp;quot;foo\bar.txt&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=Engine Read Files=&lt;br /&gt;
The engine access a few files directly, most of them are lua files which access other files themselves.&lt;br /&gt;
Here the list of files that must exist in the VFS (some of them don&amp;#039;t have to be in the game/map archive cause there are fallback solutions in springcontent.sdz &amp;amp; maphelper.sdz):&lt;br /&gt;
&lt;br /&gt;
* ./&lt;br /&gt;
** anims/&lt;br /&gt;
*** [[MouseCursors|cursornormal.bmp/png]]&lt;br /&gt;
** gamedata/&lt;br /&gt;
*** [[defs.lua|defs.lua]]&lt;br /&gt;
*** [[Explosions.lua|explosions.lua]]&lt;br /&gt;
*** [[Explosion_alias.lua|explosion_alias.lua]]&lt;br /&gt;
*** [[Icontypes.lua|icontypes.lua]]&lt;br /&gt;
*** [[Messages.lua|messages.lua]]&lt;br /&gt;
*** [[Modrules.lua|modrules.lua]]&lt;br /&gt;
*** [[Resources.lua|resources.lua]]&lt;br /&gt;
*** [[Resources.lua|resources_map.lua]]&lt;br /&gt;
*** [[Sidedata.lua|sidedata.lua]]&lt;br /&gt;
*** [[Sounds.lua|sounds.lua]]&lt;br /&gt;
** luagaia/&lt;br /&gt;
*** main.lua&lt;br /&gt;
*** draw.lua&lt;br /&gt;
** luarules/&lt;br /&gt;
*** main.lua&lt;br /&gt;
*** draw.lua&lt;br /&gt;
** luaui/&lt;br /&gt;
*** main.lua&lt;br /&gt;
** shaders/&lt;br /&gt;
*** ?&lt;br /&gt;
** [[LuaAI.lua|luaai.lua]]&lt;br /&gt;
** [[Mapinfo.lua|mapinfo.lua]]&lt;br /&gt;
** [[Mapdev:MapOptions|mapoptions.lua]]&lt;br /&gt;
** [[Modinfo.lua|modinfo.lua]]&lt;br /&gt;
** [[Modoptions.lua|modoptions.lua]]&lt;br /&gt;
** [[Validmaps.lua|validmaps.lua]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Game Dev]]&lt;/div&gt;</summary>
		<author><name>Interwiki&gt;Flozi</name></author>
	</entry>
</feed>