Windblown Save Patcher
Small tool that sets MetaFlag bits in Windblown save files. Made to get Guinea Pig and Intern, both were limited rewards for demo and early access players.
How to use
Install:
python3 -m pip install --user windblown-save-patcher
Create ~/.config/windblown-save-patcher/config.yml and put your save path there:
---
saves:
- /path/to/steamapps/compatdata/1911610/pfx/drive_c/users/steamuser/AppData/LocalLow/Motion Twin/Windblown/Steam_<steam id>/<player id>.sav
flags:
demo: 91
super_early_access: 92
Close game first. Game keeps save in memory and rewrites file on next save point, so patch made while game runs gets lost. Then run:
windblown-save-patcher --dry-run
windblown-save-patcher
Dry run only shows what would change. Real run makes backup first and then writes save.
If Steam Cloud asks about conflict on next launch, pick local copy.
Config
Config lives in ~/.config/windblown-save-patcher/config.yml, or under $XDG_CONFIG_HOME when it is set.
saves- list of save files.~works, relative paths start from config directory.flags- flag name and bit number. Name goes only to log.backup_directory- optional. Without it backups go to~/.local/share/windblown-save-patcher/backups, or under$XDG_DATA_HOMEwhen it is set.
With Proton saves live in <steam library>/steamapps/compatdata/1911610/pfx/drive_c/users/steamuser/AppData/LocalLow/Motion Twin/Windblown/Steam_<steam id>/.
Which bits
Bit 91 is PerpetualFlagDemoPlayer, it gives Guinea Pig.
Bit 92 is PerpetualFlagSuperEarlyAccessPlayer, it gives Intern.
Checked on game build ed587cc7d559d15a9c04c3358d5316aac5b1f390 from 2026-10-23.
Game update can move bits.
Patcher prints build of every save it touches.
Game writes names of set flags into Player.log, look for PlayersMetaFlags line.
What happens to save
Patcher checks both SHA1 hashes, finds flag mask and sets missing bits. Mask sits in up to three places: player save data, current run and biome start snapshot. All copies get patched. Unpatched run copy would bring old flags back when run resumes. When all bits are already set, file stays untouched.
Before writing, original goes to <backup_directory>/<timestamp>/<save folder>/.
New file goes to temporary file first, then gets renamed over save.
To restore, close game and copy backup file back.
Save file format
Nothing official here, layout below comes from poking at real saves. Example is save with run in progress, 106782 bytes, numbers little-endian.
<player id>.sav
+-- 4d 54 57 42 "MTWB" magic
+-- 01 container version
+-- 2d 01 00 00 header gzip length: 301
+-- <20 bytes> SHA1 of header gzip
+-- <301 bytes gzip> header JSON, 485 bytes
| {"PlayerId": "<player id>", "Alias": "<alias>", "Serial": 2420,
| "LastUpdate": "2026-10-24T16:34:30Z", "BackHash": "...", ...}
+-- <20 bytes> SHA1 of all bytes below
+-- ed587cc7 ... 5316aac5b1f390 game build git hash, 20 bytes
+-- b8 09 00 63 00 07 00 00 30 0x09b8: build date, 2488 days after 2020-01-01
| 00 63 00: version bytes
| 0x30000007: save flags, 3 sections, save kind 3
+-- <106403 bytes gzip> body, 130057 bytes
+-- 9a 5f 00 00 block size: 24474
| player save data bit stream: schema (21 types), data
| root PlayerSaveData
| +-- assetFlags dictionary, 549 entries
| +-- meta Quantum.PlayerMeta
| | +-- _assets dictionary, 594 entries
| | +-- ...
| | +-- flags._values 3 x uint64, MetaFlag mask, copy 1
| | +-- species asset guid
| +-- name "<alias>"
| +-- ...
+-- 82 5e 00 00 block size: 24194
| run frame bit stream: schema (44 types), data
| ... MetaFlag mask, copy 2
+-- e1 3d 01 00 block size: 81377
biome start snapshot
+-- 12 28 03 00 frame field
+-- a8 19 01 00 nested gzip length: 72104
+-- <72104 bytes gzip> Quantum frame, 824104 bytes
| ... MetaFlag mask, copy 3
+-- <9265 bytes> trailer
Low 3 bits of save flags tell which blocks are there: 1 player save data, 2 run frame, 4 biome start snapshot.
Bit stream
Player save data and run frame are bit streams. Bits go LSB-first and values ignore byte boundaries. Stream starts with schema, list of types with their fields. Data follows in same field order.
This is how MetaFlag mask type looks in schema:
9-bit 51 type header 0b000110011, low 3 bits 011: struct (010 enum, 100 class)
u16 20 name length
"Quantum.MetaFlagMask" name
u32 1 field count
0 unused bit
u16 7 "_values" field name
8-bit 44 fixed array
8-bit 8 element: uint64
u32 3 length
Other type codes: 0x40 + index (schema type), 40 array, 41 list, 42 dictionary (value type, key type), 43 set, 1 bool, 2 byte, 5 int32, 6 uint32, 7 int64, 8 uint64, 10 uint16, 11 string, 12 asset guid, 14 double.
And this is start of data for same save:
1 assetFlags present
u16 549 entry count
64-bit key, 32-bit value, x549
0 curMultiRunStats null
1 curRunStats present
...
1 meta present
1 u16 594 ... _assets: present, count, entries
...
64 64 64 flags._values, fixed array: no header
...
0 u16 5 "<alias>" name: null bit 0, length, UTF-8
Root record is last type in schema and has no presence bit. Structs have no presence bit either. Copies 2 and 3 have no fixed place, patcher finds them by exact value of copy 1.
Metadata
Release files for windblown-save-patcher 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| windblown_save_patcher-0.1.0.tar.gz | 18.1 kB | Without provenance | Details for windblown_save_patcher-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| windblown_save_patcher-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for windblown_save_patcher-0.1.0-py3-none-any.whl |
Total release size: 38.4 kB
Release files / windblown_save_patcher-0.1.0.tar.gz
| Download URL | windblown_save_patcher-0.1.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bbd63256efaf8587e1647bc591a4fdfaa6155af22b64d5c4394555ebc464263
|
|
BLAKE2b-256 checksum How to use checksums |
0e913a2b307ee29269de21ba81d2c9fd542ce917a423130f0a3e24a7b75364a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / windblown_save_patcher-0.1.0-py3-none-any.whl
| Download URL | windblown_save_patcher-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3390e5751cff275da105e16954f9fad5c2772d04bb223c16ef4678812ae15947
|
|
BLAKE2b-256 checksum How to use checksums |
d51937afd879a60b6e7c7cb63e5fec8658f864d6b6a924892e13ae7afa613f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for windblown-save-patcher 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.