Space Engineers

Space Engineers

Build Info
This topic has been locked
Labelling Toolbar Slots not working with MMaster's Auto LCD
Hi all,

So I've been trying for 2 hours to get Custom Data from BuildInfo and MMaster's Auto LCD to work side by side in my control seat but they don't seem to get along well

His script (well, SE actually) allows for mutliple scripts to be used on the same block : check out his guide at the end where he mentions it
https://steamcommunity.com/sharedfiles/filedetails/?id=407158161

I typed exactly this in the Custom Data box :

[Toolbar]
1-1 = <color=red>Handbrake
---
@0 AutoLCD
SpeedKmh 30
PropBool {T:Control Seat} HandBrake Handbrake On Off
Working {T:H2 Thruster}


but in the terminal bottom right info it says :

Toolbar CustomData Errors :
Line#3 : Expectedkey=value definition

The screen displays the Auto LCD info without problem which means the 3 dashes that separate the 2 scripts work as intended (otherwise it would have said "unknown command" on the screen)

Please help
Last edited by Fat7i Bonané; Apr 23, 2021 @ 8:24am
< >
Showing 1-4 of 4 comments
Digi  [developer] Apr 23, 2021 @ 11:16am 
Yeah either I'm using it wrong or there's a bug in the MyIni parser, still looking into it.

However, there's a workaround for now: simply add a random header just before the dashes as my script only reads the Toolbar header so it'll ignore anything from other ones.

[Toolbar] 1-1 = <color=red>Handbrake [workaround] --- @0 AutoLCD SpeedKmh 30 PropBool {T:Control Seat} HandBrake Handbrake On Off Working {T:H2 Thruster}
Last edited by Digi; Apr 23, 2021 @ 11:17am
Fat7i Bonané Apr 23, 2021 @ 11:36am 
Oh wow it works !

I can't believe I haven't tried this :D I tried way dumber things.

I didn't say it but I got crazy when I saw I could customise the toolbar through Buildinfo, it's just soooooo convenient and I can't count how many times I endorsed people with that idea on KSH forum.

Anyway, you're the best, Digi, thanks a million.
Digi  [developer] Apr 26, 2021 @ 7:44pm 
It seems to be a bug in the parser if I parse a specific section, however if I parse the entire thing it'll detect the dashes fine, so I'll be changing to that. This change isn't out yet, not even on the bleeding edge, but it'll be there first :}
Fat7i Bonané Apr 27, 2021 @ 10:08am 
The way MMaster worded it in his Auto LCD guide felt like he had the parser tailor-made for his script, which I'm fairly sure I understood wrong, so chances are you can make it work with BuildInfo.

I'm actually quite surprised that issue was never raised before I doubt I'm the only one using both BuildInfo and Mmaster's Auto LCDs on a cockpit.
< >
Showing 1-4 of 4 comments
Per page: 1530 50