Voxel Turf

Voxel Turf

View Stats:
Can't Post Lot Pack on Steam
I've followed all of the instructions on how to upload a lot pack including making and setting the directories, but all I get is an item on my workshop with no files, data, or information. Can someone please help me to understand why this is? I am an architect, not a coder, but I still would like to post this and future packs because I see that this game has a lot of potential for cool things, and would like to be a part of it.
< >
Showing 1-15 of 20 comments
Nikolai_Bukav 20 Sep, 2017 @ 7:48pm 
^^^^^^^ Literally having the exact same problem. Still cannot figure it out as well.
SnapperTheTwig  [developer] 20 Sep, 2017 @ 8:25pm 
Here is a working upload.txt:

# !! EVERYTHING is CASE SENSITIVE !!
# Workshop Item Id
# (set to zero to create a new workshop item, this file will be updated with the workship item id from Steam)
0
# Upload this to Steam (YES/NO). Will be set to NO after upload!
YES
# Title. This is what will be displayed on the workshop page. Must not be
(NAME)
# Directory that contains the files. Must not be "Mod_Directory_Name_Here"
(DIR NAME)
# Visibility. Must be PUBLIC, PRIVATE or FRIENDS_ONLY
PUBLIC
# Description. Use as many lines as you like. End with END_DESCRIPTION
Description here
END_DESCRIPTION
# Change log. Use as many lines as you like. End with END_CHANGES
-
END_CHANGES
# Tags. Use semicolon seperated list
# Common tags: lotpack ; graphics ; sfx ; music ; maps ; missions ; vehicles ; scripts ; weapons ; ui
lotpack
# Preview Pictures. Tag with "PICTURE ; path/to/picture.jpg" or png or gif. One per line. Only the first is used
PICTURE ; path/to/picture.jpg

