Skip to main content

DSB

Status

FieldValue
Extension(s).dsb
Common ecosystemBarudan / Data Stitch Barudan
Format familyExpanded stitch stream
Satin Studio statusResearching
Open / importNo
ExportNo
ConfidenceMedium for family; details unverified.

What it is

DSB is associated with Barudan commercial embroidery workflows. It appears to combine a DST-like 512-byte header with a different Barudan-style stitch encoding.

Satin Studio direction

Possible later backend after DST and U-series research.

Versions and variants

Treat DSB separately from DST even when the header looks familiar. Similar headers do not imply identical stitch encoding.

File identification notes

Public format notes describe DSB as using a 512-byte DST-style header while the body uses unsigned x, y, control-style stitch records rather than DST's bit-swizzled three-byte records.

Observed structure notes

  • DSB has been observed as a 512-byte DST-style header followed by Barudan-style three-byte records.
  • Observed record order is control, y, x. Bit 0x40 negates Y and bit 0x20 negates X. Low five command bits 0 and 1 represent stitch and jump.
  • Observed full control bytes include 0xF8 end, 0xE7 trim, 0xE8 stop, and 0xE9 through 0xF7 needle changes.

Structure sketch

DSB uses a DST-like header with a Barudan-style body:

struct DsbFile<'a> {
header: [u8; 512], // DST-style ASCII header/padding
records: &'a [DsbRecord],
}

struct DsbRecord {
control: u8, // 0x20 negates x; 0x40 negates y
y: u8,
x: u8,
}

enum DsbCommand {
Stitch, // control & 0x1F == 0
Jump, // control & 0x1F == 1
Trim, // control == 0xE7
Stop, // control == 0xE8
NeedleChange { needle: u8 }, // 0xE9..0xF7
End, // control == 0xF8
}

What we still need

Barudan files with known stitch counts, color changes, trims, and independent reader validation.