Skip to content

Asset Bundles Conversion

Mikhail Agapov edited this page Nov 8, 2023 · 4 revisions

Explorer Alpha fully relies on the existence of Asset Bundles for each world/realm: it does not work directly with GLTF due to performance reasons.

Service Side

At the moment the only way to launch the conversion for the "fixed" world (such as SDK7 Streaming World that is used for testing) is to do it manually. We have separate instance to perform the conversion for windows and mac.

Apart from the existing scripts in OPSCLI a new one was introduced to read from /about endpoint and launch the conversion for every scene listed there.

In order to launch it from the command line (from the local machine) use the following snippet:

npx @dcl/opscli queue-ab-conversion-about \
  --token <ACCESS_TOKEN> \
  --about-url https://sdk-team-cdn.decentraland.org/ipfs/goerli-plaza-main/about \
  [--ab-server https://asset-bundle-converter.decentraland.org]

E.g. for windows:

npx @dcl/opscli@latest queue-ab-conversion-about \ 
   --token <ACCESS_TOKEN> \
   --ab-server https://asset-bundle-converter-windows.decentraland.org/ \
   --about-url https://sdk-team-cdn.decentraland.org/ipfs/streaming-world-main/about \

⚠️ As the token should not be publicly exposed it can't be shared here: please ask in Slack if such necessity arises.

All other APIs are still valid for Explorer Alpha, the only extra thing needed is to specify --ab-server to point out either windows or mac conversion.

Unity Side

Empty Scenes Conversion

Clone this wiki locally