rojo-rbx / rbxlx-to-rojo

Tool to one time convert Roblox places to Rojo projects
Mozilla Public License 2.0
174 stars 35 forks source link

line 1, column 0: 1:8 Unexpected token inside qualified name: ! #40

Closed Cobertos closed 3 years ago

Cobertos commented 3 years ago

Moved from rbx_xml to this repo. https://github.com/rojo-rbx/rbx-dom/issues/157

Roblox Studio version: 0.459.2.415937 (64bit) OS version: Windows 10 Build 19041

I tried downloading a place (through Roblox Studio's "Download a Copy...") and converting it, but it isn't able to finish decoding the .rblx file.

Here's the output:

$ C:\Users\cobertos\Downloads\rbxlx-to-rojo.exe jeff-gaming-3-rojo.rbxl
[2021-01-05T05:08:00Z INFO  rbxlx_to_rojo] rbxlx-to-rojo 0.1.0
[2021-01-05T05:08:00Z INFO  rbxlx_to_rojo] Select a place file.
[2021-01-05T05:08:00Z INFO  rbxlx_to_rojo] Opening place file
[2021-01-05T05:08:00Z INFO  rbxlx_to_rojo] Decoding place file, this is the longest part...
An error occurred while using rbxlx-to-rojo.
While attempting to decode the place file, at line 1, column 0: 1:8 Unexpected token inside qualified name: ! rbx_xml didn't know what to do

Here's the file I couldn't decode:

jeff-gaming-3-rojo.zip

Cobertos commented 3 years ago

Oh, I see, the issue was that I was using a .rbxl and not an .rbxlx, as specified in the README.

Had to choose a different file format when saving: image

Maybe it needs a more helpful error? Otherwise this can be closed.