WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Fixed up an issue in column 4 data decoder ( was offset by a few chars )
    ha I was wrong , happy if that can help you

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Fixed up an issue in column 4 data decoder ( was offset by a few chars )

    Moving pointer ahead...Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-gdykjfr ehodv.'
    UKV 1: 1
    7 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Owner: 'G34vS4z' => 'LianBao'
    3 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Password: 'YZM' => 'DFT'
    16 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Date: 'J7kw68m ff, beef' => 'October 89, 2018'
    Empty string
    Header 5: '' => ''
    Empty string
    Header 6: '' => ''
    6 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Header 7: 'YZMded' => 'DFT002'
    Moving pointer ahead...Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-gdykjfr ehodv.'
    UKV 1: 1
    7 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Owner: 'G5u9k8s' => 'Landrex'
    8 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Password: 'B!Z@6sob' => 'G!E@amx2'
    13 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Date: 'Eksq dc, beeh' => 'July 02, 2016'

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    There's actually some quirks to the way they've encoded those strings; if it's not part of the alnum set, then the character isn't encoded, but I can't work out if the rotation moves to the net step, or if it resets.


    Trying to find some clear example strings in the data to check.

    Moving pointer ahead...Header 1: 'O95w-28ps49m 02v9o.' => 'Tebl-gdyxjfr ehodv.'
    UKV 1: 1
    7 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Header 1: 'G34vS4z' => 'LiakBao'
    Empty string
    Header 1: '' => ''
    14 bytes allocated for string
    Copying data to string
    Moving pointer ahead...Header 1: 'Vvy4u cc, cfcg' => 'Aprii 12, 1937'

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Have added 8th rotation, and now encoding matrix as well.

    https://raw.githubusercontent.com/in...ode-string.cpp

    Code:
        { 'R', 'Q', 'P', 'O', 'N', 'M', 'L', 'K' }, // 'W'
        { 'S', 'R', 'Q', 'P', 'O', 'N', 'M', 'L' }, // 'X'
        { 'T', 'S', 'R', 'Q', 'P', 'O', 'N', 'M' }, // 'Y'
        { 'U', 'T', 'S', 'R', 'Q', 'P', 'O', 'N' }, // 'Z'
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // '['
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // '\'
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // ']'
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // '^'
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // '_'
        { 0, 0, 0, 0, 0, 0, 0, 0 }, // '`'
        { '6', '5', '4', '6', '5', '4', '6', '5' }, // 'a'
        { '7', '6', '5', '7', '6', '5', '7', '6' }, // 'b'
        { '8', '7', '6', '8', '7', '6', '8', '7' }, // 'c'
        { '9', '8', '7', '9', '8', '7', '9', '8' }, // 'd'
        { '0', '9', '8', '0', '9', '8', '0', '9' }, // 'e'
        { '1', '0', '9', '1', '0', '9', '1', '0' }, // 'f'
        { '2', '1', '0', '2', '1', '0', '2', '1' }, // 'g'
        { '3', '2', '1', '3', '2', '1', '3', '2' }, // 'h'
        { '4', '3', '2', '4', 'u', '2', '4', '3' }, // 'i'
        { '5', '4', '3', '5', '4', '3', '5', '4' }, // 'j'
        { 'p', 'q', 'r', 'v', 't', 'u', 'v', 'w' }, // 'k'
        { 'q', 'r', 's', 'w', 'v', 'v', 'w', 'x' }, // 'l'
        { 'r', 's', 't', 'x', 'v', 'w', 'x', 'y' }, // 'm'
        { 's', 't', 'u', 'y', 'w', 'x', 'y', 'z' }, // 'n'
        { 't', 'u', 'v', 'z', 'x', 'y', 'z', 'k' }, // 'o'
        { 'u', 'v', 'w', 'k', 'y', 'z', 'k', 'l' }, // 'p'
        { 'v', 'w', 'x', 'l', 'z', 'k', 'l', 'm' }, // 'q'
        { 'w', 'x', 'y', 'm', 'k', 'l', 'm', 'n' }, // 'r'
        { 'x', 'y', 'z', 'n', 'l', 'm', 'n', 'o' }, // 's'
        { 'y', 'z', 'k', 'o', 'm', 'n', 'o', 'p' }, // 't'
        { 'z', 'k', 'l', 'p', 'n', 'o', 'p', 'q' }, // 'u'
        { 'k', 'l', 'm', 'q', 'o', 'p', 'q', 'r' }, // 'v'
        { 'l', 'm', 'n', 'r', 'p', 'q', 'r', 's' }, // 'w'
        { 'm', 'n', 'o', 's', 'q', 'r', 's', 't' }, // 'x'
        { 'n', 'o', 'p', 't', 'r', 's', 't', 'u' }, // 'y'
        { 'o', 'p', 'q', 'u', 's', 't', 'u', 'v' }, // 'z'
    75785zn11111111
    badcapsgfghfghf
    75785zn11111111

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    The last byte is the string-length of the layer name.
    damn, I'm stupid, I have it in front of me, it's late here

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by Maxpower3
    indicates the start of each chapter or page, the last byte change, I don't know how to explain
    exemple:
    03 00 00 00 02 00 00 00 01 00 00 00 0E SILKSCREEN_TOP
    03 00 00 00 02 00 00 00 01 00 00 00 0E SOLDERMASK
    03 00 00 00 02 00 00 00 01 00 00 00 03 TOP
    03 00 00 00 02 00 00 00 01 00 00 00 03 IN1
    The last byte is the string-length of the layer name.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    (the 3-2-1 sequence appears to be a header/lead-in as opposed to a suffix).
    indicates the start of each chapter or page, the last byte change, I don't know how to explain
    exemple:
    03 00 00 00 02 00 00 00 01 00 00 00 0E SILKSCREEN_TOP
    03 00 00 00 02 00 00 00 01 00 00 00 0E SOLDERMASK
    03 00 00 00 02 00 00 00 01 00 00 00 03 TOP
    03 00 00 00 02 00 00 00 01 00 00 00 03 IN1
    Last edited by Maxpower3; 11-20-2021, 09:51 PM.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    8th chars
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Added a string decoder for testing, and will add this to the main program later.

    https://raw.githubusercontent.com/in...ode-string.cpp


    Code:
    pld@WorkstationTT:~/development/pld/teboviewformat$ gcc -Wall decode-string.cpp -o decode-string 
    
    pld@WorkstationTT:~/development/pld/teboviewformat$ ./decode-string 75785zn
    badcaps
    Last edited by inflex; 11-20-2021, 08:00 PM.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    So their licence "name" is locked at 7 chars (max) ?
    First byte 07 is sum of chars .

    07 47 33 34 76 53 34 7A 00 11 59

    _________ HEX ____________ASCII ____ DECODE______

    07 47 33 34 76 53 34 7A = G34vS4z = LianBao

    possible to modify the number of characters but you have to remove unnecessary letters from the dump, just leave 00 at the end.

    03 48 6E 49 00 11 59
    EX: 03 48 6E 49 = HnI = MxP

    8 chars max
    blocked by exe, not succeeded in putting more

    Many teboview (v3/v4.11/v4.12) with other customer ID in attachements
    Attached Files
    Last edited by Maxpower3; 11-20-2021, 07:54 PM.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Was thinking the same, like the other headers. Just off to sleep again, but worth trying on those other strings in the header.
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by mmu
    Hmm so possibly other strings are encoded alike ?
    Was thinking the same, like the other headers. Just off to sleep again, but worth trying on those other strings in the header.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    if I have time I will try to make an excel table as usual to decode

    Leave a comment:


  • mmu
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Hmm so possibly other strings are encoded alike ?

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    no idea for 7 chars,I just tested like this
    Last edited by Maxpower3; 11-20-2021, 10:41 AM.

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    So their licence "name" is locked at 7 chars (max) ?

    At least with the decoder we won't need to worry about that, but at least it's nice to know what that field is for.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Oh my, how did you conjure this up? Inside knowledge or just worked out the crypt?

    Regards, Paul.
    license must match in the program to open the file. otherwise failure
    The license can be modified in IctViewLicense.dll
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    You chaps are vastly better at this than I am. Thank you.

    Leave a comment:


  • SMDFlea
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    It does appear in boardviewer
    Attached Files

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Oh my, how did you conjure this up? Inside knowledge or just worked out the crypt?

    Regards, Paul.
    I never use teboview
    just search and compare
    Last edited by Maxpower3; 11-20-2021, 08:27 AM.

    Leave a comment:

