xboxscene.org forums

Author Topic: Displaying Cpu Temp Display On Home Screen  (Read 43 times)

Xombe

  • Archived User
  • Hero Member
  • *
  • Posts: 2110
Displaying Cpu Temp Display On Home Screen
« on: September 04, 2004, 01:27:00 AM »

Is it possible to get a display of temperature displays (CPU, GPU, fanspeed) on the main screen?  I've tried just copying the code from SettingsSystemInfo.xml and modifing the postition and ID tags to avoid conflicting with the main buttons.

I tried this putting this in home.xml:
QUOTE
   
    <control>
      <description>Temperatures text label</description>
      <type>label</type>
      <id>35</id>
      <posX>65</posX>
      <posY>200</posY>
      <label>139</label>
      <font>font13</font>
      <textcolor>5E9FAEFF</textcolor>
    </control>

    <control>
      <description>CPU: text label</description>
      <type>label</type>
      <id>36</id>
      <posX>65</posX>
      <posY>230</posY>
      <label>140</label>
      <font>font13</font>
      <textcolor>5E9FAEFF</textcolor>
    </control>

    <control>
      <description>GPU: text label</description>
      <type>label</type>
      <id>37</id>
      <posX>65</posX>
      <posY>260</posY>
      <label>141</label>
      <font>font13</font>
      <textcolor>5E9FAEFF</textcolor>
    </control>

    <control>
      <description>fanspeed text label</description>
      <type>label</type>
      <id>38</id>
      <posX>65</posX>
      <posY>290</posY>
      <label>-</label>
      <font>font13</font>
      <textcolor>5E9FAEFF</textcolor>
    </control>

And I get this:
user posted image
Obviously the empty fanspeed label gets replaced by the XBMC version.  So I checked scripts.xml in my language folder and found this:

<string><id>13300</id><value>Fanspeed:</value></string>

So I tried putting that "13300" in the fanspeed text label tag and got it to show this:user posted image
But no values show up... unsure.gif

Is this just in vain?  You can see I've got the newsfeed and time/date like I want it, and changed the font colors for the temp displays to look better, and I would just LOVE it if this could work.

BTW, I used ID tag values 35 to 38 just because they seemed undefined, so all the navigation works fine.  Am I on the right track, or is this beyond my abilities (re: something involving an SDK... sad.gif

Thanks for any input, and sorry for the long post.  <
Logged

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
Displaying Cpu Temp Display On Home Screen
« Reply #1 on: September 04, 2004, 08:07:00 AM »

The code to get these values is only contained in the appropriate window, so NO you can't do it without moving the code around.  <
Logged