SimHub: Difference between revisions

From Simwiki.net
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


== Tips and Tricks ==
== Tips and Tricks ==
=== Duplicate Overlay Layouts ===
I don't see this functionality in the app but it can be done by copy the Overlay Layout files.
# Open Windows Explorer to the SimHub\OverlayLayouts folder
#* Ex. Mine is '''C:\Program Files (x86)\SimHub\OverlayLayouts'''
# Copy & Paste the '''.olayout''' file that has the name of the Overlay Layout you want to duplicate: Rename as desired
#* Ex. '''SHO XD Style SimHub Layout V18.olayout'''
The duplicate Overlay Layout should now appear in SimHub (you might have to click around or restart SimHub to get it to restart).


=== How to ensure overlays are above or below other overlays in an overlay layout ===
=== How to ensure overlays are above or below other overlays in an overlay layout ===

Revision as of 00:57, 1 June 2024

Tips and Tricks

Duplicate Overlay Layouts

I don't see this functionality in the app but it can be done by copy the Overlay Layout files.

  1. Open Windows Explorer to the SimHub\OverlayLayouts folder
    • Ex. Mine is C:\Program Files (x86)\SimHub\OverlayLayouts
  2. Copy & Paste the .olayout file that has the name of the Overlay Layout you want to duplicate: Rename as desired
    • Ex. SHO XD Style SimHub Layout V18.olayout

The duplicate Overlay Layout should now appear in SimHub (you might have to click around or restart SimHub to get it to restart).

How to ensure overlays are above or below other overlays in an overlay layout

I wanted to fix a situation where I had a number of overlays I wanted to be "on top" of certain other overlays. I couldn't find a way to do this in the app in version 9.2.3. I had to find them in the Overlay Layout files and edit the text to re-order them.

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 (behind all other overlays) or to the bottom (above all over overlays).
    • 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 which ensures they are behind all other overlays

{
  "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"
}