2010-04-08, 17:54
zosky Wrote:your welcome freestyler3000
__________
this may be a corner case, but im going to share in case any1 else is in the same boat... am using HDMI sound. the TV volume is at ~80% and this makes for great sound levels when xbmc's vol is around the same place. PROBLEM IS, all the EMUs are WAAAAY LOAD. (i've probably gone a little deaf from forgetting to turn down the TV before launching and i've woken up my flat-mate a few time now )
here's how i've 'fixed' the volume issue
- make a launcher.sh for leo's launcher
adjust volume as you see fit
Code:amixer -c 0 sset PCM,0 [color=Red]20%[/color]
$@
amixer -c 0 sset PCM,0 100%- rejig <application> & <args> in each <launcher>
within the ~/.xbmc/userdata/plugin_data/programs/Launcher/launchers.xml
Code:<launcher>
<name>SNES</name>
<application>/path/to/launcher.sh</application>
<args>zsnes -m -y</args>
as far as i can tell mupen64plus is the only 1 with its own built-in volume control. so i had to set that 1 back to 100. (~/.mupen64plus/jttl_audio.conf)
I tried this, but it breaks my emulators.
I've added "> test.log" to the $@ rule, and zsnes i.e. says
Code:
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.
ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.
Use ZSNES -? for command line definitions.
Starting Mouse detection.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
Error opening file!
So i don't have a mouse, so that doesn't seem to be the problem. but error opening file?
I'm running Ubuntu 10.04, the emulators work without this trick, but the volume is way to loud. So it would be nice if I can use this method to start my emulators
Thx
edit:
I changed the line
Code:
$@
to
Code:
zsnes "${@}"