ADD: @marshmellow42 's changes to "hf mfu *" ,

ADD: @marshmellow42 's changes to "hf mf sim",
ADD: @pwpiwi 's parity files was missing.
This commit is contained in:
iceman1001 committed 2015-12-15 09:34:55 +01:00
1 parent f8ada309e9
commit 2b1f4228c2
8 files changed
+293 -173

No files matched your search

+3 -3
View File
@@ -4,9 +4,9 @@ getopt = require('getopt')
bin = require('bin')
example = "script run dumptoemul-mfu -i dumpdata-foobar.bin"
author = "Martin Holst Swende \n @Marshmellow"
usage = "script run dumptoemul [-i <file>] [-o <file>]"
usage = "script run dumptoemul-mfu [-i <file>] [-o <file>]"
desc =[[
This script takes a dumpfile from 'hf mf dump' and converts it to a format that can be used
This script takes a dumpfile from 'hf mfu dump' and converts it to a format that can be used
by the emulator
Arguments:
@@ -91,7 +91,7 @@ local function main(args)
-- The hex-data is now in ascii-format,
-- But first, check the uid
local uid = string.sub(dumpdata,1,8)
local uid = string.sub(dumpdata,1+48,8)
output = output or (uid .. ".eml")
-- Format some linebreaks