Compact MSFS 2024 toolbar with a scale of 75% or 50%.
build_toolbar_mod.ps1— working build scriptMSFSLayoutGenerator.exe— regenerateslayout.jsonsource/— contains the source packagetarget/— contains the build output (created by the script)
- Download the package with your desired scale factor (either 75% or 50%).
- Extract and copy that into your
Communityfolder. - Launch MSFS. The toolbar will be compact and the white annoying trigger line hidden.
Keep only one toolbar package in Community to avoid conflicts.
Delete the package folder from your Community.
source/
dronesim-compact-toolbar/
cookedcomps/
{GUID}.html
{GUID}.json
layout.json
manifest.json
MSFSLayoutGenerator.exe
# target initially empty, contents will be generated by the script
target/
dronesim-compact-toolbar/
cookedcomps/
{GUID}.html
{GUID}.json
layout.json
manifest.json
MSFSLayoutGenerator.exe
build_toolbar_mod.ps1
MSFSLayoutGenerator.exe
Basically, after each SimUpdate the {GUID} above might be regenerated. So for you - as a developer - it's impossible to guess, what the new {GUID} will be.
In order to make it work, you as a developer need to do some steps before running the script.
- Locate the
cookedcompsfolder of your MSFS installation. In my case it's located inC:\XboxGames\Microsoft Flight Simulator 2024\Content\Packages\fs-base-ui\cookedcomps - Open this folder in a text editor or even better in an IDE (e.g. VS Code)
- Search globally for the term
name="Panel_Toolbar". You should only get one result. - Copy the HTML file itself (not the contents) that contains the term you just searched for. There's also a JSON file with the same file name prefix. For example: if your search gives you the filename
{915F1AD3-9A3C-4592-82AA-7EB3AF70B5FA}.html, there is also a JSON file{915F1AD3-9A3C-4592-82AA-7EB3AF70B5FA}.json. Copy both of these files and paste them intosource/dronesim-compact-toolbar/cookedcomps. - Run the script
build_toolbar_mod.ps1. By default, the scale is set to 75%. If you wish to set it to 50% you can run the script with an argumentbuild_toolbar_mod.ps1 -ScalePrefix 50 - The script will scale down the neccessary heights and width for the toolbar. In the script output you should see the correct
GUIDyou found in step 4. - After finishing, the target folder should contain the scaled down mod. Please take a look at the folder layout above and make sure that the contents match.
- When done, copy the folder
dronesim-compact-toolbarinto yourCommunityfolder and enjoy.