Arma2P from mikero
Inspired by Dwarden scripts. To whom, all honor and glory.
Arma 2 P: does what it says it does. It will extract all official pbo's to the correct folders on your p: drive.
If you have placed unofficial pbo's in official arma addon folders, it's your problem. Learn to use mods= properly.
a2p detects ALL official pbos from Arma2, Operation Arrowhead, Combined Operations, and ANY betas accompanying those packages whether from cd or Steam.
Any detected beta expansions are guaranteed to over-extract onto the existing package(s).
Pbo over-extraction is a bit tricky because of the convoluted pathing bi use and the necessary (and utterly essential) correct mod = loading order required for a2+oa
Multiple instances of the same-name pbo abound as a result. Arma2p handles the fussy details of ensuring THE pbo to extract is the correct one. Reflecting YOUR pc's game.
Genuine paid-for PMC and BAF extensions are NOT extracted. Bis proprietary is respected. Lite pmc and Lite baf ARE extracted. This means you can confidently use your p: drive with pmc/baf addons.
You are recommended to use this bat file on any subsequent patch or update from bi
Extract the rar package to anywhere that gives you a thrill
you also require extractpbo auto-installer and depbo.dll from dev-heaven
latest versions should always be retrieved from dev-heaven.http://dev-heaven.net/projects/mikero-pbodll/files
Personal Tools 2.5.1编辑
You must have personal tools installed before running Arma2P
Arma2p assumes you have correctly installed Bi's personal tools. You only have to do this once. Arma2p does NOT require personal tools to be RE installed.
Simply double click on arma2p, go make coffee, feed the cat, or hell, talk to the wife!
The P drive编辑
********** YOU MUST HAVE P: set *******************
WARNING WARNING WARNING编辑
Arma2P removes any relevant P:\folder before extractions begin.
- Users P:\folders are NOT AFFECTED
binarised configs et al 编辑
- ALL* relevant rapified files (configs,missions,rvmats, bisurfs) are derapified back to humanly readable text.
Bis Binarise requires roads to be in mlod format to be used 'correctly' when it builds islands. To that end, Bis provide these mlods in personal tools and are intended to replace the binary equivalents of the game, for the purpose of building wrps.
To that end, arma2p assumes that roads already existent on the p drive are mlods and will preserve them, rather than over-write them with genuine game p3d's
specifically Roads2,Roads_E and roads_pmc. If they aren't mlods, it's up to you to put the proper ones from bi's personal tools ~armaworks folder in there.
Note that ca\roads from arma1 is useless and removed unconditionally.
Note that subfolders of Roads2 reflect the current engine extraction (bridges and dams)
BINPBO and islands
This is unnecessary if you are using the pboProject.exe (which replaces binPbo)
A wrp_Projects\ca\*\config.cpp is created
If you are working with islands, you require a copy of ca IN your projects folder. Don't blame me.
arma2p creates P:\WRP_PROJECTS for your convenience. use it as a template for any of your new projects or copy the ca folder to your old ones
if you are using win7 you can simply MKLINK and ignore above
A minor quirk of bis's languagecore.pbo is also accounted for.
this file MUST reflect the engine it comes from. (oa/ca/a2) in order to compile configs, in general, correctly.
this clashes with buldozer which uses an earlier version. The net effect is viewing models or islands in oxygen/visitor will cause a 'missing blah'.
live with that annoyance, or, recopy personal tools config.cpp to bin. Choice is yours, caveat emptor