Preparing for the OJYUKEN = VSCode + Docker + GBDK-2020
This template is the development environment template for GB.
With the combination of VSCode and Docker, GBDK-2020, you can easily start developing right away. Of course, you can also emulate your compiled GB application.
Install the following tools.
If you want to create your repository by use this template
, sign up and sign in github.
-
Open the repository on github.
https://github.com/ojyuken/vscode-remote-gb-dev -
Click
Use this template
.
Here - https://github.com/ojyuken/vscode-remote-gb-dev/generate
- Open the command prompt and run below commands.
mkdir c:\workgit
cd c:\workgit
git clone <your GitHub Code URL>
- Open the git cloned folder in VSCode.
- Install the "Remote - Containers" extension to VSCode.
- An icon for the extension "Remote - Containers" will be added to the bottom left corner of VSCode, click on that icon.
- Select "Remote-Containers: Reopen in Container" from the list.
- The Docker container will start and you will be able to develop remotely from VSCode.
GB development tools installed, /opt
.
- gbdk-2020 - /opt/gbdk
- rgbds - /opt/rgbds
Open http://localhost:8080, then select the fluxbox menu (right-click on desktop.)
You can use the following tools via noVNC:
- gameboy tile designer (gbtd)
- gameboy map builder (gbmb)
- gameboy emulator (bgb)
Also, it included gbtdg which is great for making splash images.
http://localhost:8080/gbtdg/
An example by konsumer is included, so you can build and run it.
Following commands, and then open http://localhost:8080.
cd /home/gbdev/workspace/.devcontainer/docker-gb-dev/example
make
wine /opt/bgb/bgb.exe demo.gb
You can also try the gbdk-2020 examples as well.
cd /opt/gbdk/examples/gb
Here are the tools installed in this environment:
- gbdk-2020 (Zal0 renamed to gbdk-2020)
- rgbds
- gameboy tile designer (via wine)
- gameboy map builder (via wine)
- bgb gameboy emulator (via wine)
- gameboy tile data generator (running on web)
- konsumer/docker-gb-dev (this template forked from it.)
The GB's homepage is here (Japanese).