You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
localfunctionisCodeTree(instance: roblox.Instance)
localtoCheck=instance:GetDescendants()
if#toCheck==0thenreturnfalseendtable.insert(toCheck, instance)
for_, descendantinipairs(toCheck) do-- If this descendant is not a lua script...ifnotisLuaSourceContainer(descendant.ClassName) then-- If it's a folder, recurse (unless for some reason we are our own grandfather)ifdescendant.ClassName=="Folder" then-- If our child is not a code tree, we are not a code tree :(ifdescendant~=instanceandnotisCodeTree(descendant) thenreturnfalseendelsereturnfalseendendendreturntrueend
The text was updated successfully, but these errors were encountered:
This project seems abandoned, but some notes in case a future traveler lands here trying to get a nice unpacking script for lune
isCodeTree
function, it's slower than it was before (and is now recursive) but it understands better empty folders:The text was updated successfully, but these errors were encountered: