Novice Questions
 
Notifications
Clear all

Novice Questions

2 Posts
1 Users
0 Reactions
4,007 Views
(@shovas)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

I've spent the last week learning SimHub and building out a collection of overlays to reproduce the GTR2 XD overlays in SimHub:

https://www.racedepartment.com/downloads/sho-gtr2-xd-style-simhub-overlays.47212/

SimHub is quite amazing, thank you for all the effort, and I have registered my copy and I was happy and satisfied to do so.

I have some questions...

SimHub:

- Layouts can be set to "auto" start with SimHub (my SimHub starts on boot) but what I really want is to start a Layout when the game starts. Is that possible?

- Who/Where/How do we contact someone about built-in widgets, like the Leaderboard, if we find bugs?

- I see in Settings sometimes you can set a keyboard shortcut for some operations. What's the best shortcut combo for SimHub? Ctrl-Shift-... or Alt-Shift-... or ... Like what do most people use?

- Settings: Keyboard Shortcuts. Are these only single-key shortcuts and not multi-key shortcuts (ex. Alt-Shift-S) ?

Layouts:

- How can I get my Layout w/Overlays to automatically reload when I save a new Overlay change inside Dash Studio. Sometimes I think this is already working but sometimes not. What's a guaranteed way to make sure it works?

- How do I reload an entire Layout? Right now I have to click X in the Overlay Layout Editor window and then go back to SimHub and click Load again.

- I finally figured out after a long time that Layouts don't like Overlays being too far down the screen. Why is that? Because of the Windows Taskbar? The problem is in-game, with fullscreen windowed borderless mode, the Overlays at the bottom of the screen have a vertical margin that is much more than it needs to be. Is there any way around this?

- How do I reliably save Layout Overlay positions and sizes? Something keeps forgetting some of my Overlay sizes and/or positions, not sure which sometimes, it just forgets, even though I'm saving every single time. It's like SimHub doesn't "like" my size or position for a certain Overlay so it resets it back to some default or safe size/position.

Overlays:

- I get the feeling some attributes are dynamically created by SimHub by monitoring and calculating from actual game attributes. I feel like sometimes these get out of sync. For example, first time in cockpit in GTR2 everything works fine but if I choose to Restart a race it feels like things are breaking (ex. Leaderboard gets out of whack) I think because these dynamic attributes aren't resetting fully - like they're not aware of the race restarting. Is this a known issue? Is there a workaround? Is there some "hook" that I can use in my overlays to detect "full reset"?

- When I go to export some of my older Overlays they seem to retain a name / file name of the overlay I duplicated (?) when I first started making the Overlay. Is there a way to change that name? I've already updated the Title in Dash Studio for the Overlay.

- How can I easily export a Layout or multiple Overlays at once? Every time I make a release of my collection I have to export every Overlay I changed. Would be nice to have some easy multi-export.

- Speaking of easy multi-export, is there an easy multi-export for my usage of a Layout with multiple Overlays? Like, right now, anyone who uses my collection must import all the *.simhubdash files manually one-by-one. Would be nice if there were just one file to have them import.

- Live Track Map dynamically generates the map from the player going around the track but it often gets it wrong, missing entire sections (the road visually connects up with a different part of the track so it looks complete but it's wrong) and the Player and AI are shown to be traveling "off road" in those missed sections. Am I using it wrong? How do I get reliable maps?

- GTR2 has a Split (Sector) Gap which shows how far ahead/behind you were in the last split/sector. I couldn't find this attribute. Closest I could find was LastSectorTime. Is there a Split Gap attribute? I know there's a JS way to take that and figure out a Split Gap but as it deals with parsing a string I haven't gone that deep yet.

  ^ Solved! String.split() and some messy addition and concatenation for the win.

Dash Studio:

- I see you can add a JS file somehow but what about when you want to publish everything together. Is this another manual thing users will have to do, ie. import *.simhubdash files *and* copy over the js file to the right SimHub folder? Or is there some packaging thing I'm not aware of?

- In Dash Studio is there a Snap-to-Element mode so I can drag one element close to another and it will snap together? I know there's the grid but it snaps to the grid and not other elements.

Binding Javascript Coding:

- How do I make use of UserPreference that I see in some widget for my own overlays where I want to make something configurable and allow the user to just set something in the SimHub settings (ex. Leaderboard does this already) and then how do I use that in code?

Thanks for any help

This topic was modified 3 years ago by shovas

   
Quote
(@shovas)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

More questions...

Dash Studio:

- Bug: When inserting a property the new property text is selected, you think you can copy or cut it, but if you do the focus is actually on the element in the studio and if you cut then you cut the element in dash studio

- Bug: Rotating a Linear Guage to 270 degrees somehow messes up the anchor point which Top and Left relate to. ie. 0,0 is not top-left anymore when rotated 270. It feels like the anchor point on the element is somewhere in the middle.

Binding Javascript Coding:

- Is there a more advanced editor with debugging capability or at least a console log so you can output debug while you type/test code?

- Is there a format or some way to get an automatic '+' if a number is positive like there's an automatic '-' if it's negative?

Wishlist:

- Indicators for OutLap, ValidRacingLap

- Switching to Javascript should not lose any settings (eg. currently resets color ranges?)

This post was modified 3 years ago 2 times by shovas

   
ReplyQuote
Share: