Here you guys go since some of you were going confused, and because this doesnt seem to be very well explained by the Hifi Devs for the marketplace tutorial (or well, the exporting of the json files wasnt, everything else was nail on), and wasnt explained to me either, but I got this out through reverse engineering and putting one or more things together from the Alpha days. Since I am sorta of a Pathfinder and cutting down the jungle, here is clear, but non-linear way:
" *.svo.json" or just “json” is the save entity export format. " *.svo.json" arent actually required in that form anymore, as that was a bug. Its a format used for backing up Entities on the sandbox (Domain, or Stack Manager). However, to avoid any issues that you may have, we will keep on using .svo.json as the example.
You can now just submit .json entity files. instead, but you will have to mod them for the marketplace submissions:
To Create one, there are a few ways, This is just one of them:
- Open up a separate browser window to the marketplace and login to prep for upload.
- Return back to High Fidelity, goto Settings > Developer Settings and make sure it is ticked.
- In Edit mode (with edit.js), select your entity:
- Now press edit tab on the top of the window, and click export entity
- This opens a file browser which you can use to navigate to your asset and save there. name it anything ending with .svo.json
- Open the marketplace, and upload your assets there, *with the exception of the .svo.json file. This is as accordance to the tutorial, follow it, until the point you are
Next, we will have to update the paths to the marketplace urls.
##This is unless you are already using the marketplace urls in your entity.
If you already do before the export step, and its not using your own file system or your own servers, you can skip steps 6-8
Open the .svo.json file in your favorite text editor.
With the marketplace open on a browser window, replace the assets referred in each step with their corresponding assets:
6 - Simply click on the asset you want to copy the url to on the list, then scroll down to the bottom of the list where you see Copy URL button, press it.
7 - Return back to the file: Depending on the asset you just copied, replace the path/url of that reference. Repeat 6 and 7 until you have all the asset references replaced in the *.svo.json to the marketplace hosted versions of themselves
You may have to do the same thing in your scripts, unless you used Script.relativePath helper and kept your folder structure the same.
8 - Save when done. *Now you can upload the .svo.json file and follow the rest of the marketplace tutorial, and submit the entity to review
https://blog.highfidelity.com/blog/2016/7/8/host-your-content-for-free and set the *.svo.json file into the main file.
You can the test it in works in world, even before it is submitted for review by Opening the marketplace in world:
and pressing the My Items under your profile dropdown. You can then select your Marketplace item, and then press get Item to see if it spawns in the world.