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

Title: dumpConfigTree, 0.92
Post 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




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.
Title: Re: dumpConfigTree, 0.92
Post by: Coyle[13thSFG] on 24 Feb 2012, 21:04:26
The above zip will not extract.  Error popup window says zip file empty.