ophidiedev/minstance
v0.1.0 ·
A very fast Instance serializer for Roblox that can serialize 40,000 Instances and compress it into a 100K+ character string in only 0.4s
MInstance
A very fast Instance serializer for Roblox that can serialize 40,000 Instances and compress it into a 100K+ character string in only 0.4s
Note
The original source code for the replica project can be found here
Features
- Supports majority of Roblox data types and can serialize most properties with no issues.
- Extremely fast performance!
- Supports properties with its value being set to reference to another Instance, achieving this without setting UUIDs. This allows properties such as
SelectionBox.Adorneeto perfectly work as long as it is referencing an Instance that is a descendant of the main Instance being deserialized. - Supports MeshParts, which some other serializers fail to serialize properly. This is optional and you have to manually enable it in
DeserializationSettings. (LOADS SLOW due to requiring to fetch the assets from Roblox's APIs) - Serializes attributes.
- Instead of relying on an API dump to get properties like all other serializers do, the module will be updated to use
ReflectionService:GetPropertiesOfClass()the moment that it is enabled, which is more futureproof than relying on the API dump. - You have the option to encode serialized data into Base94, which allows you to store serialized data into
DataStore.
Installation
Add to your wally.toml:
minstance = "ophidiedev/[email protected]"
Add to your pesde.toml:
minstance = { name = "ophidiedev/minstance", version = "^0.1.0" }
Add to your package.json:
"@rbxts/minstance": "^0.1.0"
Licenses
- The original source code for MInstance is MIT Licensed the original source can be found here.