Where are Retrovol settings stored in Bionic64?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Where are Retrovol settings stored in Bionic64?

Post by taersh »

Hi.

After first time running Retrovol Mixer all settings like main volume, capture on/off etc.pp. are kept after e.g. a restart of X. They are also persistent stored between reboots etc. But all these settings are not stored into /root/.retrovolrc.

I want to make these settings persistent like in a save file, but without the use of save files.
So, where are these settings stored?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
puddlemoon
Posts: 189
Joined: Sun Sep 06, 2020 9:26 pm
Location: In between
Has thanked: 89 times
Been thanked: 64 times

Re: Retrovol Settings?

Post by puddlemoon »

hey there,
Is it /etc/asound.state you are looking for?

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Retrovol Settings?

Post by taersh »

Sorry, but no.

Both of them - /etc/asound.conf and /etc/asound.state - are already stored persistent. I needed that to have the right sound card activated after booting without save file. Though, each time after reboot, I need to make the same settings in Retrovol over and over again. When using a save file etc. all Retrovol settings are persistent. But only position and size of window, as well as the volume slider connected to the task bar icon is stored in /root/.retrovolrc.

The /etc/asound.* stuff doesn't seem to have anything to do with that.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
mikewalsh
Moderator
Posts: 6042
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 740 times
Been thanked: 1907 times

Re: Retrovol Settings?

Post by mikewalsh »

@taersh :-

Rainer, I know this is a bit like teaching my grandmother to suck eggs, but.....wouldn't the easiest way simply be to build this into a re-master?

Mike. ;)

User avatar
Grey
Posts: 2016
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 375 times

Re: Retrovol Settings?

Post by Grey »

It's probably best to try asking the author at https://github.com/pizzasgood/retrovol
In september last year, a new version appeared there, which means the author is more or less active. Alternatively, you can look in source code where the settings are stored.
Although the new version caused me more questions than answers. But if I do not confuse it with another program, then retrovol itself does not store the sound settings, but takes them from alsa.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Retrovol Settings?

Post by taersh »

mikewalsh wrote: Tue Mar 16, 2021 5:54 pm

@taersh :-

Rainer, I know this is a bit like teaching my grandmother to suck eggs, but.....wouldn't the easiest way simply be to build this into a re-master?

Mike. ;)

Everything that would go into a remaster is stored at /initrd/pup_rw. I don't use remaster programs anymore. Instead I have all .sfs modules extracted on my development partition. I change things manually and rebuild the .sfs module via PackIt under xz compression. Nothing is to be found about Retrovol in /initrd/pup_rw that could cause the persistent storage.

Grey wrote: Tue Mar 16, 2021 6:22 pm

But if I do not confuse it with another program, then retrovol itself does not store the sound settings, but takes them from alsa.

This makes sense (see above). Going to check this.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

TerryH
Posts: 615
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 152 times
Been thanked: 151 times

Re: Retrovol Settings?

Post by TerryH »

In looking for a different init script, I noticed the script /etc/init.d/10alsa. This may be what you are looking for to set alsa config at boot.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
Grey
Posts: 2016
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 375 times

Re: Where are Retrovol settings stored in Bionic64?

Post by Grey »

I know for sure that alternative sound mixer PNMixer works well in Puppy(xenial/bionic). But again, I don’t remember where it stores the settings, but the mixer is pretty nice. Try to play with it:
https://github.com/nicklan/pnmixer

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

Eastler_Dart
Posts: 80
Joined: Wed Aug 05, 2020 3:34 am
Has thanked: 1 time
Been thanked: 8 times

Re: Where are Retrovol settings stored in Bionic64?

Post by Eastler_Dart »

a simple Trick:
Boot your puppy, so that all actual settings to be done are done.
Change the date of your System to next year
Change a value of retrovol
set date back to real year
search for files of 'nextYear', that should bring only a few,
from which ist easier to pick the real one

Hope it helps, Eastler

User avatar
Grey
Posts: 2016
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 375 times

Re: Where are Retrovol settings stored in Bionic64?

Post by Grey »

Eastler_Dart wrote: Fri Mar 19, 2021 6:07 am

a simple Trick:

Yes, sometimes such a cunning method can help out :thumbup:

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

williams2
Posts: 1059
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 302 times

Re: Where are Retrovol settings stored in Bionic64?

Post by williams2 »

I have a script to set reasonable audio values when Puppy boots, like this:

Code: Select all

amixer set Speaker 0 0 mute
amixer set Headphone 81% 81%
amixer set PCM 80% 80%
amixer set Master 81%

but if I use HDMI digital sound, as opposed to analog sound, there are no mixer settings, just sound enabled or sound disabled.

Geek3579
Posts: 267
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 79 times
Been thanked: 68 times

Re: Where are Retrovol settings stored in Bionic64?

Post by Geek3579 »

Hey, this works well in LxPup64 19.09 also. I have been looking for something like this for a while. Many thanks !

Post Reply

Return to “Users”