Login
Remember
IF Answers
Ask a Question

# Alternative ways to interact with I7 stories?

+2 votes
66 views
asked Jun 30 in Playing by nispio

I would like to be able to take existing I7 stories, and play them outside of the standard I7 GUI. The primary motivation for this is that I would like to integrate an I7 story into a chat bot. This would allow myself and some friends to play the story together over chat.

I already have a chat bot which I have written in python. I would like to be able to feed text input to I7 and have it return the response as text. Any suggestions on which tools from the I7 toolset apply to me, or where I might start?

- inform7
- python
- interpreters

## 1 Answer

+1 vote
answered Jun 30 by Dannii (329 points)

The way to go would be to use RemGlk I think: http://eblong.com/zarf/glk/remglk/docs.html

You would use a VM compiled with it as the Glk library, and it gives you JSON access which you can use however you like.

commented Jun 30 by nispio (1 point)
Thanks, this is the kind of thing I was looking for. (I can't seem to upvote or accept the answer, even after registering.)

## Related questions

- Can I export / translate an adventure written with I7 to TADS?
- Does the offline Quest interpreter offer any features to players that online play does not?
- Can Parchment or Quixe run a story file from a Dropbox link?
- Who is the author of sample project 'Onyx' which comes with the Inform7 desktop client?
- Can I supply my own CSS to the gs.tads.io server / interpreter?

...