Map saving first pass

This commit is contained in:
2025-09-18 17:01:10 -05:00
parent a45a2a5bd7
commit 2f40724258
22 changed files with 355 additions and 24 deletions

View File

@@ -2,9 +2,14 @@ import os
import sys
from args import args
from assethelpers import getAssetRelativePath
from assetcache import assetGetCache, assetCache
def processConfig(asset):
assetPath = asset['path']
cache = assetGetCache(assetPath)
if cache is not None:
return cache
print(f"Processing config: {assetPath}")
# Takes each line, seperates it by either semicolon or newline,
@@ -41,4 +46,4 @@ def processConfig(asset):
outConfig = {
"files": [ outputFilePath ],
}
return outConfig
return assetCache(assetPath, outConfig)