Difference between revisions of "Application:Gnuboy"

From WebOS Internals
Jump to navigation Jump to search
Line 37: Line 37:
 
* You will have to unzip your gameboy rom in order to work with gnuboy
 
* 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.
 
* 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.
* If sound is not working for you, try installing the package libsdl1.2debian-all in your debian chroot.  To disable sound in the emu, put --sound=0 as a launch parameter.
+
* If sound is not working for you, try installing the package 'libsdl1.2debian-all' in your debian chroot.  To disable sound in the emu, insert --sound=0 as a launch parameter.
 
* Playability in this emulator is excellent.  Gameboy and Gameboy Color games run at full speed.
 
* Playability in this emulator is excellent.  Gameboy and Gameboy Color games run at full speed.
  

Revision as of 14:14, 30 November 2009

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 gameboy 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.
  • If sound is not working for you, try installing the package 'libsdl1.2debian-all' in your debian chroot. To disable sound in the emu, insert --sound=0 as a launch parameter.
  • Playability in this emulator is excellent. Gameboy and Gameboy Color games run at full speed.

Video

Video on Viddler