SkillAgentSearch skills...

DirToRBXM

Creates a RBXM file from a given dir. Converts all directories to models and .lua files to Scripts.

Install / Use

/learn @jobro13/DirToRBXM
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DirToRBXM

DirToRBXM is an utility to unpack roblox model files (XML files) to a directory. The directory can also be packed again.

The functionality is as following:

The Folder ClassName will be exported as a directory. Any Scripts, LocalScripts or ModuleScripts will be exported as .lua files. (Note that a Model classname is inappropriate here, as it has a PrimaryPart field. Folders must be used!)

Any other ClassName will be exported as a text file. Any scripts in those are not saved.

Any .lua files will get an extra last line: --cname where cname is the classname of the .lua file. If this --cname line is NOT present or the field is incorrect, a Script will be inserted.

It is allowed to have Scripts inside other Scripts (of any classname) The contents will be put into a directory called ScriptName.contents

USAGE

lua DirToRBXM.lua MODE SOURCE TARGET Mode: unpack / pack unpack will try to unpack a roblox XML file pack will try to pack a directory to a roblox XML file

SOURCE: source file TARGET: target file or directory

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated1y ago
Forks0

Languages

Lua

Security Score

55/100

Audited on Oct 22, 2024

No findings