For the map to load correctly across platforms you need to specify consistent sizes for the map format. I'm not sure if fBlockWidth is supposed to be a float, 32-bit int or 64-bit long.