PG Music Home
Posted By: Pipeline Start Biab & RealBand in Different Modes - 11/12/17 12:47 AM
To start Biab & RealBand in different Modes without messing around each time changing all the settings like skins, color scheme, fonts, normal mode, compact mode, audio midi drivers etc.
You create a different Mode by saving the setting then closing BB. In the Bat file just change the setting source folder to "Config Backup" or "Config Backup 2" etc.
In the Bat change the appropriate source Skin folder.
Change c:\ to the appropriate drive if need be.

Will do a how to for Mac users it would just use a script that you can then save as an app with an icon.

Here's the skins in a folder extract to x:bb so you will have x:\bb\Skins
https://www.dropbox.com/s/a1ka72vd72lfwox/BB_Skins.zip?dl=1

After saving the BB settings you need.
BB folder List by newest date:
DEFAULT.ALI
DefaultColors.BBC
intrface.bbw
MySetup.DK

Copy the above files to "Config Backup" or "Config Backup 2" etc.

Add the text below under Code: to a text file, rename it Biab Mode 1.bat

Code:
rd "C:\bb\Data\Images\MainScreenButtons" /s /q
xcopy "C:\bb\Skins\Color on All Dark\MainScreenButtons" "C:\bb\Data\Images\MainScreenButtons\" /o /x /e /h /k

del "c:\bb\DEFAULT.ALI"
del "c:\bb\DefaultColors.BBC"
del "c:\bb\intrface.bbw"
del "c:\bb\MySetup.DK"
copy "c:\bb\Config Backup\DEFAULT.ALI" "c:\bb\DEFAULT.ALI" 
copy "c:\bb\Config Backup\DefaultColors.BBC" "c:\bb\DefaultColors.BBC" 
copy "c:\bb\Config Backup\intrface.bbw" "c:\bb\intrface.bbw"
copy "c:\bb\Config Backup\MySetup.DK" "c:\bb\MySetup.DK"

start "" "c:\bb\bbw.exe"

exit



Now just run the bat file to start BB with your saved settings.
You can right click Run As Administrator if any problems.

You can convert the bat file to an exe file with an icon
http://www.softpedia.com/get/System/File-Management/Batch-To-Exe-Converter.shtml
Drag the bat file into Bat to EXE > Batch File:
Search in the BB folder for PGMICON.ICO BBWICON.ICO

<< right click save RealBand2017.ico.png rename RealBand2017.ico

or add any icon you like, search "icons" google or create your own.

In Bat to EXE Options > Miscellaneous > Administrator Manifest
Bat to EXE > Compile.
You can pin it where you like or create a shortcut.

You won't have a 64bit Biab maybe till the end of the year, but at least you can create a 64bit Bat to EXE laugh


Code:
del "c:\RealBand\RB.CFG"
del "c:\RealBand\RealBand.INI"
del "c:\RealBand\DEFAULT.RWS"
copy "c:\RealBand\Config Backup\DEFAULT.RWS" "c:\RealBand\DEFAULT.RWS" 
copy "c:\RealBand\Config Backup\RB.CFG" "c:\RealBand\RB.CFG" 
copy "c:\RealBand\Config Backup\RealBand.INI" "c:\RealBand\RealBand.INI"

start "" "c:\RealBand\RealBand.exe"

exit








Attached picture BB_Reset_Skin.jpg
Enlightened the geek in me. Thanks Pipeline. I love using .BAT scripts.
I need to try this. Thank you.
© PG Music Forums