<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dungeoncrawlchili.org/index.php?action=history&amp;feed=atom&amp;title=Seed</id>
	<title>Seed - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dungeoncrawlchili.org/index.php?action=history&amp;feed=atom&amp;title=Seed"/>
	<link rel="alternate" type="text/html" href="https://wiki.dungeoncrawlchili.org/index.php?title=Seed&amp;action=history"/>
	<updated>2026-08-07T02:04:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.dungeoncrawlchili.org/index.php?title=Seed&amp;diff=4562&amp;oldid=prev</id>
		<title>Maintenance script: Importing CrawlWiki content</title>
		<link rel="alternate" type="text/html" href="https://wiki.dungeoncrawlchili.org/index.php?title=Seed&amp;diff=4562&amp;oldid=prev"/>
		<updated>2026-06-16T09:25:51Z</updated>

		<summary type="html">&lt;p&gt;Importing CrawlWiki content&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{version028}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;seed&amp;#039;&amp;#039;&amp;#039; is a 64-bit binary number (equivalent to a decimal number of up to 20 digits) that can be used to repeatedly generate the same dungeon with the same [[item]]s, [[monster]]s, features and [[vault]]s, across different games. Every game, whether online or offline, is allocated a game seed which the game uses to generate the start of the Dungeon, and then every subsequent floor the player enters---this game seed is printed at the top of the [[morgue]] file. When combined with dungeon pregeneration, a given seed will generate the exact same dungeon for everyone, with the exception of [[the Abyss]] and [[Pandemonium]].&lt;br /&gt;
&lt;br /&gt;
==Setting a game seed==&lt;br /&gt;
There are currently two ways to set a game seed before starting a game:&lt;br /&gt;
* Setting the &amp;lt;code&amp;gt;game_seed&amp;lt;/code&amp;gt; option in your options file (init.txt), which will cause all games started through the &amp;quot;New Game&amp;quot; button on the main menu to be generated using this seed; and&lt;br /&gt;
* Using the &amp;quot;Choose game seed&amp;quot; button on the main menu, which will bring up a menu allowing you to manually enter a seed. Alternatively, you can press &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; to use the current date as your seed, or &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; to paste a seed from the clipboard.&lt;br /&gt;
&lt;br /&gt;
Setting a game seed on its own will ensure that the first floor of the [[Dungeon]] is always the same, and likely also most of the rest of the early [[Dungeon]], but, if you visit floors in a different order, whether through [[shaft]]s, or choosing a different order of [[branch]]es, the game may diverge rapidly from other games using the same seed. This is because each floor of the dungeon generates only when you first enter that floor.  &lt;br /&gt;
&lt;br /&gt;
Note that games generated on different versions of the game might have an entirely different Dungeon, even with the same seed.&lt;br /&gt;
&lt;br /&gt;
==Dungeon pregeneration==&lt;br /&gt;
To ensure the dungeon layout is the same for the entire game, it is necessary to pregenerate the dungeon. This can be done directly from the &amp;quot;Choose game seed&amp;quot; option on the main menu, or through the options file setting &amp;lt;code&amp;gt;pregen_dungeon = true&amp;lt;/code&amp;gt;. This will generate the entire dungeon, rather than just the first floor, before the game is started, in a fixed order.&lt;br /&gt;
&lt;br /&gt;
Randomness outside of the game, such as a [[scroll of acquirement]], a [[god]]&amp;#039;s [[gift]]s or the entirety of [[Xom]], is never pre-set. One of them generating an [[unrand]] could have potentially minor, but lasting effects on a non-pregenerated Dungeon as a whole.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
* Prior to [[0.23]].1 and [[0.23]].2, seeds were occasionally unstable across different devices and operating systems. Further improvements to seed stability were included in future versions.&lt;br /&gt;
* Seeds, along with the ability to pregenerate the dungeon, were added in [[0.23]].&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>