This page describes the decrypted stream of a type-01 file. The stream is a program for the stack machine of the reference reader. Its one-byte operations are not decoded; the structure around them, the literals, is.
Stream
The plain text is a sequence of items: runs of one-byte operations and literals. The explorer lists each at its file offset, at every depth of nesting, and shows the whole plain text as a hex dump.
Operations
Any byte that does not begin a literal is an operation byte. Bytes seen in the files include
63 xx (an operation with one operand byte), 0e, 0f, 05, 3f and the pair 10 31.
What each does is not known; consecutive operation bytes are shown as one run.
Literals
A literal is 66, a BER length and that many content bytes. A 66 byte counts as a literal only if its length fits in the rest of the data.
The content decides the kind:
| Content | Kind | Meaning |
|---|---|---|
starts 02 hh ll 73 | encrypted literal | Cipher text for the nested cipher; its plain text is a program. |
starts 30 80 | BER sequence | See below. |
| four bytes | value | A four-byte value, probably a check value. |
| other | data | Bytes; printable text such as localekb and qwertyui occurs. |
BER sequences
A literal that starts 30 80 is an indefinite-length SEQUENCE. Its items are OCTET STRINGs (04, a length, 02 hh ll 73 and cipher text), each an encrypted
blob decrypted like an encrypted literal, and 00 00 ends the sequence.
Sources
- Analysis of the module files of the OpenMG package of a SonicStage 4.3 installer, parsed with the explorer's parser (owner ruling QC088, 2026-12-03).