OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Worldeater on 04 Mar 2009, 04:32:48
-
This version is for Armed Assault only. An ARMA2 version can be found here (http://www.ofpec.com/forum/index.php?topic=33539.0).
Here is a script that dumps the complete configuration tree (CfgAmmo, CfgVehicles, etc) to Window's debug output. I wrote it after reading this thread on dev-heaven (http://dev-heaven.net/boards/1/topics/show/37).
dumpConfigTree.sqf, v0.92
- Requires ArmAlib (http://www.ofpec.com/ed_depot/index.php?action=details&id=612) and DebugView (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx).
- Generates a full dump of the configuration currently used by the game.
Changes
2009-04-03: dumpConfigTree.sqf 0.92
- added missing instruction to the REAME (noticed by kju)
2009-03-09: dumpConfigTree.sqf 0.92
- fixed the wrong brackets for subarrays (reported by kju)
2009-03-05: dumpConfigTree.sqf 0.91
- fixed the wrong/missing brackets for arrays (reported by kju)
2009-03-04: dumpConfigTree.sqf 0.9
- initial release
Known bugs/limitations
- Some numbers are written in scientific notation, e.g. 1e+020 (reported by kju).
- The resulting dump has to be post-processed, i.e. DebugView's additional output has be removed.
-
The above zip will not extract. Error popup window says zip file empty.