Skip to content

NikkiTools/perfect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perfect

This library implements the custom serialization format used in Infinity Nikki.

Installation

pip install -U git+https://github.com/NikkiTools/perfect.git

Or clone the repository, and run the following command in the cloned directory:

pip install -e .

License

perfect is distributed under the terms of the MIT license.

Documentation

This library just implements the serialization format itself. Notably, it does not come with any type definitions for the objects the game serializes; These have to be provided seperately. The base classes SerializableObject and SerializableUnion respectively represent the base form of the different types of game objects, which you should overwrite when creating your own classes.

Another noteworthy addition is that the config table serialization omits the data tags alongside some other unnecessary information, serialization of these types should have the respective read/write_tag and read/write_size parameters set to False when calling methods on the ByteBuf.

About

Python implementation of the 'Perfect' serialization format used in Infinity Nikki.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages