rojo-rbx / rbxlx-to-rojo Goto Github PK
View Code? Open in Web Editor NEWTool to one time convert Roblox places to Rojo projects
License: Mozilla Public License 2.0
Tool to one time convert Roblox places to Rojo projects
License: Mozilla Public License 2.0
I'm getting this error when opening rbxlx-to-rojo.exe:
The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.
I attempted to execute rbxlx-to-rojo
on RLVP.zip from the .exe
build for version 0.1.0; I didn't previously install Rojo or Rust. From what I could collect, the command-line interface manages to correctly locate the file I intend to extract from, and correctly parses the serialised XML to a point. The full console output (run on a Bash emulator for Windows) is as follows:
$ ./rbxlx-to-rojo.exe rlvp.rbxlx
[2020-02-28T18:53:41Z INFO rbxlx_to_rojo] rbxlx-to-rojo 0.1.0
[2020-02-28T18:53:41Z INFO rbxlx_to_rojo] Select a place file.
[2020-02-28T18:53:41Z INFO rbxlx_to_rojo] Opening place file
[2020-02-28T18:53:41Z 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 3231, column 6: Unknown property type 'Faces' rbx_xml didn't know what to do
Moved from rbx_xml
to this repo. rojo-rbx/rbx-dom#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:
After I select a folder, it returns this error:
thread 'main' panicked at 'can't create default.project.json: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }', src\libcore\result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Is this a normal error or did I do something wrong?
The "rbxlx-to-rojo" only convert game's scripts into Rojo. I would like to convert the instances in my game such as Model, Part, etc into Rojo, too. Is it possible for "rbxlx-to-rojo" to do that?
Closes as soon as you choose a place file and doesn't do anything
EDIT: forgot to mention it worked perfectly earlier
Hello, I am trying to convert a fairly big game and keep getting the same error.
Here is a screenshot:
I have looked at the other person that had the same problem but it seems as though he fixed the problem by reenabling scripts, but I don't have any disabled scripts.
Any and all help is appreciated!
While keeping in spirit with #10, rbxlx-to-rojo as a library introduces the possibility of a simple GUI application, which is better than CLI for introducing developers to Rojo.
Building the file took seconds and the only error was: Unknown value type name "OptionalCoordinateFrame" in Roblox XML model file. Found in property Workspace.WorldPivotData.
https://github.com/berezaa/minershaven/tree/master/src
For the README.
cannot find instruction how to use the tool, could we add some?
Hi, I recently wanted starting working with Rojo, I already have a game where I code an plugin, but for some strange reasons the rbxlx-to-rojo isn't accurately porting my game to rojo. What I should see:
And what I see:
I understand the rbxlx.lock file and the rojo file, but where is the default.project.json file? I don't see it and I don't know what should be there, so any idea whats happening?
While I was importing, I only selected one place file and the target folder, and I don't see any errors. Then, my place has some scripts: In my Workspace and in my StarterGui, so the bug that occurs when I don't have any scripts shouldn't occure. What's the problem?
Suggestion from LPGhatguy that I've always wanted, but is now possible with meta files.
Part of #8?
When I tried using rbxlx-to-rojo on my game, (which I downloaded directly from the roblox website) it only extracted one folder from the workspace and nothing else. Is this a bug or just me being dumb and not doing something right?
This can be done by either having everything return Result<_, E>
or by capturing panics.
I ran:
cargo install --git https://github.com/rojo-rbx/rbxlx-to-rojo
After compilation, the terminal had this output:
no binaries are available for install using the selected features
I'm assuming this isn't expected behavior? There doesn't seem to be an executable provided for macOS in the releases, otherwise I would just use that.
Personally, I'm not familiar with rust, so please forgive me if I made a silly mistake here.
The following Roblox structure:
Thing <MeshPart>
L Code <ModuleScript>
CANNOT be represented totally through Rojo and be able to live sync--scripts can't set MeshPart IDs. As in, an init.meta.json
with this:
{
"className": "MeshPart",
"properties": {
"MeshId": "rbxassetid://12345678"
}
}
...will error. However, I just learned that if you don't have properties set at all, then it will live sync and preserve the mesh ID.
This got me thinking--the workflow of rbxlx-to-rojo consumers at this point is aimed to be kept mostly in Studio (with only scripts being synced in, service properties not being written, etc ). So maybe properties just shouldn't be set at all?
After latest Roblox update, Studio version: 0.473.0.420291
rbxlx-to-rojo no longer works and returns this error:
An error occurred while using rbxlx-to-rojo.
While attempting to decode the place file, at line 65, column 3: Unknown property type 'OptionalCoordinateFrame' rbx_xml didn't know what to do
Looks like Roblox may have added an additional property that the decoder doesn't like.
While it might not be good all the time, for simple stuff .model.json
should be preferred.
The video below shows what happened:
As you can see, after running rbxlx-to-rojo, it didn't create default.project.json, and some scripts in my game weren't appear in the folder.
Workspace.CurrentCamera notably, but solution will be extendable.
By default, rbxlx-to-rojo wants to make it as easy as possible for new developers to enter the world of Rojo. However, this has some consequences.
I don't want rbxlx-to-rojo to be only for making Rojo accessible, I want it to be a tool power users use as well who know all the intricacies of Rojo and won't get confused by clobbering and whatnot. Thus, there should be settings for every cut rbxlx-to-rojo makes to ensure accessibility. Probably even presets.
Don't even attempt to make one of them, just warn the user about it and move on.
Once I run rbxlx-to-rojo, a dialog pops but I can't navigate through folder neither select any file.
The Finder Dialog list's everything alright, although like I said I can't click in anything.
Hi, i am trying to us it on a fairly big project that has a rbxlx file size of 48973KB and it fails each time with incomplete export.
I run it with RUST_BACKTRACE=1 and i got this:
[2020-03-31T10:51:33Z INFO rbxlx_to_rojo] rbxlx-to-rojo 0.1.0
[2020-03-31T10:51:33Z INFO rbxlx_to_rojo] Select a place file.
[2020-03-31T10:51:42Z INFO rbxlx_to_rojo] Opening place file
[2020-03-31T10:51:42Z INFO rbxlx_to_rojo] Decoding place file, this is the longest part...
[2020-03-31T10:53:17Z INFO rbxlx_to_rojo] Select the path to put your Rojo project in.
[2020-03-31T10:53:20Z INFO rbxlx_to_rojo] Starting processing, please wait a bit...
thread 'main' panicked at 'can't write folder: Os { code: 123, kind: Other, message: "The filename, directory name, or volume label syntax is incorrect." }', src\libcore\result.rs:997:5
stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21: BaseThreadInitThunk
22: RtlUserThreadStart
Please help! I've been watching a tutorial on how to set up rojo, one of the steps is to open this file and when i open it i just get a text edit with a bunch characters and stuff, i am on catalina os fyi
I was exporting my roblox project to rojo using the .exe file provided, but every time i launch the program and i select my game project, the program stops at "Decoding file"
Why ?
That way, we don't have very weird looking diffs for small changes.
.meta.json allows for things like supporting scripts inside tools. Very useful.
Please help me
I downloaded the file and double clicked but it didn't open and returned an error.
I also tried running in terminal(./rbxlx-to-rojo) but it said "command not found".
HELP ME PLEASE ;-;
OS: MacOS Big Sur
A lot of people might have things such as vehicles with scripts inside, which are so far problematic for Rojo. Instead of trying to stomp out all these cases, focus should instead be put on incremental integration, such as only converting ServerScirptService, and slowly moving over from there.
Hello, whenever I try to convert my rbxlx file, it says "decoding file" and then closes itself soon after with no error. I tried replacing optionalcoordinates with grep to no avail.
Im on a windows 10 machine
Hello, so I tried using this for my main game and it only partially works. I don't get any errors when running the .exe.
It skips over a lot of scripts, and almost every modulescript isn't included. Also, for this particular place, a default.project JSON file is never created. I tried it out on a different game of mine and it worked just fine -- every script was included and everything worked as intended. It just seems that for this one place, certain files are not created.
Could it have something to do with the file size? It's about 50,000 kilobytes. Smaller files work without any problems.
If you need any more information for debugging or correcting any mistake that I might be making, let me know. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.