Skip to content

Instantly share code, notes, and snippets.

@waryder
waryder / decode.py
Created January 10, 2025 17:35 — forked from Chase-san/decode.py
A python script to decode the hello games no man's sky save files. (The newer compressed kind)
#!/usr/bin/python3
import io
import os
import lz4.block
from glob import glob
FILE_PATH = os.path.dirname(os.path.realpath(__file__))
def uint32(data):
"""Convert 4 bytes to a little endian unsigned integer."""