Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Trying to customize theme

Pages: [1]
Author Topic: Trying to customize theme
Boznian2
Member
Posts: 28
Post Trying to customize theme
on: January 21, 2019 (GMT)

So the first thing I am trying to do is export my current theme so that I can look through it and try to understand it. Problem is when I export it the file never shows up anywhere on either phone I have tried it on. Both Motorola Droids, one older, one newer. If I make a change to the configuration/layout, there isn’t even a file on the phone that has the current time/date of the change. Where is this being stored?? My .torque/themDir has some files with today’s date but none are even close to the time that I made the changes and nowhere is there a file by the name that I exported. What am I missing?

I can make a basic change my properties.txt file (like dial color) and it does impact my layout.

Capp777
Member
Posts: 2993
Post Re: Trying to customize theme
on: January 22, 2019 (GMT)

Torque uses hidden folders so you will
have to show hidden files to see’em.

Boznian2
Member
Posts: 28
Post Re: Trying to customize theme
on: January 22, 2019 (GMT)

Yes, I am already showing hidden items but still can’t find it. A path or directory name would be helpful…

Capp777
Member
Posts: 2993
Post Re: Trying to customize theme
on: January 22, 2019 (GMT)

I would expect theme zip files to extract
to…

/.torque/themeDir

/.torque/themeDirNight

Dashboards to…

/.torque/dashboards

Not entirely clear on how you are
trying to export your theme.

Boznian2
Member
Posts: 28
Post Re: Trying to customize theme
on: January 23, 2019 (GMT)

I was actually exporting the LAYOUT from within the menu system in Torque Pro – sorry about the wrong terminology, still very new to this. I did find that ‘dashboards’ appeared in the appropriate directory but only after I had restarted my phone, disconnected my phone and re-connected to the computer.

I guess what I really need is a newbie guide to understanding what is in these files and how to manipulate/modify to my taste?

Capp777
Member
Posts: 2993
Post Re: Trying to customize theme
on: January 23, 2019 (GMT)

Wiki links above provide some insight…

https://torque-bhp.com/wiki/Themes

In my case, used commands in the properties.txt
file for most of the customizations. Used a
photo editor to change the transparency of a
standard blue theme. (Same theme was different
between devices).

Lots of trial and error to see effects change.

Exporting layouts between devices saved time
in rebuilding dashboards from scratch but you
will still need to size and move displays depending
upon the aspect ratios of the other device. Long
pressing the displays to access these functions
as needed.

Boznian2
Member
Posts: 28
Post Re: Trying to customize theme
on: January 23, 2019 (GMT)

I have read that page, thanks. What I am having trouble with is how the .dash file relates to the properties.txt file and how/what values are related to what gauges? This is my dash file, but it is just a confusing mess to me. Isn’t there somewhere that the values are described in detail? It’s like trying to code a program without knowing what the language is…

