Jump to content
  • 0

Give me compiler


ZTzTopiaa

Question

1 answer to this question

Recommended Posts

Compiler:

while true do

local sel = gg.prompt({"Select file:"}, {gg.getFile()}, {"file"})

if not sel then break

else

local file = loadfile(sel[1])

if file ~= nil then

local out = sel[1] .. ".bin"

local test = io.open(out, "w") test:write(string.dump(file, true))

test:close()

gg.alert("Success!\nFile saved: "..out)

break

else

gg.alert("Cannot load file!")

end

end

end

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.