petit_spirou Posted October 17, 2012 Report Share Posted October 17, 2012 Hello to all, I read about the VIPM somewhere here on the forum that I can build packages either with the VIPM or traditionally with the OpenG-Package Builder. The package format of the OpenG-Package Builder is open source. How about the new format vip? Is this package format is also free and open source. I ask because I am about to write a small tool evaluating the package content. And I do my packaging with the OpenG Package builder, where I got the information about the package structure. Thanks in advance Spirou Quote Link to comment
hooovahh Posted October 17, 2012 Report Share Posted October 17, 2012 I'm sure someone else can chime in if I'm wrong about any of this, but from what I've seen the VIP and OGP file format is very similar. They both are essentially a zip archive, with file groups, and a spec file, and I believe an icon file. You can unzip both programatically, and read the spec file if you want to read information about the package. The spec file is in an INI file format and you should have no problem reading. The main difference I know of, is the VIP files cannot be created or edited manually. You cannot take an existing VIP, extract it, add files, then rezip it and use it. This is because there is added checksum information telling VIPM that the package has no corruptions. I don't believe the mechanism to recreate this checksum is documented so editing the package after it is built is prohibited. There is no such restriction on OGP. Extract, replace, and zip works just fine. Both can be installed using VIPM. 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.