Using Asset Delivery API To Get rbxlx Copy Of game?

I want to download a .rbxlx format copy of my game, the reason I am not using studio for this is because there has been a bug that isn’t letting me open the game since morning. I don’t think its happening to all games either, and im not really sure about that.

I have already summited a bug report for this, but for the time being I wanted to open it up on Visual Studio using Rojo and continue work on it.

I figured out that asset delivery api can be useful here? I tried calling this URL:
https://assetdelivery.roblox.com/v1/asset/?ID=placeId

But it doesn’t really deliver the rbxlx file, so how am I supposed to download the rbxlx version of it? Or is there another way to do this?

1 Like

There’s no XML version (rbxlx) of the file because it was uploaded as binary (rbxl). You might be able to download the binary file from the asset delivery API, then open it in Studio locally from the file system.

If that still doesn’t work, you could try a 3rd-party tool to convert it to XML or some other format. I don’t know for sure, but Rojo may let you convert the file itself to a Rojo project. There’s also remodel, which may be able to convert it to XML.

I also have a CLI tool called rbxmk that can do much of the same:

# Convert 'place.rbxl' to 'place.rbxlx'
echo 'fs.write("place.rbxlx", fs.read("place.rbxl"))' | rbxmk run -
7 Likes

just rename the file with .rbxl

1 Like

is there a new API for this now with Cloud API? I couldn’t find it on the doc site… :grimacing:

1 Like