Sync offscreen movement like that?
look at the plant in the top and bottom part of the map
http://img576.imageshack.us/img576/5357/smwwipoffscreensync.png
basically it was created with a "camhack" video: I recorded a "normal" capture, and a "camhack" capture where I let the camera jump to the farest right position possible.
sorry, the picture is a bit too large... The source code for this video is 140 lines, a bit too long to post it right here... The source code for the "camhack" part is a bit shorter, see here:
s = savestate.create()
while(true) do
savestate.save(s)
camxpos = memory.readshort(camX)
camypos = memory.readshort(camY)
xpos = memory.readshort(charX)
ypos = memory.readshort(charY)
snes9x.frameadvance()
gui.register(gui.text(0,0,string.format("original frame %i (after save)",emu.framecount())))
function camhack(x,y)
memory.writeshort(camX, x)
memory.writeshort(camY, y)
snes9x.frameadvance()
gui.text(0,0,string.format("%i, %i",x,y))
snes9x.frameadvance() --required for video capture
savestate.load(s)
end
camhack(xpos,camypos) --math.max(0,ypos))
camhack(math.max(0,xpos - 240), camypos) --math.max(0,ypos))
--camhack(xpos,math.max(0,ypos - 200))
--camhack(math.max(0,xpos - 240), math.max(0,ypos - 200))
memory.writeshort(camX, camxpos)
memory.writeshort(camY, camypos)
snes9x.frameadvance()
gui.register(gui.text(0,0,string.format("original frame %i",emu.framecount())))
end
MOD EDIT: Removed overly large picture in favour of image link. Don't place very wide images in posts.