Mytz_321 Posted April 23, 2019 Share 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? Link to comment Share on other sites More sharing options...
maulz Posted April 23, 2019 Share 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 Link to comment Share on other sites More sharing options...
Mytz_321 Posted April 23, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.