На примере HL2
"AppState"
{
"appID" "220"
"Universe" "1"
"StateFlags" "4"
"installdir" "Half-Life 2"
"LastUpdated" "0"
"UpdateResult" "0"
"SizeOnDisk" "4814400070"
"buildid" "119324"
"BytesToDownload" "0"
"BytesDownloaded" "0"
"AutoUpdateBehavior" "1"
"AllowOtherDownloadsWhileRunning" "0"
"UserConfig"
{
"language" "russian"
}
"MountedDepots"
{
"233" "2213781670172576272"
"234" "488462887721122399"
"221" "1620621480783241270"
"222" "1203794117025181710"
"225" "6848981216359067484"
}
"SharedDepots"
{
"250821" "250820"
"250824" "250820"
}
}
{
"appID" "220"
"Universe" "1"
"StateFlags" "4"
"installdir" "Half-Life 2"
"LastUpdated" "0"
"UpdateResult" "0"
"SizeOnDisk" "4814400070"
"buildid" "119324"
"BytesToDownload" "0"
"BytesDownloaded" "0"
"AutoUpdateBehavior" "1"
"AllowOtherDownloadsWhileRunning" "0"
"UserConfig"
{
"language" "russian"
}
"MountedDepots"
{
"233" "2213781670172576272"
"234" "488462887721122399"
"221" "1620621480783241270"
"222" "1203794117025181710"
"225" "6848981216359067484"
}
"SharedDepots"
{
"250821" "250820"
"250824" "250820"
}
}
Привести в такой вид
"AppState"
{
"appID" "220"
"Universe" "1"
"StateFlags" "4"
"installdir" "Half-Life 2"
"LastUpdated" "0"
"UpdateResult" "0"
"SizeOnDisk" "4814400070"
"buildid" "119324"
"BytesToDownload" "0"
"BytesDownloaded" "0"
"AutoUpdateBehavior" "1"
"AllowOtherDownloadsWhileRunning" "0"
"UserConfig"
{
"name" "Half-Life 2"
"language" "russian"
}
"MountedDepots"
{
"233" "2213781670172576272"
"234" "488462887721122399"
"221" "1620621480783241270"
"222" "1203794117025181710"
"225" "6848981216359067484"
}
"SharedDepots"
{
"250821" "250820"
"250824" "250820"
}
}
{
"appID" "220"
"Universe" "1"
"StateFlags" "4"
"installdir" "Half-Life 2"
"LastUpdated" "0"
"UpdateResult" "0"
"SizeOnDisk" "4814400070"
"buildid" "119324"
"BytesToDownload" "0"
"BytesDownloaded" "0"
"AutoUpdateBehavior" "1"
"AllowOtherDownloadsWhileRunning" "0"
"UserConfig"
{
"name" "Half-Life 2"
"language" "russian"
}
"MountedDepots"
{
"233" "2213781670172576272"
"234" "488462887721122399"
"221" "1620621480783241270"
"222" "1203794117025181710"
"225" "6848981216359067484"
}
"SharedDepots"
{
"250821" "250820"
"250824" "250820"
}
}