Application:Gnuboy

From WebOS Internals
Revision as of 07:26, 30 November 2009 by Dudestatus (talk | contribs) (→‎Setup:)
Jump to navigation Jump to search

Setup:

1. Setup Debian.

2. Setup DirectFB. Some program specific notes about the directfbrc config file:

mode=320x480
primary-layer=00
pixelformat=RGB16  #This needs to be changed from ARGB to RGB16 for accurate color emulation.
no-vt
no-cursor
bg-color=00000000
hardware

3. Run, outside the chroot:

<source lang="text">/sbin/initctl stop LunaSysMgr #NOTE: THIS WILL KILL THE GUI</source> 4. Run, inside the debian chroot: <source lang="text"> apt-get install -y gnuboy-sdl </source>

Run:

Get into the Debian chroot: <source lang="text"> export SDL_VIDEODRIVER="directfb" export SDL_NOMOUSE=1 sdlgnuboy --scale=2 --density=2 --bind q quit --bind u +up --bind h +left --bind k +right --bind j +down YOURROMFILE.GB </source>

Notes

  • You will have to unzip your gameboy rom in order to work with gnuboy
  • Mappings for the gameboy start and select buttons are not specified in the program launch parameters, but the defaults are enter for start and space for select.

Video

Video on Viddler