From a6d474471dddc2d7a187a66358aafcb86235ca69 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 21 Jan 2017 11:24:56 +0100 Subject: Restructure git Move tools into separate repo, split TTL file. --- tools/extractArchive.py | 110 ------------------------------------------------ 1 file changed, 110 deletions(-) delete mode 100755 tools/extractArchive.py (limited to 'tools/extractArchive.py') diff --git a/tools/extractArchive.py b/tools/extractArchive.py deleted file mode 100755 index f14a6b6..0000000 --- a/tools/extractArchive.py +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env python3 - -""" -Extract linearized (see linearizeDisk.py) EUMEL archive disk. -""" - -import struct, sys, io, logging -import codecs -from eumel import Dataspace - -def take (it, n): - for i in range (n): - yield next (it) - -def parseEntry (blocks): - while True: - header = next (blocks) - unknown1, unknown2, length, unknown3 = struct.unpack ('