<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=PAK_%28Starbound%29</id>
		<title>PAK (Starbound) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=PAK_%28Starbound%29"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=PAK_(Starbound)&amp;action=history"/>
		<updated>2026-04-25T00:24:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=PAK_(Starbound)&amp;diff=51402&amp;oldid=prev</id>
		<title>Adrmcr: add</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=PAK_(Starbound)&amp;diff=51402&amp;oldid=prev"/>
				<updated>2026-01-11T12:37:57Z</updated>
		
		<summary type="html">&lt;p&gt;add&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Game data files&lt;br /&gt;
|extensions={{ext|pak}}&lt;br /&gt;
|magic=SBASSET6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''PAK''' is the container file format for storing game assets in the game Starbound.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
A Starbound PAK file starts with &amp;quot;SBASSET6&amp;quot;, then eight bytes of a pointer to an index table. That index table starts with &amp;quot;INDEX&amp;quot;, and then is followed up with metadata about the file in a compressed json format used by this file format and other similar storage files in the game. This compressed format depends on using variable-length integers to store length information, and then the information itself. Frequently, but not necessarily a dynamic &amp;quot;data type&amp;quot; byte is used before the length to specify what data type the following data is, with 1 being null, 2 being 8 bytes, 3 being a boolean, 4 being a signed variable-length integer, 5 being a string in utf-8 format, 6 being a list, and 7 being a map. A list consists of the amount of list elements followed by the elements in dynamic format, while a map consists of the amount of key-value entries in the map, starting with a string as a key and then the value in dynamic format. The metadata format continues as such until the end of the key-value list, after which a file listing starts, with a variable-length integer stating the amount of file entries. A file entry consists of the file name in length-string format, then eight bytes of a pointer to the file and eight bytes of the file's length.&lt;/div&gt;</summary>
		<author><name>Adrmcr</name></author>	</entry>

	</feed>