Difference between revisions of "Talk:Nintendo"

From WebOS Internals
Jump to: navigation, search
(New page: --~~~~ Have this working from Terminal app using nohup, but no key mappings... Create a script /usr/local/bin/nes export SDL_VIDEODRIVER='directfb'<br> ROM=$1 # path/filename to NES rom...)
 
(Removing all content from page)
Line 1: Line 1:
--[[User:Xorg|Xorg]] 02:55, 29 November 2009 (UTC)
 
  
Have this working from Terminal app using nohup, but no key mappings...
 
 
Create a script /usr/local/bin/nes
 
 
export SDL_VIDEODRIVER='directfb'<br>
 
ROM=$1 # path/filename to NES rom<br>
 
nohup nes2 $1 &<br>
 
 
Create a script /usr/local/bin/nes2
 
 
ROM=$1<br>
 
/sbin/initctl stop LunaSysMgr <br>
 
fceux --keepratio 1 --sound 0 --bpp 8 $ROM <br>
 
/sbin/initctl start LunaSysMgr <br>
 
 
 
Run 'nes' with path to NES ROM from Terminal app.  The nohup will keep nes2 script alive when the Terminal app is killed since Luna is stopped.  When you quit the game, Luna will restart.
 
 
But you can't setup key mappings from the Terminal app.  Is there a way to load key mappings through a config file or hard code keys for webOS?  I'm not too familiar with fceux.
 

Revision as of 07:44, 29 November 2009