Planetbase

Planetbase

Planetbase Workshop
Here you can download translations or challenges for Planetbase. Just subscribe to the desired item and it will appear in the game.
Learn More
Vengeance 26 Feb, 2017 @ 9:47am
Problem with up loading of new challenges
Hi, I tried following the guide to load up new challenges. However I got this reply:
Failed to load build config file "script/workshop_item.vdf"

I tried to modify exactly how is written but I don't understand what to do more. I'll copy here the text (Notice that I had also tried with the complete adress C:// ....... in both contentfolder and previewfile with NO success.

Thank you very much for help!

"workshopitem"
{
"appid" "403190" // ID for Planetbase, do not modify
"publishedfileid" "0" // Should be 0 to create a new item, or the item ID to update
"contentfolder" "..content\" // Folder where the xml files are
"previewfile" "..content\preview\preview.png" // Path for the preview image
"visibility" "0" // 0 = public, 1 = friends, 2 = private
"title" "Trappist_1b" // This will be the title of the item in the Steam Workshop
"description" "Trappist_1b" // This will be the description of the item the Steam Workshop
"changenote" "1.0" // This will appear as release notes for this version
}
< >
Showing 1-3 of 3 comments
diggidee 26 Feb, 2017 @ 10:40am 
That's invalid JSON. You need a ':' between the object declaration and the value. Also you can't have comments. Thirdly \ is a reserved character so you will have to escape it with a double slash.

{
"workshopitem": {
"appid": "403190",
"publishedfileid": "0",
"contentfolder": "..content\\",
"previewfile": "..content\\preview\\preview.png",
"visibility": "0",
"title": "Trappist_1b",
"description": "Trappist_1b",
"changenote": "1.0"
}
}

Has been validated at jsonlint.com to be valid json.

EDIT: Added the workshopitem declaration to the start of the object.
Last edited by diggidee; 26 Feb, 2017 @ 10:41am
Vengeance 27 Feb, 2017 @ 9:37am 
I tried it and validate again with JSOLINT. However still doesn't work.

Thank for the help!

{
"workshopitem": {
"appid": "403190",
"publishedfileid": "0",
"contentfolder": " C:\\Program Files (x86)\\Steam\\SteamApps\\workshop\\content\\ ",
"previewfile": " C:\\Program Files (x86)\\Steam\\SteamApps\\workshop\\content\\preview\\preview.png ",
"visibility": "0",
"title": "Trappist_1b",
"description": "Trappist_1b",
"changenote": "1.0"
}
}
Last edited by Vengeance; 27 Feb, 2017 @ 9:37am
martiño  [developer] 9 Mar, 2017 @ 5:12am 
Plz note that this is not JSON, ths is some format Valve has come up with.

Plz use the following as reference and replace the fields you require:

"workshopitem" { "appid" "403190" "publishedfileid" "0" "contentfolder" "..\content" "previewfile" "..\preview\preview.png" "visibility" "0" "title" "ITEM_NAME" "description" "DESCRIPTION" "changenote" "RELEASE_NOTES" }

I would suggest you don't touch the "contentfolder" and "previewfile" fields, just put your files there
Last edited by martiño; 9 Mar, 2017 @ 5:14am
< >
Showing 1-3 of 3 comments
Per page: 1530 50