Merge pull request #105 from chrox/master

add ffi KOPTContext module
ev_replay.py: update emu_event path to /tmp/emu_event
Merge pull request #106 from houqp/houqp-master

ev_replay.py: update emu_event path to /tmp/emu_event
add writing direction option in koptcontext