<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Unreal.Shared%2FBIBLE</id>
	<title>Unreal.Shared/BIBLE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Unreal.Shared%2FBIBLE"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Unreal.Shared/BIBLE&amp;action=history"/>
	<updated>2026-12-06T15:57:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Unreal.Shared/BIBLE&amp;diff=987&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Unreal.Shared/BIBLE&amp;diff=987&amp;oldid=prev"/>
		<updated>2026-11-29T20:38:14Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Unreal.Shared — Project Bible =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Single source of truth for what Unreal.Shared IS, is NOT, and the rules that keep it coherent. README says how to build and run it; this says how to think about it. The finish line lives in &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 1. The one sentence &amp;lt;span id=&amp;quot;UNRE-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
One Unreal plugin, &amp;lt;code&amp;gt;MindAtticShared&amp;lt;/code&amp;gt;, holding the features every MindAttic Unreal game would otherwise copy; today that is the off-by-default &amp;lt;code&amp;gt;--headless&amp;lt;/code&amp;gt; launch mode.&lt;br /&gt;
&lt;br /&gt;
== 2. The product promise &amp;lt;span id=&amp;quot;UNRE-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* One switch in every MindAttic game, Unity or Unreal: &amp;lt;code&amp;gt;--headless&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MINDATTIC_HEADLESS=1&amp;lt;/code&amp;gt;.&lt;br /&gt;
* No window, muted, and exactly one &amp;lt;code&amp;gt;MINDATTIC_HEADLESS_READY &amp;amp;lt;ProjectName&amp;gt;&amp;lt;/code&amp;gt; log line once the first map is up.&lt;br /&gt;
* Off by default: without the switch the plugin does nothing at all.&lt;br /&gt;
* Adopted by editing the game&amp;#039;s &amp;lt;code&amp;gt;.uproject&amp;lt;/code&amp;gt;; nothing is copied into the game.&lt;br /&gt;
&lt;br /&gt;
== 3. What it is NOT &amp;lt;span id=&amp;quot;UNRE-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* Not a gameplay library: games keep their own opt-ins (skip menus, scripted input) in their own code.&lt;br /&gt;
* Not a place for code only one game uses.&lt;br /&gt;
* Not the Unity counterpart (that is Unity.Shared, which follows the same headless contract).&lt;br /&gt;
&lt;br /&gt;
== 4. Architecture canon &amp;lt;span id=&amp;quot;UNRE-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-text&amp;quot;&amp;gt;Plugins/MindAtticShared/MindAtticShared.uplugin        VersionName 1.0&lt;br /&gt;
  Source/MindAtticHeadless/  (Runtime, LoadingPhase EarliestPossible, Core only)&lt;br /&gt;
    Public/MindAtticHeadless.h   FMindAtticHeadless: IsActive, OnReady, HasSignalledReady, overrides&lt;br /&gt;
    Private/MindAtticHeadless.cpp  the switch rule, the engine flags, the ready line&lt;br /&gt;
tools/Start-Headless.ps1      launch a .uproject (-game) or a built exe headless; wait for the ready line&lt;br /&gt;
tests/HostProject/            test-only host project that enables the plugin as a game does&lt;br /&gt;
tests/Run-HostProjectTests.ps1  builds the host and checks the contract with real launches&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.1 Domain model (the nouns) ===&lt;br /&gt;
&lt;br /&gt;
The switch, the engine flags (&amp;lt;code&amp;gt;-RenderOffScreen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-nosplash&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-unattended&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-nosound&amp;lt;/code&amp;gt;), the ready line, the consumer (a game &amp;lt;code&amp;gt;.uproject&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== 4.2 Key services (the verbs) ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;FMindAtticHeadless::IsActive()&amp;lt;/code&amp;gt; resolves the switch once; &amp;lt;code&amp;gt;OnReady()&amp;lt;/code&amp;gt; fires once before the ready line.&lt;br /&gt;
* &amp;lt;code&amp;gt;Start-Headless.ps1&amp;lt;/code&amp;gt; supplies the flags a plugin cannot apply late enough (&amp;lt;code&amp;gt;-unattended -nosound&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== 5. The Laws &amp;lt;span id=&amp;quot;UNRE-5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Inherits &amp;lt;code&amp;gt;MindAttic.HouseRules.md&amp;lt;/code&amp;gt; by reference.&lt;br /&gt;
&lt;br /&gt;
# Off means off: without the switch, no flags, no log lines, no behaviour change. &amp;lt;span id=&amp;quot;UNRE-LAW-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
# The ready line is written exactly once, after &amp;lt;code&amp;gt;OnReady()&amp;lt;/code&amp;gt;, in a headless run only. &amp;lt;span id=&amp;quot;UNRE-LAW-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
# The plugin never changes a game&amp;#039;s menus or input. &amp;lt;span id=&amp;quot;UNRE-LAW-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
# A module joins only when a second game would otherwise copy it. &amp;lt;span id=&amp;quot;UNRE-LAW-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 6. Verified state &amp;lt;span id=&amp;quot;UNRE-6&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Measured on UE 5.8 with &amp;lt;code&amp;gt;tests/HostProject&amp;lt;/code&amp;gt; (README, &amp;quot;The flags&amp;quot;): &amp;lt;code&amp;gt;-RenderOffScreen&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;-nosplash&amp;lt;/code&amp;gt; take effect from the plugin alone; &amp;lt;code&amp;gt;-unattended&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;-nosound&amp;lt;/code&amp;gt; need the real command line, which &amp;lt;code&amp;gt;Start-Headless.ps1&amp;lt;/code&amp;gt; passes. Consumers today are listed in &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt; §6.&lt;br /&gt;
&lt;br /&gt;
== 7. Active frontier &amp;lt;span id=&amp;quot;UNRE-7&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt;: MS-17, plugin 1.0 bug-free, documented, consumers verified, v1.0.0 tagged.&lt;br /&gt;
&lt;br /&gt;
== 8. Quality bar &amp;lt;span id=&amp;quot;UNRE-8&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
A change is done when HostProjectEditor builds clean, the README contract still describes the behaviour, and its commit names its ticket. The host-project harness runs on the owner&amp;#039;s &amp;lt;code&amp;gt;/test&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== 9. Glossary &amp;lt;span id=&amp;quot;UNRE-9&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Ready line&amp;lt;/strong&amp;gt;: the single &amp;lt;code&amp;gt;MINDATTIC_HEADLESS_READY &amp;amp;lt;ProjectName&amp;gt;&amp;lt;/code&amp;gt; log message.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Consumer&amp;lt;/strong&amp;gt;: a game &amp;lt;code&amp;gt;.uproject&amp;lt;/code&amp;gt; that enables &amp;lt;code&amp;gt;MindAtticShared&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[Unreal.Shared]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/Unreal.Shared/blob/main/docs/BIBLE.md Unreal.Shared/docs/BIBLE.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Unreal.Shared]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>