Skip to content

Latest commit

 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skyless-utils

Utilities for serialization of Sunless Skies data.

Python 3.7 is required.

This codebase is largely based off fl-utils.

convert.py will take individual serialized data files and combine them into a single data file, in a usable format.

init.py loads the data file produced by convert.py.

skyless.py contains methods to format the data.

How to use

  1. Extract the TextAsset files from the Unity resources files.
  2. Convert from binary format to JSON format.
    The C# file Reserialize.cs will perform this function.
    Namespace Skyless.Assets.Code.Skyless.Utilities.Serialization is defined in Assembly-CSharp.dll, in the Sunless Skies directory.

Running convert.py from the directory containing the JSON-serialized data will produce a file suitable for use with init.py.

Run python -i init.py from the directory containing the data file.

To format Storylets, Qualities, etc., print(skyless.Storylet.get(284781)) or print(skyless.Quality.get(804)), for example.

About

Utilities for serialization of Sunless Skies data

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages