+
+local function AddKey(keys, blockNo, data)
+ local pos = (math.floor( blockNo / 4 ) * 12)+1
+ local key = keys:sub(pos, pos + 11 )
+ return key..data:sub(13)
+end
+
+local function LoadEmulator(uid, blocks)
+ print('Sending dumpdata to emulator memory')
+ local keys = pre.GetAll(uid)
+ local cmd, blockdata