How can you save audio configs for a game?
-
Running in lr-mame2016, Wyvern Wings has very quiet sound. You can bump the volume up easily enough by manually changing this setting in the Retroarch menu:
But I can't get that setting to save. Every time I quit and restart the game it's quiet again, which is minor but annoying.
I've tried saving it in Overrides, which creates /opt/retropie/configs.hdmi/all/retroarch/config/MAME 2016/wyvernwg.cfg, but it does nothing despite including these lines:
audio_volume = "10.000000" audio_mixer_volume = "10.0"
I can't find anything in the docs about the two Gain settings. Saving the Options file does nothing either.
-
@jimmyfromthebay
please fill out https://retropie.org.uk/forum/topic/3/read-this-first including verbose log.also. on a recommended mame core you may be able to adjust the game’s volume via the service menu or mame menu dip switches. no idea about 2016
-
@dankcushions Really not sure why this is useful for a general Retroarch-interface query, but okay:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.zip" --verbose --appendconfig /dev/shm/retroarch.cfg'|'"/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.zip.cfg" [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.srm". [INFO] Redirecting save state to "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.state". [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Nov 2 2020 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so" [INFO] [Environ]: SET_VARIABLES. [INFO] Per-Game Options: game-specific core options found at /home/pi/.config/retroarch/config/MAME 2016/wyvernwg.opt [INFO] [Remaps]: remap directory: /home/pi/.config/retroarch/config/remaps [INFO] Redirecting save file to "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.srm". [INFO] Redirecting save state to "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [libretro INFO] SYSTEM_DIRECTORY: /home/pi/RetroPie/BIOS[INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/pi/.config/retroarch/downloads". [libretro INFO] CONTENT_DIRECTORY: /home/pi/.config/retroarch/downloads[libretro INFO] SAVE_DIRECTORY: /home/pi/RetroPie/roms/arcade/zzz-all/[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] Content loading skipped. Implementation will load it on its own. [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [libretro INFO] AV_INFO: width=640 height=480 [libretro INFO] AV_INFO: max_width=640 max_height=480 [libretro INFO] AV_INFO: aspect_ratio = 1.333333 [libretro INFO] AV_INFO: fps = 60.000000 sample_rate = 48000.000000 [INFO] [Cheats]: Load game-specific cheatfile: /home/pi/.config/retroarch/cheats/MAME 2016/wyvernwg.cht [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ 1920x1080 [INFO] [Video]: Starting threaded video driver ... [INFO] [DRM]: Found 1 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 30 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 2: (1920x1080) 1920 x 1080, 50 Hz [INFO] [DRM]: Mode 3: (1680x1050) 1680 x 1050, 60 Hz [INFO] [DRM]: Mode 4: (1600x900) 1600 x 900, 60 Hz [INFO] [DRM]: Mode 5: (1280x1024) 1280 x 1024, 75 Hz [INFO] [DRM]: Mode 6: (1280x1024) 1280 x 1024, 60 Hz [INFO] [DRM]: Mode 7: (1440x900) 1440 x 900, 60 Hz [INFO] [DRM]: Mode 8: (1280x800) 1280 x 800, 60 Hz [INFO] [DRM]: Mode 9: (1152x864) 1152 x 864, 75 Hz [INFO] [DRM]: Mode 10: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 11: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 12: (1280x720) 1280 x 720, 50 Hz [INFO] [DRM]: Mode 13: (1024x768) 1024 x 768, 75 Hz [INFO] [DRM]: Mode 14: (1024x768) 1024 x 768, 70 Hz [INFO] [DRM]: Mode 15: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 16: (832x624) 832 x 624, 75 Hz [INFO] [DRM]: Mode 17: (800x600) 800 x 600, 75 Hz [INFO] [DRM]: Mode 18: (800x600) 800 x 600, 72 Hz [INFO] [DRM]: Mode 19: (800x600) 800 x 600, 60 Hz [INFO] [DRM]: Mode 20: (800x600) 800 x 600, 56 Hz [INFO] [DRM]: Mode 21: (720x576) 720 x 576, 50 Hz [INFO] [DRM]: Mode 22: (720x480) 720 x 480, 60 Hz [INFO] [DRM]: Mode 23: (720x480) 720 x 480, 60 Hz [INFO] [DRM]: Mode 24: (640x480) 640 x 480, 75 Hz [INFO] [DRM]: Mode 25: (640x480) 640 x 480, 73 Hz [INFO] [DRM]: Mode 26: (640x480) 640 x 480, 67 Hz [INFO] [DRM]: Mode 27: (640x480) 640 x 480, 60 Hz [INFO] [DRM]: Mode 28: (640x480) 640 x 480, 60 Hz [INFO] [DRM]: Mode 29: (720x400) 720 x 400, 70 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0xa8d39940. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2. [INFO] [GL]: Version: OpenGL ES 3.1 Mesa 19.3.2. [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/config [INFO] [Shaders]: Specific shader preset found at /opt/retropie/emulators/retroarch/shader/barrel-distortion_phosphor.glslp. [INFO] [Shaders]: configuration file shader preset found. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 2 program(s). [INFO] [GL]: Creating FBO 0 @ 2048x2048 [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [udev]: Keyboard #0 (/dev/input/event0). [INFO] [udev]: Keyboard #1 (/dev/input/event3). [INFO] [udev]: Mouse #0 (/dev/input/event7). [INFO] [udev]: Mouse #1 (/dev/input/mouse0). [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event8) supports 0 force feedback effects. [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #1. [INFO] [udev]: Pad #1 (/dev/input/event9) supports 0 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Video]: Found display server: null [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xsal-level2-crt.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xsal.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xScaleHQ.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_lanczos4.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_snes.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/Brighter-with_Contrast.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/bsnes_gamma_ramp.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature-vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy-screen-grid.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gba-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x&lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaintscanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq4x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq4x_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/kawase_glow.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nds-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nds.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nedi.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/palm-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/psp-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/retroarch.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-2x-prescale.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-scanlines.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-simple.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpainthicontrast.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaintscanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_scanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_waterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/stock.glsl" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/super-2xsai.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/super-eagle.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/vba-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/xbr-lv1-noblend.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/zfast_crt_curve.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/zfast_crt_curve_vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/zfast_crt_standard.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/zfast_crt_standard_vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/zfast_lcd_standard.glslp" [INFO] ALSA: Using signed 16-bit format. [INFO] ALSA: Period size: 480 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Menu]: Found menu display driver: "gl". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [LED]: LED driver = 'null' 0x4b477c [INFO] [MIDI]: Initializing ... [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "alsa" driver. [INFO] Loading history file: [/opt/retropie/configs/arcade/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/arcade/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/arcade/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/arcade/content_image_history.lpl]. [INFO] Loading favorites file: [/opt/retropie/configs/arcade/content_favorites.lpl]. [INFO] Written to playlist file: /opt/retropie/configs/arcade/content_history.lpl [libretro INFO] Starting game:/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.zip [libretro INFO] Game name: wyvernwg, Game description: Wyvern Wings (set 1) [libretro ERROR] System not found: zzz-all [libretro WARN] Driver zzz-all not found -1 [libretro INFO] Creating frontend for game: wyvernwg [libretro INFO] Softlists: 1 SOURCE FILE: ../../../../../src/mame/drivers/vamphalf.cpp PARENT: wivernwg NAME: wyvernwg DESCRIPTION: Wyvern Wings (set 1) YEAR: 2001 MANUFACTURER: SemiCom (Game Vision license) [libretro INFO] Screen orientation: VERTICAL Value not supported for option netdevprovider - falling back to auto [libretro INFO] OSD initialization complete [INFO] SET_GEOMETRY: 236x320, aspect: 0.750. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] Config: appending config "/dev/shm/retroarch.cfg" [INFO] Config: appending config "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.zip.cfg"
-
The answer, btw, is to put the two audio lines into the CFG file in the ROMS folder, not the one in the CONFIGS folder.
In other words, put them here:
/home/pi/RetroPie/roms/arcade/wyvernwg.zip.cfg
NOT here:
/opt/retropie/configs.hdmi/all/retroarch/config/MAME 2016/wyvernwg.cfg
-
@jimmyfromthebay said in How can you save audio configs for a game?:
@dankcushions Really not sure why this is useful for a general Retroarch-interface query, but okay:
because it would have shown me that you have any active cfg overrides causing your settings to not stick:
[INFO] Config: appending config "/home/pi/RetroPie/roms/arcade/zzz-all/wyvernwg.zip.cfg"
that said, i believe there's something screwed up with your
/all/retroarch.cfg
and/or/arcade/retroarch.cfg
for it not to be loading your retroarch core override at all. -
@jimmyfromthebay said in How can you save audio configs for a game?:
The answer, btw, is to put the two audio lines into the CFG file in the ROMS folder, not the one in the CONFIGS folder.
In other words, put them here:
/home/pi/RetroPie/roms/arcade/wyvernwg.zip.cfg
NOT here:
/opt/retropie/configs.hdmi/all/retroarch/config/MAME 2016/wyvernwg.cfg
I mean, the other one would have worked too, if you didn't have them both. One of them has to take priority over the other, in case of conflicting entries. As you've discovered, this is the one in
roms
. This makes sense of you think about it, as that one is "nearest" to the rom itself in the filesystem. G.I. Joe, now you know. -
@sleve_mcdichael said in How can you save audio configs for a game?:
@jimmyfromthebay said in How can you save audio configs for a game?:
The answer, btw, is to put the two audio lines into the CFG file in the ROMS folder, not the one in the CONFIGS folder.
In other words, put them here:
/home/pi/RetroPie/roms/arcade/wyvernwg.zip.cfg
NOT here:
/opt/retropie/configs.hdmi/all/retroarch/config/MAME 2016/wyvernwg.cfg
I mean, the other one would have worked too, if you didn't have them both.
No, it didn't. That was my point in the original post. The second one alone did absolutely nothing. It was ONLY by putting the lines in the version in the ROMs folder that it worked.
-
@jimmyfromthebay ...and that version in the
roms
folder didn't exist until you made it there, just recently? It wasn't already sitting there with, like, three thousand lines of settings in it? -
@sleve_mcdichael said in How can you save audio configs for a game?:
@jimmyfromthebay ...and that version in the
roms
folder didn't exist until you made it there, just recently? It wasn't already sitting there with, like, three thousand lines of settings in it?No, it wasn't. I only added the game this week, and there was no CFG file for it in the ROMs folder at all.
-
@jimmyfromthebay that's weird because I run my game-override configs from the "configs" folder and I've not had any issues.
What's this?:
configs.hdmi
...is it supposed to say that, or...? That's not standard, I don't think...
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.