I am ready to give this a try.
But be prepared, as I will do this in JAVA
I am not talking an applet here. I am talking about a full scale JAVA application, needing at least the JRE (Java Runtime Environment) to run properly. I will be using the J2SE and Eclipse as my IDE.
If anyone is willing to join this effort, just PM me, but do net expect me to get back to you before tomorrow 21:00 (GMT+2).
A short outline of what I am planning:
The Tool (in CREATE - Mode) will accept your mission.sqm. You will have to adjust the path to your OFP-Directory prior to using it. It will then check both res/addons, addons and specified mod-folders in order to find the addons used.
At this part, I will probably need to help as to the PBO-Format and how to check which addons are inside which pbo.
After finding the necessary pbos, the tool is supposed to create MD5 Checksums and will accept URLs for any of the addons. These URLs should always point to a general location, not to the addon file, though the tool will neither check this nor warn if you provide a direct link.
I plan to include a "exists"-check though, and thats another point I might need help with (HTTP/FTP)
Once all this has been done, a simple text file with a propietary extension (.oal? OFP Addon Listing) will be created to go with your mission.zip.
If you run the tool in CHECK-Mode (default, CREATE has to be specified on the command line) the tool will take your .oal and check it against your addon, res addon folders and any mod folders given. If you have all necessary addons (and in the right version), the tool will flash you the green light, or tell you which addons you are missing, with the links to the respective download site.
As .oal is not an extension used in OFP, you will be able to simply extract these files to the missions-folder and have the tool run over .oal it finds in there in batch mode, loggin everything to a human readable .log file, if this feature is requested.
Anyway, any help is appreciated and if someone dares to give me some hints as to the pbo-file-format, I would be quite grateful. (Will not give you a bj, though!).
Cheers
PiLLe