Generate searchable documentation for a tree of Starbound assets.
The easiest way to get started making mods for Starbound is to start with the stock Starbound assets. What goes into an object file? What status effects can you use? Unpacking the stock Starbound assets results in a directory tree with thousands of files, and no easy way to navigate through them. This project reads object and status effect files, generates documentation files, and runs a web server for browsing the content.
Just start typing to search over 3,000 object and status effect names and descriptions. Results display an image, name, and description; click to go to the detail page for the object or status effect.
Displays a list of all properties used in .object
files.
Each property has a type, list of sample values, and links to objects that use the property.
Displays the name, image, description, file path, and syntax-highlighted JSON contents of each .object
file.
Values for sitStatusEffect
and statusEffect
are linked to the corresponding status effect page.
Displays a list of all properties used in .statuseffect
files.
Each property has a type, list of sample values, and links to status effects that use the property.
Displays the name and and syntax-highlighted JSON contents of each .statuseffect
file.
It also displays a list of linked objects that use the effect.
a tree of unpacked Starbound assets
from Starbound
directory
- Mac:
osx/asset_unpacker assets/packed.pak unpacked
- Windows:
win32\asset_unpacker.exe assets\packed.pak unpacked
-
get the location of your unpacked Starbound assets (here:
unpacked/
under the Starbound directory) -
in a terminal in the Starbound directory (ie:
Steam/steamapps/common/Starbound
)
git clone https://github.com/kielni/starbound-asset-doc.git
cd starbound-asset-doc
pip install -r requirements.txt
- index the content and start the server
python3 index.py ../unpacked
- go to http://localhost:8000/asset-doc/index.html to browse the generated docs