Mytz_321 Posted April 23, 2019 Posted April 23, 2019 Hey guys i need make myself compiler/encryptor can you help me makr this or you have a file? Can you send me?
maulz Posted April 23, 2019 Posted April 23, 2019 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 This is so basic, you can improve it by yourself
Mytz_321 Posted April 23, 2019 Author Posted April 23, 2019 1 hour ago, maulz said: 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 This is so basic, you can improve it by yourself Thx you Yay
Question
Mytz_321
Hey guys
i need make myself compiler/encryptor can you help me makr this or you have a file? Can you send me?
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.