for some reason I got an error when i tried to start the exe. but compiling with vs2008 resulted in a working exe ...
the decompression part is nice, but I noticed, that the recompression produces larger binaries.
with the original xipport, i could dump and rebuild an xip.bin and the result was exactly the same as the source (except for some small changes in the pe headers)
with this new xipport, the rebuilt xip.bin is almost 1.5MB larger than the source... so I guess this would need some address fixing in the structure ??
also I do not really understand why decompressing + compressing results in bigger files... is there some different kind of compression level ?
anyway. i guess it would be an improvement to store the compressed and the decompressed files when dumping, and only use the decompressed files if there was a change done to the file, otherwise the original compressed data should be reused.