View Single Post
Author Message
commonbullet
Veteran Member
Join Date: Oct 2005
Old 02-22-2007 , 00:19   Module: Vdf (key/value trees) - 1.07
Reply With Quote #1

This is a simple module to handle vdf (valve data files) trees. It makes very easy to read, create and write node structures.

A vdf tree is composed by nodes of key/value string pairs in quotation marks hierarchically disposed in braces.

Example:
Code:

"UserConfigData"
{
	"Steam"
	{
		"Cached"
		{
			"SteamGamesDialog.res"
			{
				"xpos"		"700"
				"ypos"		"112"
				"wide"		"204"
				"tall"		"332"
			}
                }
         }
}
Big thanks to sawce for helping with linux.
Attached Files
File Type: inc vdf.inc (10.5 KB, 1672 views)
File Type: zip vdf_amxx_1.07_release.zip (73.3 KB, 1746 views)
File Type: zip vdf_amxx_1.07_src.zip (60.6 KB, 1220 views)
File Type: zip examples.zip (21.3 KB, 1359 views)
File Type: zip everything-1.07.zip (152.4 KB, 1532 views)

Last edited by commonbullet; 11-27-2010 at 16:54.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet