2026-02-07 12:40:03 +03:00
2026-02-07 12:40:03 +03:00
2026-02-06 01:07:35 +03:00
2026-02-06 01:07:35 +03:00
2026-02-07 12:40:03 +03:00
2026-02-06 01:07:35 +03:00

unsegaREBORN

SEGA arcade image toolkit

features

  • support for APP/PACK and OPT (including APM3 type)
  • support for NTFS and exFAT
  • support for VHD (fixed, dynamic, differencing)
  • stream directly from encrypted image (no temporary files)
  • preserved timestamps
  • AES-NI hardware accelerated

build

build.cmd          # windows
sh build.cmd       # linux

output: build/unsegareborn-{platform}-x64[.exe]

usage

unsegareborn [flags] <files>

flags:

  • -o dir output directory
  • -n decrypt only, skip extraction
  • -w write intermediate .ntfs/.exfat files
  • -p file parent for differencing VHD
  • -k keep all versions (each delta gets its own folder instead of stacking)
  • -s silent
  • -v verbose
  • -vn version

deltas (differencing VHD)

base + update files are stacked into a single output directory named after the latest delta. files are automatically sorted by actual order.

unsegareborn -o out -p BASE.opt/app DELTA1.opt/app DELTA2.opt/app

result: out/DELTA2_*/ with merged content (base + all updates applied in order)

drag and drop

drag and drop works on windows. multiple files are handled automatically. the earliest file on drag selection order is used as parent, the rest are applied as updates in order. no flags needed.

keys

prebuilt releases include keys. source does not.

to build from source:

  1. copy include/keys.inc.example to include/keys.inc
  2. add your keys in the format shown

format:

{"SDEZ", {0xd1,0x36,...}},

iv values are derived automatically from the key and ciphertext

platforms

platform method
win x64 native (ntdll only)
win arm64 x64 emulation
linux x64 native (static no libc)
linux arm64 box64/qemu
macos wine (untested)

release

build generates a version tag automatically (YYYYMMDDNN, revision increments per day):

sh build.cmd        # or build.cmd on windows
git tag $(./build/unsegareborn-* -vn | awk '{print $2}')
git push origin --tags

ci builds both platforms and creates a github release with binaries

license

UNLICENSE

S
Description
all in one sega decryption utility
Readme
188 KiB
Languages
C 98.3%
Batchfile 1.7%