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.
了解更多
Vengeance 2017 年 2 月 26 日 上午 9:47
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
}
< >
正在显示第 1 - 3 条,共 3 条留言
diggidee 2017 年 2 月 26 日 上午 10:40 
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.
最后由 diggidee 编辑于; 2017 年 2 月 26 日 上午 10:41
Vengeance 2017 年 2 月 27 日 上午 9:37 
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"
}
}
最后由 Vengeance 编辑于; 2017 年 2 月 27 日 上午 9:37
martiño  [开发者] 2017 年 3 月 9 日 上午 5:12 
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
最后由 martiño 编辑于; 2017 年 3 月 9 日 上午 5:14
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50