All paths are relative to the upload.txt. So if your mod is called Mod and is in the upload directory replace (DIRNAME) with Mod
Nikolai_Bukav 21 Sep, 2017 @ 3:35am 
Two things. First, in trying to upload my own mod, I noticed that it saved as a "resource pack" and thus is not visible under building when I try to place it. I'm not sure as to what happened since I uploaded it as a lotpack under the Common Tags. Second, in testing out Masterglitch's mod, I noticed that I am unable to place his (cannot click to place, but see everything) even though his mod does appear under the housing section of the game. Do you know if this is a problem because of my client, the manner in which I built the building (built as industrial, saving it under (/lot save [...]), in the uploading/downloading, or something else?
SnapperTheTwig  [developer] 21 Sep, 2017 @ 3:57am 
If your directory structure is as follows:

mods/ModName/lots/packs/yourLotPackDir/
mods/ModName/lots/packs/yourLotPack.txt

It should load into the game as a [LotPack] on startup.

For a lotpack to be useable in MP both the client and the server should have it installed.
Nikolai_Bukav 21 Sep, 2017 @ 5:17am 
If you would not mind, and should you have the time, would it be possible to post some sort of a video, or a more textualized example, or a more in-depth guide on how to how to upload said lotpacks? I've had various experience uploading items to the workshop before, but I've never done something quite like this, and I do not think I'm understanding exactly for how to proceed where it will work for other players to download and utilize in their worlds.

If not, I'll keep trying what you are stating here, but I do not understand what you mean exactly for the directory part. I thought I just needed to place the Lotpack.lot file in the same directory as the mods/upload.

----

So, if I was trying to upload "House.lot", would I place the folder as this as:

Starting from the mods folder, the one with "upload folder" and "mods.txt"
mods/House/lots/packs/House.lot/

and then under the "upload.txt" file, reference as
mods/House/lots/packs/House.lot

I'm not sure what you mean by "yourLotPackDir"
Additionally, I'm not sure where the .txt file came from, so I think I missed something.

Thank you for bearing with me on this issue, I know you have a lot to manage given the development style (single dev) and newness of the game with many people asking questions right now.
Kastuk 21 Sep, 2017 @ 5:24am 
I think Dir is directory like mods/House/packs/House/House.lot
and txt is like that from lots/template/player1234/kastuk2017-9-19_12-50

# Autogenerated lot data file. Turf Version: 1.0.5
# DO NOT EDIT this file as it will modify the checksum
# You can copy paste this data to create a lot pack file. See /lots/vanilla/vanilla.txt for an example
# Hash for this lot/def file pair: a8936f83
0 ; kastuk2017-9-19_12-50 ; kastuk's Building t1 ; INDUSTRY ; 1; 1.0 ; 1.0 ; ; ; ; ; kastuk

Like that packs in lots/packs/vanilla
Last edited by Kastuk; 21 Sep, 2017 @ 5:28am
SnapperTheTwig  [developer] 21 Sep, 2017 @ 6:27am 
Originally posted by Nikolai_Bukav:
...

Your mod consists of 2 files: House.lot (the lot) and House.txt (the definition file)

It looks like this:
/mods/House/lots/packs/HousePack/House.lot
/mods/House/lots/packs/HousePack.txt

Lot packs are *packs* of lots. There's nothing wrong with making a lotpack with a singular item. This means that the .txt file will be slightly different than the one created by saving a template in-game. There is a bit of preamble that you must do to define the name of the pack, the id, etc.

House.txt:

# LotPack- the first line must contain the word "LOTPACK"
LOTPACK
#
# Lot pack name
Nikolai_Bukavs House Lotpack
# Major version id. Must be 0-255
0
# Minor version id. Must be 0-255
1
#
# Lot Pack Id string -- max 16 chars. Must be UNIQUE among lot packs
nbhouselp
# And now the definition. You can copy this form the template file
# Here I've copied the one from the post above
0 ; House ; kastuk's Building t1 ; INDUSTRY ; 1; 1.0 ; 1.0 ; ; ; ; ; kastuk

Uploading to Steam
Verify that your lotpack works. Run the client and make sure that House [LotPack] appears and you can place it in-game

Now copy /mods/House to mods/upload/House

Edit upload.txt, change the directory field to "House" (without quotes)

That *should* upload.
Last edited by SnapperTheTwig; 21 Sep, 2017 @ 6:28am
Nikolai_Bukav 22 Sep, 2017 @ 5:27am 
Well. The good news is I was finally able to get all that going, and I got it to the upload AND I was able to have the particular lot I was after appear under the Industry building section after subscribing to my mod on the workshop (since it's actually an industry building). The one single problem I have now, is that apparently the lot does not exist (i.e. no physical building to place, nor monetary description of base lot nor income expenses. The file works, and uploaded like clockwork, but there was no entity to be placed, which might be that I copied the define file in a weird way. I am so close to figuring this out now. Thank you. :steamhappy: This thread has been super useful so far!
SnapperTheTwig  [developer] 22 Sep, 2017 @ 5:38am 
I've spotted the bug and was hoping to fix it before anyone else has :P

The current problem is that the steam does not tell the server that workshop items exist (despite the code being the same on client/server). I think that steam prohibits two applications simultaneously accessing workshop data. I'm currently (like right now) implementing a solution that means the client loads up the mods and then tells the server where they are on your disk.

Also during the weekend I will have a crack at making an in-game mod loader as this upload.txt business is proving difficult.
SnapperTheTwig  [developer] 22 Sep, 2017 @ 6:14am 
Server not loading lotpacks via Steam Workshop fixed internally for 1.0.10:
https://i.imgur.com/mAQYhd0.jpg
Nikolai_Bukav 22 Sep, 2017 @ 6:28am 
You the Real MVP, Snapper. Your Dev Game is on point! An ingame Mod Loader sounds excellent. You're definitely going to see an explosion in workshop content. Keep up the great work! And again, thank you for all your help and work on this issue.
I noticed this problem too, thanks for fixing it Snapper!
SnapperTheTwig  [developer] 23 Sep, 2017 @ 4:50am 
1.0.10 is live, your lotpacks should all be working fine now.
Nikolai_Bukav 27 Sep, 2017 @ 1:59pm 
Ok Snapper... One more small thing I've noticed, and then I think we can finally finish this issue. I've been able to get the lotpack to upload to Steam, and sure enough I've gotten it to where it recognizes something is there. But you know how there is a 3D animation that shows the building you wish to place? My building is non existent from a placeable P.O.V., and states as follows:

Cost $0.00
Profit Potential $0.00

while also showing a black screen where the spinning animation would be. When I try to place it, there is no entity capable of being placed. Even after subscribing to it (my own mod, I know), upon loading the game from Steam, the game recognizes the following:

" [LotPack]" with a blank at the beginning.

Where might I be messing this part up, or what may be the cause of this issue?
SnapperTheTwig  [developer] 27 Sep, 2017 @ 5:22pm 
Its not finding the .lot file. Check your filenames.

" [LotPack]" - this seems very odd - its like the client can't find the directory. What is the directory structure?

Could it just be the usual workshop first-run-newly-installed-item wonkyness? Try starting the game a couple of times
< >
Showing 1-15 of 20 comments
Per page: 1530 50