Related Topics

Collapse

  • ahmedtou
    HOW CAN I UPDATE HL-DT-ST BD-RE GGW-H20N XA02
    by ahmedtou
    Hi everyone,
    help me please


    I have an HL-DT-ST BD-RE GGW-H20N with ROM version: XA02.




    When I tried to burn a 25GB Blu-ray disc using ImgBurn, I got an error.
    I will share all the details with you, including the disc information.




    Code:
    HL-DT-ST BD-RE  GGW-H20N XA02 (ATA)
    Current Profile: BD-R
    
    Disc Information:
    Status: Empty
    State of Last Session: Empty
    Erasable: No
    Free Sectors: 12,219,392
    Free Space: 25,025,314,816 bytes
    Free Time: 2715:27:17 (MM:SS:FF)
    Next
    ...
    08-27-2025, 08:49 AM
  • m1ch43lzm
    Notice to users of XGecu TL866II Plus / T48 / T56 / T76 programmers regarding BIOS backup file size
    by m1ch43lzm
    Hi everyone
    I noticed on the Xgpro software the BIOS backup files have extra bytes at the end when reading some chips, this is because the Xgpro software also reads the OTP region of those flash chips, and by default will append that region to the saved file
    Programmer models: XGecu TL866II Plus / T48 / T56 / T76

    Example: GD25LQ128D (1.8V), IC size is listed as 0x1000000 Bytes (16777216 bytes) + 0xC00 bytes, those extra 0xC00 bytes will be appended to the end of the saved file by default, resulting in a file size of 16780288 bytes
    There's also an extra OTP Secu.R...
    09-06-2025, 05:47 PM
  • to5it0
    Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e 2H1703-27220F Rev. A Marked as U2501 on the motherboard.
    by to5it0
    Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e - Stuck with 0275 Error CMS

    Hello everyone,

    I am attempting a repair on a Lenovo ThinkPad Yoga 11e that is currently stuck at boot with the error: "0275 error CMS" even after setup new bios battery and will not allow me to enter the BIOS/Setup.

    This is a critical issue that I believe requires flashing the BIOS chip directly using a programmer (e.g., CH341A/RT809H), as standard software updates or resets are not possible.

    I have opened the laptop and identified the main BIOS chip...
    10-24-2025, 01:35 AM
  • testaccgta
    Unable to verify IC or write/erase/flash BIOS file to XMC QH128AHIG SPI chip using NeoProgrammer/AsProgrammer
    by testaccgta
    Hi, everyone!

    I've recently acquired two brand new SPI chips to replace the one currently in my Acer A514-54G laptop MB (FH5AT LA-K092P). The reason why I'm replacing the current SPI chip is because I had some difficulties with a third-party IT assistant who pretty much lacked the soldering skills and ended up destroying the current SPI chip soldered to my MB from factory.

    I've decided to do this on my own because I spent the past month or so learning some soldering skills and BIOS modding through Badcaps and WinRaid forums, hence the attempt. I've also chosen to buy...
    09-01-2024, 08:24 PM
  • Forest79
    Lenovo ThinkStation P520 BIOS file needed
    by Forest79
    Hello,

    I got a Lenovo ThinkStation P520 (Type 30BF) from a friend, asking me for a repair. Windows 11 offered a firmware upgrade as an optional update, and it failed.
    The emergency flash procedure from the hardware manual has also failed. So, I asked an acquaintance with better skills to flash the BIOS directly.

    However, the chip (a Macronix MX25L25673GMI-08G) has a size of 32 MB, and the BIOS file from the Lenovo website (extracted with UEFITool) has a little more than 16 MB. Thus, the software my acquaintance used (SiberiaProg v1.45, with a CH341A Programmer)...
    07-23-2023, 07:39 AM
  • Loading...
  • No more items.
Working...