Skip to content

zsnmwy/steam-acf2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Acf To Json

Function

  • decode(acfString)
const acfParser = require('steam-acf2json')
const fs = require('fs')

const testFile = fs.readFileSync('appworkshop_322330.acf', 'utf-8')
const decode = acfParser.decode(testFile)

console.log(JSON.stringify(decode, null, 2))
  • encode(obj)
fs.writeFileSync('test.acf', acfParser.encode(decode))
$ md5 appworkshop_322330.acf    
MD5 (appworkshop_322330.acf) = 6b8ef4994155e102b7f7c92361d34457

$ md5 test.acf              
MD5 (test.acf) = 6b8ef4994155e102b7f7c92361d34457

About

A parser for Steam's appmanifest .acf files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published