Thank you to the guys at HEGE supporting Badcaps [ HEGE ] [ HEGE DEX Chart ]

Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Removing the password is trivial.

    I took a file which has a password in it, and removed the string that occurs after the .G34S string and set the string length byte to 0. Now is readable in TeboView 4 without requesting the password.
    Attached Files
    YouTube Repair Videos - https://www.youtube.com/user/19PLD73
    FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

    Comment


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

      Oddly the Gigabyte file didn't open in TeboView 4 even after stripping the password… But forcing the previous string to "G34…" stopped it from complaining about license :-)
      Opened a PR with a python tool to strip the password.

      Comment


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

        Anyone want to throw a theory on why some of the TVW files have this extended sort of header before the first labelled layer?

        Seems there's a few occurrences of the 0 3 2 1 sequence in it.

        This is the Gigabyte file that was attached in a slightly earlier post here in this thread.
        Attached Files
        YouTube Repair Videos - https://www.youtube.com/user/19PLD73
        FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

        Comment


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

          Originally posted by inflex View Post
          Removing the password is trivial.

          I took a file which has a password in it, and removed the string that occurs after the .G34S string and set the string length byte to 0. Now is readable in TeboView 4 without requesting the password.
          For decoding Customer ID

          0000000 1111111 2222222 3333333 4444444 5555555 6666666 7777777 8888888 9999999
          efgefge fghfghf ghighig hijhijh ijaijai jabjabj abcabca bcdbcdb cdecdec defdefd

          aaaaaaa bbbbbbb ccccccc ddddddd eeeeeee fffffff ggggggg hhhhhhh
          3453453 2342342 1231231 0120120 9019019 8908908 7897897 6786786

          iiiiiii jjjjjjj kkkkkkk lllllll mmmmmmm nnnnnnn ooooooo ppppppp
          5675675 4564564 vutsrqp wvutsrq xwvutsr yxwvuts zyxwvut kzyxwyu

          qqqqqqq rrrrrrr sssssss ttttttt uuuuuuu vvvvvvv wwwwwww xxxxxxx
          ikzyxwv mlkzyxw nmlkzyx onmlkzy ponmikz qponmlk rqponml srqponm

          yyyyyyy zzzzzzz
          tsrqpon utsrqpo

          First Number
          0 e
          1 f
          2 g
          3 h
          4 i
          5 j
          6 a
          7 b
          8 c
          9 d

          a 3
          b 2
          c 1
          d 0
          e 9
          f 8
          g 7
          h 6
          i 5
          j 4
          k v
          l w
          m x
          n y
          o z
          p k
          q l
          r m
          s n
          t o
          u p
          v q
          w r
          x s
          y t
          z u



          75785zn
          badcaps
          Attached Files
          Last edited by Maxpower3; 11-20-2021, 07:55 AM.

          Comment


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

            Originally posted by Maxpower3 View Post
            For decoding Customer ID

            0000000 1111111 2222222 3333333 4444444 5555555 6666666 7777777 8888888 9999999
            efgefge fghfghf ghighig hijhijh ijaijai jabjabj abcabca bcdbcdb cdecdec defdefd
            Oh my, how did you conjure this up? Inside knowledge or just worked out the crypt?

            Regards, Paul.
            YouTube Repair Videos - https://www.youtube.com/user/19PLD73
            FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

            Comment


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

              Originally posted by inflex View Post
              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.

              Comment


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

                It does appear in boardviewer
                Attached Files
                All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                Comment


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

                  You chaps are vastly better at this than I am. Thank you.
                  YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                  FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                  Comment


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

                    Originally posted by inflex View Post
                    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

                    Comment


                      #70
                      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.
                      YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                      FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                      Comment


                        #71
                        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.

                        Comment


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

                          Hmm so possibly other strings are encoded alike ?

                          Comment


                            #73
                            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

                            Comment


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

                              Originally posted by mmu View Post
                              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.
                              YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                              FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                              Comment


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

                                Originally posted by inflex View Post
                                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

                                Comment


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

                                  Originally posted by inflex View Post
                                  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.

                                  Comment


                                    #77
                                    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.
                                    YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                                    FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                                    Comment


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

                                      8th chars
                                      Attached Files

                                      Comment


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

                                        Originally posted by inflex View Post
                                        (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.

                                        Comment


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

                                          Originally posted by Maxpower3 View Post
                                          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.
                                          YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                                          FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                                          Comment

                                          Working...
                                          X