Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local f = io.open("os.lua", "r")
- local dat = f:read("*a")
- f:close()
- f = io.open("os.img", "w")
- f:write(string.char(#dat & 0xFF, #dat >> 8))
- f:write(dat)
- f:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement