Skip to content

kirbysayshi/yoda-stories-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yoda-stories-docker

Run the classic 1997 LucasArts game Yoda Stories via Docker. This means running this old, Windows-only game, on Linux and Mac!

Note: I haven't tested this on Linux, but... it's Docker.

As of 2019, this doesn't work anymore due to who knows what. But wine has actually become pretty easy to get running these days (copy/paste the following into a terminal):

brew install wine
curl -L -O https:/kirbysayshi/yoda-stories-docker/raw/master/docker/yoda-stories.tgz
tar -xvf yoda-stories.tgz
cd Yoda
wine YODESK.EXE

Requirements (Mac)

  1. XQuartz (http://xquartz.macosforge.org/landing/)
  2. Docker (https://docs.docker.com/installation/mac/)
  3. socat (http://linux.die.net/man/1/socat) (via Homebrew http://brew.sh/)

Usage (Mac)

  1. Clone this repo
  2. Start XQuartz
  3. In X11 preferences, check both boxes under the "Security" tab
  4. in a terminal: ./start.sh

The manual steps are basically:

  1. Tell socat to forward from a socket to XQuartz: socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
  2. Build this Docker image
  3. Start the container: docker run -e DISPLAY=$(ipconfig getifaddr en1):0 -i -t kirbysayshi/yoda-stories-docker

This repo comes with the Yoda Stories files. It's a secret to everybody.

Usage (Linux)

  1. docker run -i -t github.com/kirbsayshi/yoda-stories-docker

Notes

Sound doesn't work at the moment. It might on Linux with some effort, such as forwarding the sound devices with -v /dev/snd or sending the audio over a socket.

Inspiration / Thanks

The X11 forwarding came from this excellent tutorial

Which seem to come from this GH comment:

Thanks to Zachtronics for an excellent article that reminded me of this game: http://www.zachtronics.com/yoda-stories/

Thanks to LucasArts for making this game that is a memorable part of my childhood, and was definitely ahead of its time. Have you all seen how many rogue-like-likes are around these days!?

About

Run Yoda Stories in a Docker container on Mac or Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published