HMs DIY #1-6

Store Link

Because I want to keep this datafield and the app free for use I would be very grateful about a small donation to PayPal

A detailed description of how to use it can be found here: 

HMs_DIY_GUIDANCE.pdf
HMs_DIY_ANLEITUNG.pdf

Thanks very much to mcinner1 for putting so much time into this documentation!

Designer download

You can contribute on my github page.
You can upload your layout so others can use it as well.
Also any changes to the fonts.txt can be updated there as well.

Garmin_HMsDIY

=======================================================================
RELEASE NOTES
=======================================================================
-----------------------------------------------------------------------
3.6.2
* switched to new SDK 7.2.1
* added devices: Approach S7 42mm, Descent Mk3 43mm /Mk3i 43mm, Descent Mk3i 51mm, Edge 1050, epix Pro Gen2 42mm, epix Pro Gen2 47mm / quatix 7 pro, epix Pro Gen2 51mm / D2 mach 1 pro / tactix 7
Fenix 7 Pro, Fenix 7 Pro Solar, Fenix 7S Pro, Fenix 7X Pro, Fenix 7xPro Solar, Forerunner 165, Forerunner 165M, Venu 3, Venu 3S, Vivoactive 5
-----------------------------------------------------------------------
3.5.1
* switched to new SDK 4.2.4
* added devices: FR265, FR265S, FR965, GPSMAP 67/67i, Marq (Gen 2), Marq (Gen 2) Aviator, EDGE 540, EDGE 840, Instinct 2x Solar
* added two new font types GLANCE, GLANCENR (only available if device supports it!)

