Giter Club home page Giter Club logo

rostar's Introduction

Rostar logo

Rostar

Dead simple fully managed Rojo helper for Roblox projects

Description

Rostar is a command-line tool that unpacks/packs Roblox place files (rbxl/rbxlx) into model files and .lua scripts in the filesystem, for use with Rojo. It is useful to both developers that prefer Roblox Studio, but also to Rojo users that would like a fully managed workflow without a hassle.

Documentation

https://tacheometry.github.io/Rostar

rostar's People

Contributors

dionysusnu avatar mrchickenrocket avatar pyseph avatar tacheometry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rostar's Issues

Some notes on script extraction

This project seems abandoned, but some notes in case a future traveler lands here trying to get a nice unpacking script for lune

  • Asking to not extract lua extracts the scripts into roblox model files... Not really what I expected ๐Ÿ˜…
    • The best way to actually not extract the lua files, is to keep the flag in true but stub the writeFile function
  • Empty folders are often confused with code folders, I "fixed" the isCodeTree function, it's slower than it was before (and is now recursive) but it understands better empty folders:
local function isCodeTree(instance: roblox.Instance)
	local toCheck = instance:GetDescendants()
	if #toCheck == 0 then
		return false
	end
	table.insert(toCheck, instance)
	for _, descendant in ipairs(toCheck) do
		-- If this descendant is not a lua script...
		if not isLuaSourceContainer(descendant.ClassName) then
			-- If it's a folder, recurse (unless for some reason we are our own grandfather)
			if descendant.ClassName == "Folder" then
				-- If our child is not a code tree, we are not a code tree :(
				if descendant ~= instance and not isCodeTree(descendant) then
					return false
				end
			else
				return false
			end
		end
	end
	return true
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.