Skip to content

Instantly share code, notes, and snippets.

@md-5
Created July 14, 2012 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save md-5/5731cf74c9204dbce377 to your computer and use it in GitHub Desktop.
Save md-5/5731cf74c9204dbce377 to your computer and use it in GitHub Desktop.
frame = 1
while true do
if movie.framecount() % 2 == 0 then
file = string.format("/dev/shm/CraftMaps/Frame%d.png",frame);
gui.savescreenshotas(file)
frame = frame + 1
end
FCEU.frameadvance()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment