From 7cf50f75b82ed10f9d8a3f1c329a23c0118f94af Mon Sep 17 00:00:00 2001 From: "tim.newsham" Date: Wed, 30 Apr 2008 21:00:36 +0000 Subject: [PATCH] - start of a new tool.. not fully tested yet. --- tools/dumpaout.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 tools/dumpaout.py diff --git a/tools/dumpaout.py b/tools/dumpaout.py new file mode 100755 index 0000000..1ea5568 --- /dev/null +++ b/tools/dumpaout.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python + +from struct import pack, unpack + +class AOut(object) : + def __init__(self, bin) : + self.mag, self.txt, self.sym, self.rel, self.dat, self.z = \ + unpack("