Talk:Nintendo

From WebOS Internals
Revision as of 19:55, 28 November 2009 by Xorg (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

--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'
ROM=$1 # path/filename to NES rom
nohup nes2 $1 &

Create a script /usr/local/bin/nes2

ROM=$1
/sbin/initctl stop LunaSysMgr
fceux --keepratio 1 --sound 0 --bpp 8 $ROM
/sbin/initctl start LunaSysMgr


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.