Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Data decoding scenarios and demos

Darren Ldl edited this page Apr 13, 2019 · 3 revisions

Purpose

This page discusses scenarios related to decoding SBX containers. Not all scenarios are designed to be realistic, they are designed to illustrate various techniques for you to pick and apply for your specific scenario.

You have multiple partially good versions of SBX/ECSBX containers, but you don't want to merge using sort mode prior to getting a good output

Demo

Sort mode supports --multi-pass for updating the final container across multiple runs, this essentially allows you to "merge" several partially good containers together.

But you don't want to do that first. Don't worry, decode mode has something similar.

Say if you have test.ecsbx.0, test.ecsbx.1, test.ecsbx.2, you can do the following

$ blkar decode --multi-pass test.ecsbx.0 test
$ blkar decode --multi-pass test.ecsbx.1 test
$ blkar decode --multi-pass test.ecsbx.2 test

If the copies do not share common bad blocks, then test should be the same as the original file.

The procedure is same for SBX containers.