Where is the configuration file?

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
advancedarcade
Posts: 8
Joined: 12. Jul 08, 20:48
Location: NY
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Where is the configuration file?

Postby advancedarcade » 13. Jul 08, 19:46

Is there a .ini file? Where are the settings stored? I read in a previous post it was located in the Program Dirictory but nothing is there but the .exe?

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Where is the configuration file?

Postby Service-Team » 14. Jul 08, 10:15

By default, the configuration is stored in the Windows Registry at HKEY_CURRENT_USER\Software\Silverjuke

Using the command line parameter --ini , you can also use INI-files for the configuration.

Finally, if you create an (empty) files named mysettings.ini beside Silverjuke.exe, the settings are saved there.

For details, please have a look at the follwing page:
http://forum.silverjuke.net/viewtopic.php?t=28

Best regards,
Your Silverjuke-Team

Guest
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Where is the configuration file?

Postby Guest » 10. Dec 08, 21:57

how to convert the registry parameters to an ini file ?
i can save reg to txt files.

i launch silverjuke after ini creation and he is as the first time.

Guest
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Where is the configuration file?

Postby Guest » 10. Dec 08, 22:09

IMHO Silverjuke has not built-in function for converting the registry parameters to INI parameters, maybe there is a little tool or a script that can do the conversion? I don't know.

However, normally, this is not really required. There are not so many things to set up -complicated stuff as Music Selections or FX are saved in the database or in separate files and can be shared between different installations.

I would recommend to set up your first "proper" installation with --ini - this should only take a few minutes and this setup can be copied then ...

Regards,
B.

Guest
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Where is the configuration file?

Postby Guest » 10. Dec 08, 22:47

ok.

0-I launch silverkuke
1-silverjuke read all registry parameters at start
2-I create an ini file
3-I close silverjuke
4-silverjuke detect an empty ini file and then he saves all param in the ini file. (except for registration code)

All is always done to do it .
just a test and a general loop.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Main Forum”