#Mon Jan 21 19:46:15 EST 2019
lowFlash8=1.4E-45
extraConfigA6=
numberDecimals5=0
numberDecimals8=-1
x0=905.0
min4=0.0
originalFullName=
type5=7
forcedmax2=0.0
forcedmin5=auto
extraConfigA0=
extraConfigA3=
min1=0.0
displayScale1=0.5
displayScale6=1.0
pidUUIDa8=
y1=260.0
lowFlash1=1.4E-45
pidUUIDa1=
pidUUIDa7=
pidUUIDa6=
label1=BATLVL
lowFlash7=1.4E-45
unit3=psi
pid1=16716442
forcedmax3=20.0
highFlash3=38.0
max3=20.0
numberDecimals7=-1
y7=180.0
highFlash7=3.4028235E38
lowFlash5=3.0
pid4=66
min0=0.0
max4=16.0
forcedmin2=auto
numberDecimals6=-1
x4=645.0
x7=925.0
x6=1045.0
label2=Coolant
min7=0.0
unit4=V
mode0=0
class7=org.prowl.torque.widgets.MeterB
type1=7
y5=-40.0
highFlash2=127.0
numberDecimals0=0
forcedmin1=auto
forcedmax0=0.0
min3=-20.0
forcedmax1=0.0
displayScale3=1.0
displayScale5=1.0
userPidKey0=[CHRYSLER]Transmission Temp (Jeep 2012 and later)/0
scale6=1.0
highFlash1=3.4028235E38
label0=Trans. Tmp
userPid0=[CHRYSLER]Transmission Temp (Jeep 2012 and later)
scale8=1.0
displayScale2=1.0
scale1=1.0
y0=1000.0
extraConfigA5=
x3=645.0
pidUUIDa5=
unit0=\u00b0F
pidUUIDa2=
displayScale7=1.0
label6=Load
numberDecimals3=-1
forcedmin4=auto
type0=7
y3=-240.0
scale7=1.0
pidUUIDa4=
scale5=1.0
type3=8
min5=0.0
forcedmax8=1000.0
class5=org.prowl.torque.widgets.Readout
label7=Fuel Pres.
extraConfigA1=
forcedmax6=0.0
scale4=1.0
highFlash4=16.0
forcedmin8=200.0
highFlash8=3.4028235E38
class2=org.prowl.torque.widgets.Readout
forcedmin7=auto
unit7=psi
extraConfigA2=
type7=8
pid3=16716290
class0=org.prowl.torque.widgets.Readout
type4=7
type6=11
max6=100.0
x2=1165.0
forcedmin0=auto
y6=660.0
lowFlash3=1.4E-45
class1=org.prowl.torque.widgets.Readout
pid5=47
scale2=1.0
highFlash0=3.4028235E38
unit2=\u00b0F
pid2=5
prefsVersion=2
displayScale0=1.0
max7=60.0
label4=Volts
numberDecimals1=0
highFlash5=3.4028235E38
min8=200.0
class3=org.prowl.torque.widgets.MeterB
x5=1145.0
y8=360.0
class4=org.prowl.torque.widgets.Readout
forcedmax4=0.0
forcedmax7=0.0
class8=org.prowl.torque.widgets.HalfMeter
pid8=60
min6=0.0
x1=705.0
pid7=35
extraConfigA4=
min2=-40.0
extraConfigA8=
displayScale8=1.0
forcedmin6=auto
displayScale4=1.0
forcedmin3=0.0
pidUUIDa0=
max5=100.0
label5=Fuel
numberDecimals4=-1
highFlash6=3.4028235E38
type8=8
max0=200.0
y4=940.0
pidUUIDa3=
forcedmax5=0.0
lowFlash6=1.4E-45
unit1=%
label8=EGT
unit8=\u00b0F
numberDecimals2=0
max1=100.0
max8=1000.0
unit5=%
y2=1000.0
lowFlash4=1.4E-45
scale0=1.0
type2=7
lowFlash0=1.4E-45
unit6=%
pid6=4
lowFlash2=-15.0
extraConfigA7=
class6=org.prowl.torque.widgets.MeterB

pid0=8496
label3=Boost
x8=445.0
max2=120.0
scale3=1.0

Capp777
Member
Posts: 2993
Post Re: Trying to customize theme
on: January 24, 2019 (GMT)

Your exported .dash file contains a
snapshot of the displays on your
dashboard which can be imported
into another device. (Not actually part
of the theme).

The properties.txt file is used separately
to tell Torque how to create your display
components.

Boznian2
Member
Posts: 28
Post Re: Trying to customize theme
on: January 24, 2019 (GMT)

OK, but the properties.txt file has virtually nothing in it that relates to my current layout. I see where it is showing my customization of the Boost gauge (start/end position) and my dial color to white, but outside of that it is a completely stock file. I don’t even have an RPM gauge, yet it shows in this file. If all the details are kept in the .dash file, how do I control/edit them in the properties.txt file when there is virtually nothing in here related to my setup??

# Dial main settings, more will be added upon request for particular setting(s)
# for Details, see: http://torque-bhp.com/wiki/PluginDocumentation
dialTickInnerRadius=1.25
dialTickOuterRadius=1.3
#Color of the tick mark, only the tock mark
displayTickColour=#f9f9f9
#This is the title of the sensor and the color of the values
displayTextTitleColour=#f9f9f9
#This will be the Sensor numerically variable value
displayTextValueColour=#f9f9f9
#appears to be the needle color
displayIndicatorColour=#f9f9f9
dialNeedleLength=1.00
globalHideTicks=false
#Turbo Boost
dialStartAngle_ff1202=180
dialStopAngle_ff1202=0
#Engine RPM
dialStartAngle_0c=50
dialStopAngle_0c=90
#global
dialStartAngle=70
dialStopAngle=70

Capp777
Member
Posts: 2993
Post Re: Trying to customize theme
on: January 24, 2019 (GMT)

The properties.txt file can be edited to
customize for specific pids or globally
for all pids.

In your example file Boost and RPMs have
been customized to use start/stop angles
while the global form of the command
uses 70/70 for all other displays.

If you were to add a RPM display ([0c]) the
settings defined in your properties.txt
file would be used.

To customize other pids you would have to
add the additional commands to the text
file as needed.

Torquescan can be used to determine the
pid addresses needed for commands.

Your .dash file was not meant to be edited. It
is only used to import what was exported at
the time it was created.

Boznian2
Member
Posts: 28
Post Re: Trying to customize theme
on: January 25, 2019 (GMT)

OK, thanks for your help – I do appreciate it. I am still having trouble wrapping my head around how these files interact. It just seems bizarre that ALL the info for the layout and design is already in the .dash file and there is virtually nothing in the properties.txt file. Isn’t there some better resource around beyond the very limited page here on the Wiki?

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.039 seconds.

  Follow me on twitter