Search titles only
By:
Home
Forums
New posts
Search forums
Articles
New articles
New comments
Search articles
Pinball DB
Pinball Tables
Pinball Games
What's new
New posts
New articles
New profile posts
New article comments
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Welcome Back to Digital Pinball Fans -
please read this first
For latest updates, follow Digital Pinball Fans on
Facebook
and
Twitter
Home
Forums
Farsight Studios
The Pinball Arcade / Farsight Studios
Platform Specific
PC
Pinball Arcade with SweetFX - lightness control, bloom, etc.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SilverBalls" data-source="post: 179074" data-attributes="member: 340"><p><strong>SweetFXIniSwitcher for PinballArcade</strong></p><p></p><p>I wrote an AHK script which can automatically cycle through different ini files after one keypress. I made it configurable via an ini file so it should work for any program, however the default ini is for Pinball Arcade <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</p><p></p><p>If people have good config files for Pinball Arcade that they can share I can add them to the zip file, so we can build up a library and use this program to toggle through them.</p><p></p><p>SweetFXIniSwitcher v1.2 - Updated 27/11/2014)</p><p><a href="https://www.dropbox.com/s/oyjm0khcf5xjemz/SweetFXIniSwitcher.zip?dl=0" target="_blank">https://www.dropbox.com/s/oyjm0khcf5xjemz/SweetFXIniSwitcher.zip?dl=0</a></p><p></p><p>I wrote a readme, but here it is for convenience:</p><p></p><p><strong><u>SweetFXIniSwitcher v1.2:</u></strong></p><p></p><p>This program will launch your program (usually a game), and give you a key you can press to cycle through a list</p><p>of different SweetFX config files.</p><p></p><p>This program looks for all config files in your game folder that contains the normal SweetFX config file.</p><p>When you press the key the program simply copies the next config file to the 'live' SweetFX_settings.txt file and</p><p>then it sends a keystroke to SweetFX to tell it to reload the new config. This allows you to instantly switch between config</p><p>files with one keypress.</p><p></p><p>For example If you have say 7 config files, the next one will be loaded after each keypress. On pressing the key you will hear a beep</p><p>to acknowledge the change, wait about 2 seconds and you will here a second beep to confirm the change. On the 8th press the SweetFX</p><p>is turned off (you hear beeps with a different pitch), and on the subsequent keypress the first config is loaded again.</p><p>This allows you to cycle through all config file, plus the games default settings with no SweetFX changes happening.</p><p></p><p>Update for v1.2 (27 Nov 2014): As you switch to each config file if the program find a WAV file of the same name it will play it. This way you know which settings file you are using.</p><p></p><p><strong><u>Installation and Config</u>:</strong></p><p></p><p>This is quite straightforward:</p><p></p><p><span style="color: #FF0000"><strong>(1)</strong> YOU MUST Backup your SweetFX_settings.txt file!</span> This program will overwrite it each time a new config is loaded.</p><p></p><p><strong>(2) </strong>Copy contents of SweetFXIniSwitcher's zip file into the folder where you have your SweetFX configs.</p><p></p><p><strong>(3)</strong> Rename each of your SweetFX_settings config files to PAsettingsXXX.txt where XXX is anything you like that desribes</p><p> the file.</p><p> </p><p> For example Rename SweetFX_settings.txt to PAsettings_my_000.txt</p><p> </p><p> If you wish to prefix your ini files with something other than 'PASettings' then you can change it in the ini file</p><p> for this program.</p><p></p><p> Make sure each of your config files for SweetFX have the same key codes for <strong>key_toggle_sweetfx</strong> AND <strong>key_reload_sweetfx</strong>.</p><p> The same keys must also be defined in the SweetFXIniSwitcher.ini described below (ie: Entries sweetFXToggleOnOffKey and sweetFXReloadKey).</p><p></p><p></p><p><strong>(4)</strong> Open the SweetFXIniSwitcher.ini file and define the various parameters.</p><p></p><p> The config file is already prepared for 'Pinball Arcade'.</p><p></p><p> The parameters are:</p><p> </p><p><strong> switchIniKey=z</strong></p><p> Change this to the key you want to press to toggle through the ini files you have</p><p> </p><p><strong> sweetFXToggleOnOffKey=ScrollLock</strong></p><p> Change this to the key that SweetFX uses to Toggle itself ON/OFF. ScrollLock is the SweetFX default.</p><p> Note: SweetFX uses Javascript key codes whereas AHK uses keycodes.</p><p> </p><p><strong> sweetFXReloadKey=End</strong></p><p> Change this to the key that SweetFX uses to Reload the current INI file. The End key is the SweetFX default.</p><p> Note: SweetFX uses Javascript key codes whereas AHK uses keycodes.</p><p> </p><p><strong> switchIniPrefixFileName=PAsettings</strong></p><p> SweetFXIniSwitcher will toggle between all ini files starting with this prefix.</p><p> eg: if you have PAsettings001.txt, PAsettings002.txt, PAsettings003.txt, PAsettings_Fred.txt these will all be cycled</p><p> through after each keypress</p><p></p><p><strong> runExe</strong></p><p> Your game that you run with the full path</p><p></p><p><strong> runExeNoPath</strong></p><p> Your game exe with no path</p><p></p><p><strong> runExeWinTitle</strong></p><p> The window title of your game</p><p></p><p><strong> preRunExe</strong></p><p> The exe you want to run before your game (leave blank after the = if not required)</p><p> eg: Useful if you want to rotate the screen.</p><p> </p><p><strong> postRunExe</strong></p><p> The exe you want to run after your game (leave blank after the = if not required) </p><p> eg: Useful if you want to rotate the screen back.</p><p></p><p></p><p> </p><p><strong>(5)</strong> From now on to play your game run SweetFXIniSwitcher.exe instead in your normal game folder.</p></blockquote><p></p>
[QUOTE="SilverBalls, post: 179074, member: 340"] [b]SweetFXIniSwitcher for PinballArcade[/b] I wrote an AHK script which can automatically cycle through different ini files after one keypress. I made it configurable via an ini file so it should work for any program, however the default ini is for Pinball Arcade :). If people have good config files for Pinball Arcade that they can share I can add them to the zip file, so we can build up a library and use this program to toggle through them. SweetFXIniSwitcher v1.2 - Updated 27/11/2014) [url]https://www.dropbox.com/s/oyjm0khcf5xjemz/SweetFXIniSwitcher.zip?dl=0[/url] I wrote a readme, but here it is for convenience: [B][U]SweetFXIniSwitcher v1.2:[/U][/B] This program will launch your program (usually a game), and give you a key you can press to cycle through a list of different SweetFX config files. This program looks for all config files in your game folder that contains the normal SweetFX config file. When you press the key the program simply copies the next config file to the 'live' SweetFX_settings.txt file and then it sends a keystroke to SweetFX to tell it to reload the new config. This allows you to instantly switch between config files with one keypress. For example If you have say 7 config files, the next one will be loaded after each keypress. On pressing the key you will hear a beep to acknowledge the change, wait about 2 seconds and you will here a second beep to confirm the change. On the 8th press the SweetFX is turned off (you hear beeps with a different pitch), and on the subsequent keypress the first config is loaded again. This allows you to cycle through all config file, plus the games default settings with no SweetFX changes happening. Update for v1.2 (27 Nov 2014): As you switch to each config file if the program find a WAV file of the same name it will play it. This way you know which settings file you are using. [B][U]Installation and Config[/U]:[/B] This is quite straightforward: [COLOR="#FF0000"][B](1)[/B] YOU MUST Backup your SweetFX_settings.txt file![/COLOR] This program will overwrite it each time a new config is loaded. [B](2) [/B]Copy contents of SweetFXIniSwitcher's zip file into the folder where you have your SweetFX configs. [B](3)[/B] Rename each of your SweetFX_settings config files to PAsettingsXXX.txt where XXX is anything you like that desribes the file. For example Rename SweetFX_settings.txt to PAsettings_my_000.txt If you wish to prefix your ini files with something other than 'PASettings' then you can change it in the ini file for this program. Make sure each of your config files for SweetFX have the same key codes for [B]key_toggle_sweetfx[/B] AND [B]key_reload_sweetfx[/B]. The same keys must also be defined in the SweetFXIniSwitcher.ini described below (ie: Entries sweetFXToggleOnOffKey and sweetFXReloadKey). [B](4)[/B] Open the SweetFXIniSwitcher.ini file and define the various parameters. The config file is already prepared for 'Pinball Arcade'. The parameters are: [B] switchIniKey=z[/B] Change this to the key you want to press to toggle through the ini files you have [B] sweetFXToggleOnOffKey=ScrollLock[/B] Change this to the key that SweetFX uses to Toggle itself ON/OFF. ScrollLock is the SweetFX default. Note: SweetFX uses Javascript key codes whereas AHK uses keycodes. [B] sweetFXReloadKey=End[/B] Change this to the key that SweetFX uses to Reload the current INI file. The End key is the SweetFX default. Note: SweetFX uses Javascript key codes whereas AHK uses keycodes. [B] switchIniPrefixFileName=PAsettings[/B] SweetFXIniSwitcher will toggle between all ini files starting with this prefix. eg: if you have PAsettings001.txt, PAsettings002.txt, PAsettings003.txt, PAsettings_Fred.txt these will all be cycled through after each keypress [B] runExe[/B] Your game that you run with the full path [B] runExeNoPath[/B] Your game exe with no path [B] runExeWinTitle[/B] The window title of your game [B] preRunExe[/B] The exe you want to run before your game (leave blank after the = if not required) eg: Useful if you want to rotate the screen. [B] postRunExe[/B] The exe you want to run after your game (leave blank after the = if not required) eg: Useful if you want to rotate the screen back. [B](5)[/B] From now on to play your game run SweetFXIniSwitcher.exe instead in your normal game folder. [/QUOTE]
Verification
Post reply
Members online
No members online now.
Latest posts
Sale speculation thread
Latest: gameaddict4life
Yesterday at 12:46 AM
Pinball FX (4)
Master List of Issues: Pinball FX
Latest: gameaddict4life
Yesterday at 12:40 AM
Pinball FX (4)
Home
Forums
Farsight Studios
The Pinball Arcade / Farsight Studios
Platform Specific
PC
Pinball Arcade with SweetFX - lightness control, bloom, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top