Skip to content

Docker Build Instructions #278

Open
Open
@duganchen

Description

@duganchen

I'd add this to the wiki myself, but I don't have edit access. Anyway, I just wanted to contribute instructions to use Docker to make a Steam Deck-compatible build:

You start with a Dockerfile to build an image that has the build dependencies:

FROM ubuntu:latest

RUN apt-get update && apt-get install build-essential libsdl2-dev python3-yaml python3-pil -y

You build said image:

docker build -t zelda3build .

You start a container from the image, bind-mounting the source directory (with zelda3.sfc) into it as you do so:

docker run -it --rm --mount type=bind,source=/home/dugan/Documents/zelda3,target=/zelda3 zelda3build

Now, running the container, you build the executable, and exit:

cd /zelda3
make
exit

The resulting executable works on a Steam Deck. I checked. The overlay works too, so you can, say, create radial menus to load and save snapshots. You then copy zelda3, zelda3.ini, and zelda3_assets.dat to some directory on your Steam Deck, and then add the zelda3 executable to Steam as a non-Steam game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions