Hi all. I'm working on a java application that will modify H5 maps. The process is to unzip the map to a temp directory, modify the map.xdb file and zip it again to a .h5m file.
It is all working except the last part. When I zip the modified files into a new .h5m file programatically I can't get the map to open in the editor. However if that new created .h5m file is manually unzipped and zipped again, then I can open it in the editor and all the modifications are working.
As I said I'm using Java as programming language and the standar Zip API.
Here you can get one of those .h5m files generated by my program: Test Map
If you have any hint to make it work I would really appreciate it. Thanks in advance.
Zipping map files into a h5m file
Yes it can read them. Winrar can read them too.Pitsu wrote:The java application itself can read the files it writes, it is just H5Editor that cannot?
You mean the method I wrote to zip the file?Pitsu wrote:Can you post the script of output stream?Do you use any checksum or verification that the output is correct?
No, I haven't. However I doubt that it is wrong if winrar can read it.Pitsu wrote:Do you use any checksum or verification that the output is correct?
Who is online
Users browsing this forum: No registered users and 0 guests