g0blin Bringing together art & technology

23Nov/101

MCPipe, Minecraft bridge

As an experiment, I decided to see if I could put together an intermediary for an indy-game that has been growing in popularity recently - Minecraft. This intermediary would act as a bridge between the Server and Client, extracting data from the packets and passing them on.

14Oct/100

Breaking out of subprocess

While creating a wrapper for the Mincraft server, I came across a small problem. In order to execute the JAR file from within the Python script I needed to fire it up as a subprocess. Unfortunately, Python kills off subprocesses automatically before closing itself (I'm not sure if this is infact the default behaviour of Python or a behaviour caused by using the CherryPy library). This would not do - Power to the Process!