for full releasenotes see: releasenotes.txt
=======================================================================

 

  • These are the settings I came up with for a Vivoactive 4. It's a first pass, but I think they're close enough.

    FNT_VIVOACTIVE4_BOLD_NUMBER_FONT_5;IDR_FNT_BEBASNEUE_REG; 76; -12; 0; 13; -13
    FNT_VIVOACTIVE4_BOLD_NUMBER_FONT_6;IDR_FNT_BEBASNEUE_REG; 90; -16; 0; 18; -18
    FNT_VIVOACTIVE4_REGULAR_NUMBER_FONT_1;IDR_FNT_BEBASNEUE_REG; 39; -7; 1; 8; -5
    FNT_VIVOACTIVE4_REGULAR_NUMBER_FONT_2;IDR_FNT_BEBASNEUE_REG; 56; -10; 0; 10; -10
    FNT_VIVOACTIVE4_ROBOTO_MEDIUM_BOLD;IDR_FNT_BEBASNEUE_REG; 31; -4; 0; 5; 4
    FNT_VIVOACTIVE4_ROBOTO_MEDIUM_PLUS_BOLD;IDR_FNT_BEBASNEUE_REG; 35; -5; 0; 6; 1
    FNT_VIVOACTIVE4_ROBOTO_SMALL_BOLD;IDR_FNT_BEBASNEUE_REG; 25; -3; 0; 4; 4
    FNT_VIVOACTIVE4_ROBOTO_TINY_BOLD;IDR_FNT_BEBASNEUE_REG; 10; 0; 0; 0; 0
    FNT_VIVOACTIVE4_ROBOTO_TINY_PLUS_BOLD;IDR_FNT_BEBASNEUE_REG; 25; -3; 0; 4; 2
    FNT_VIVOACTIVE4_ROBOTO_XTINY_BOLD;IDR_FNT_BEBASNEUE_REG; 20; -2; 0; 3; 4
    

    Now I'm just having an issue to get anything to display on my actual device. I add the data screen, set it to one field, set that field to DIY. And in the Android app I copied test string into the default field. However, only a blank white screen appears so I need to look into that a bit more.

    Edit: Got something to display on my device now, but I think it's evidence that my font settings aren't that good since everything is off from what's displayed in the editor. So, back to the drawing board.

  • I'm stumped again. Using the font settings I previously posted and an example xml, I see a setup that appears to be sized right. But when I load it on my watch everything is off. Here's an album with the comparison: https://imgur.com/a/OYIXZRn

    I just selected christian888_FR935_hiking.xml, switched the device to vivoactive 4, then scaled to device and came up with the second pic. The first pic is what I see on my watch.

  • Hi

    Seems to me that you have a Vivoactive 4S, looks more like it.

    regards

    Erich

  • Just out of curiosity: I‘m wondering if one can see which kind of memory-sized-device a special device is.

    Can one see here in „specs“?

    https://buy.garmin.com/en-US/US/p/643382/pn/010-02174-01

    ...you know, I mean the DIY element classes (H) (M) —

  • Nope, it's definitely a plain old 4. The back says 4 and the Garmin app confirms it.

  • Could you post your xml please.

  • Just to make sure I'm not messing it up with edits, I started fresh. I loaded christian888_FR935_hiking.xml from the examples folder into the program, changed the Device to vivoactive 4, clicked Scale to device, then copied that code to the clipload and loaded it into the Connect IQ app.

    Here is the comparison of the app and what I see on my watch: https://imgur.com/a/1Snodvo

    It's a little different from my first example, but still off.

    This is the xml from the example I used:

    <?xml version="1.0" encoding="UTF-8"?>
    <DIYLayout>
        <Device name="Forerunner 935"/>
        <LayoutElement type="1" color="000000" x="120" y="120" x2="0" y2="0" eletype="CF" valuetype="FX" radius="120" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FF8040" x="120" y="120" x2="200" y2="41" eletype="CR" valuetype="FX" radius="120" stroke="9" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="0" y="0" x2="240" y2="40" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="0" y="200" x2="240" y2="240" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="30" y="68" x2="210" y2="68" eletype="LN" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="30" y="143" x2="210" y2="143" eletype="LN" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="120" y="6" fixedtext="false" eletype="CL" text="$V" font="NR_MILD" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="77" y="17" x2="85" y2="33" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="155" y="17" x2="163" y2="33" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="49" y="40" fixedtext="true" eletype="FX" text="up" font="XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="83" y="38" fixedtext="false" eletype="TA" text="$V" font="SMALL" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="133" y="40" fixedtext="true" eletype="FX" text="down" font="XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="180" y="38" fixedtext="false" eletype="TD" text="$V" font="SMALL" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="110" y="76" fixedtext="false" eletype="CT" text="$H:$M" font="NR_THAI_HOT" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="210" y="84" fixedtext="false" eletype="BV" text="$V" font="S_XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="210" y="106" fixedtext="true" eletype="BV" text="%" font="S_XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="75" y="142" fixedtext="true" eletype="FX" text="sum" font="S_XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="165" y="142" fixedtext="true" eletype="FX" text="lap" font="S_XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="75" y="168" fixedtext="false" eletype="DS" text="$V" font="NR_MILD" halignment="1" precision="2" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="165" y="168" fixedtext="false" eletype="LD" text="$V" font="NR_MILD" halignment="1" precision="2" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="81" y="200" fixedtext="true" eletype="FX" text="hr" font="S_XTINY" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="0" color="FFFFFF" x="120" y="203" fixedtext="false" eletype="HR" text="$V" font="NR_MILD" halignment="1" precision="0" nr_values="1"/>
    </DIYLayout>
    

  • I did some work to help you...

    Find attached a ZIP-file with:

    - fonts(McInner).txt     
                      an Vivoactive 4 edited font.txt file. Copy it to the folder of the Designer tool and rename it fonts.txt.
                      If you have edited your font.txt already then make a backup of your file.
    - VA4_font_test1.xml    a font test layout
    - VA4_hiking.xml           your testlayout - adapted for Vivoactive 4

    Load the layout-file(s) to the designer and transmit the layout to your watch.

    Then upload pictures of the watch!

    Since I have no Vivoactive 4 watch, I cannot check if the fonts.txt file is ok.

    7455.FontMappingVIVOACT_4.zip