Skip to content

Instantly share code, notes, and snippets.

@x4fx77x4f
x4fx77x4f / digidumper.lua
Last active October 6, 2020 20:56
clientside Lua script to save Wired Digital Screens to PGM/PPM files
local mem = LocalPlayer():GetEyeTrace().Entity
if mem then
mem = mem.Memory1
end
if not mem then
print("either there is no entity or the entity has no memory")
return
end
local width = mem[1048573] or 0
local height = mem[1048572] or 0