SimHub: Difference between revisions

From Simwiki.net
Jump to navigation Jump to search
(Created page with "== Tips and Tricks == === How to "bring to top" with overlays in overlay layouts === Note: This can't be done in the Overlay Layout Editor # Open Windows Explorer to the Simhub\OverlayLayouts folder #* Ex. Mine is '''C:\Program Files (x86)\SimHub\OverlayLayouts''' # Edit the '''.olayout''' Overlay Layout named after the one you want to edit #* Ex. '''SHO XD Style SimHub Layout V18.olayout''' # Inside the '''"OverlayLayoutParts": []''' list, move the desired '''{ "Dash...")
 
No edit summary
Line 1: Line 1:
__TOC__
== Tips and Tricks ==
== Tips and Tricks ==



Revision as of 05:11, 31 May 2024

Tips and Tricks

How to "bring to top" with overlays in overlay layouts

Note: This can't be done in the Overlay Layout Editor

  1. Open Windows Explorer to the Simhub\OverlayLayouts folder
    • Ex. Mine is C:\Program Files (x86)\SimHub\OverlayLayouts
  2. Edit the .olayout Overlay Layout named after the one you want to edit
    • Ex. SHO XD Style SimHub Layout V18.olayout
  3. Inside the "OverlayLayoutParts": [] list, move the desired { "DashboardName": ... } to the top of the list
    • Remember to ensure to ensure you fixed any commas after trailing closing } brackets

Example: I moved the Awareness Left|Right|Rear blocks to the top of the OverlayLayoutParts[] list

{
  "OverlayLayoutParts": [
    {
      "DashboardName": "DashTemplates\\SHO GTR2 XD Style Awareness Right SimHub Overlay\\SHO GTR2 XD Style Awareness Right SimHub Overlay.djson",
      "Top": 0.0,
      "Left": 2503.0,
      "Width": 60.0,
      "Height": 1440.0,
      "Placed": true,
      "Transparent": false,
      "FileName": null
    },
    {
      "DashboardName": "DashTemplates\\SHO GTR2 XD Style Awareness Left SimHub Overlay\\SHO GTR2 XD Style Awareness Left SimHub Overlay.djson",
      "Top": 0.0,
      "Left": -4.0,
      "Width": 60.0,
      "Height": 1440.0,
      "Placed": true,
      "Transparent": false,
      "FileName": null
    },
    {
      "DashboardName": "DashTemplates\\SHO GTR2 XD Style Awareness Rear SimHub Overlay\\SHO GTR2 XD Style Awareness Rear SimHub Overlay.djson",
      "Top": 1385.0,
      "Left": 0.0,
      "Width": 2560.0,
      "Height": 60.0,
      "Placed": true,
      "Transparent": false,
      "FileName": null
    },
    {
      "DashboardName": "DashTemplates\\SHO GTR2 XD Style Status SimHub Overlay\\SHO GTR2 XD Style Status SimHub Overlay.djson",
      "Top": 1305.0,
      "Left": 9.0,
      "Width": 607.0,
      "Height": 126.0,
      "Placed": true,
      "Transparent": false,
      "FileName": null
    },
    {
      "DashboardName": "DashTemplates\\SHO GTR2 XD Style Pedals SimHub Overlay\\SHO GTR2 XD Style Pedals SimHub Overlay.djson",
      "Top": 1147.0,
      "Left": 9.0,
      "Width": 90.0,
      "Height": 152.0,
      "Placed": true,
      "Transparent": false,
      "FileName": null
    },
    ...more blocks...
  ],
  "EditMode": false,
  "HideWhenNotInRace": true,
  "Screen": {
    "WorkingArea": "0, 0, 2560, 1400",
    "Primary": true,
    "DeviceName": "\\\\.\\DISPLAY1",
    "Bounds": "0, 0, 2560, 1440",
    "BitsPerPixel": 32
  },
  "FileName": "SHO XD Style SimHub Layout V17"
}