Giter VIP home page Giter VIP logo

docker-gb-dev's Introduction

This is a docker-based full toolkit for developing gameboy games.

screeenshot

All you need is docker, and it should run on any OS:

mkdir work
docker run --name='gb' --rm -it -p 8080:8080 -v "${PWD}/work:/home/gbdev" gb

Then open http://localhost:8080

A bunch of tools are installed, with an X-windows server, that runs VNC. It's got fluxbox and some windows tools setup with wine.

/home/gbdev is meant to be your working directory, as you are logged in as gbdev. This helps with permissions on mac/linux, as it makes it all run as user-1. In the above docker run example, I am volume-mounting it to a dir work/, so I can compile stuff in that dir. You can mount it however you like, though.

Some useful things to do:

# run text-mode bash inside container
docker exec -it gb bash

## inside container

# run BGB Gameboy Emulator
wine /opt/bgb/bgb.exe

There is also GBDK/RGBDS installed in /opt, so you can use those in your makefiles. I also added some of these tools to the fluxbox menu (right-click on desktop.)

If you want to try it out, put the example/ dir in your work folder, and run this:

docker run --name='gb' -d --rm -p 8080:8080 -v "${PWD}/work:/home/gbdev" gb
docker exec -it gb bash
cd example
make
wine /opt/bgb/bgb.exe demo.gb
docker kill gb

more info

Here are the tools installed in your environment:

docker-gb-dev's People

Contributors

konsumer avatar rcarraretto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.