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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maxpower3
    Bad Veteran
    • Feb 2018
    • 1214
    • France

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

    Comment

    • inflex
      Badcaps Veteran
      • Aug 2012
      • 544
      • Australia

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

      Comment

      • inflex
        Badcaps Veteran
        • Aug 2012
        • 544
        • Australia

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

        Comment

        • inflex
          Badcaps Veteran
          • Aug 2012
          • 544
          • Australia

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

          Comment

          • Maxpower3
            Bad Veteran
            • Feb 2018
            • 1214
            • France

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

            Comment

            • inflex
              Badcaps Veteran
              • Aug 2012
              • 544
              • Australia

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

              Originally posted by Maxpower3
              ha I was wrong , happy if that can help you
              Some of the dates are coming out strange; not sure if that's because they're using a different calendar (non-Georgian) or the data isn't being decoded right.

              ie, I'll get "October 89, 3899" or similar
              YouTube Repair Videos - https://www.youtube.com/user/19PLD73
              FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

              Comment

              • Maxpower3
                Bad Veteran
                • Feb 2018
                • 1214
                • France

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

                others chars not coded ,I would rather be sure

                i will look for the dates
                Attached Files

                Comment

                • inflex
                  Badcaps Veteran
                  • Aug 2012
                  • 544
                  • Australia

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

                  So far all the sequential, unbroken strings are decoding correctly that I can ascertain, though they don't contain numbers ( decoded ).

                  Two things I need to clarify are;

                  1) Does the rolling index halt, or reset (to zero) when a non-alpha/numerical character is encountered in the string? ( I'm strongly suspecting a reset to zero )

                  2) Are the numbers being correctly decoded ( probably just have to go through many files and see statistically what the decoding results are. Lower value (0~6) seem okay but there might be an issue with 8~9 :shrug:
                  YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                  FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                  Comment

                  • inflex
                    Badcaps Veteran
                    • Aug 2012
                    • 544
                    • Australia

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

                    If I modify my decoder, and make it so it keeps rolling with the rolling index on a '-', we start to see => Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictnjfu ehodv.'

                    Which makes me think that the first part there should be Tebo-ictview, not Tebo-ictnjfu, because if you look iat it, "njfu" is actually close to "view" as the last 3 letters are one letter too advanced, jfu => iew; so that makes me think that it should be Tebo-ictview... best I go fix my decoding system


                    Code:
                    int TVW_decode_string( char *dest, char *s, ssize_t l ) {
                    	ssize_t i = 0;
                    	int r = 0; // roll position
                    	while ( i < l && *s ) {
                    		if (isalnum(*s)) {
                    			dest[i] = TVW_dec[(ssize_t)*s][r % 8];
                    			r++;
                    		} else if (*s == '-') {
                    			dest[i] = *s;
                    			r++;
                    		}
                    		else {
                    			dest[i] = *s; 
                    			r=0;
                    		}
                    //		r++;
                    		i++;
                    		s++;
                    	}
                    	dest[l] = 0;
                    	return 0;
                    }
                    YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                    FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                    Comment

                    • Maxpower3
                      Bad Veteran
                      • Feb 2018
                      • 1214
                      • France

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

                      continuous rotation in relation to the number of characters

                      zzzzzzz = u t s r q p o
                      zzzzzzzzzz= u t s r q p o n m l

                      I saw that I made mistakes in the decoding

                      Comment

                      • Maxpower3
                        Bad Veteran
                        • Feb 2018
                        • 1214
                        • France

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

                        Originally posted by inflex
                        If I modify my decoder, and make it so it keeps rolling with the rolling index on a '-', we start to see => Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictnjfu ehodv.'
                        if you change this, the program no longer recognizes the filename and therefore does not accept it, yes it designates the type of files

                        Comment

                        • inflex
                          Badcaps Veteran
                          • Aug 2012
                          • 544
                          • Australia

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

                          The decoding is fine until the 9th character; ie, we decode 'Y960v50n' to 'December' correctly but something changes in the algorithm after the 8th char and I'm not sure what yet.

                          I'm not modifying the code in the file, I'm trying to make my decoder function correctly convert 'O95w-28ps49m' to 'Tebo-ictview' based on an assumption that that is what the header *should* be decoded as.

                          Right now we get the first 8 characters right if I don't increase the rolling-index for the '-' ( ie, only increase for 0-9, a-z, A-Z ), but the algorithm still breaks after the 8th character and interestingly there's no mapping from a 's' encoded char to a 'v' output (closest is 'k' input for rolling-index zero (0).

                          However after that char, the rest of the letters are then 1 index too far ahead.

                          Maybe the header string isn't meant to be decoded to "Tebo-ictview" but it seems like it would be a natural thing given that we have "Tebo-ict" for the first 8 characters of decoded string.
                          YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                          FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                          Comment

                          • Maxpower3
                            Bad Veteran
                            • Feb 2018
                            • 1214
                            • France

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

                            ssssssssssssss = nmlkzyxwvunmlk

                            look 9th

                            my decoder is bad
                            s : n m l x z y x w
                            Last edited by Maxpower3; 11-21-2021, 07:21 AM.

                            Comment

                            • inflex
                              Badcaps Veteran
                              • Aug 2012
                              • 544
                              • Australia

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

                              Originally posted by Maxpower3
                              ssssssssssssss = nmlkzyxwvunmlk

                              look 9th
                              How did you do this conversion?

                              The mapping I have now ends after 8th


                              Code:
                              	 { 'n', 'm', 'l', 'k', 'z', 'y', 'x', 'w' }, // 's'
                              YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                              FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                              Comment

                              • Maxpower3
                                Bad Veteran
                                • Feb 2018
                                • 1214
                                • France

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

                                Originally posted by inflex
                                How did you do this conversion?

                                The mapping I have now ends after 8th


                                Code:
                                	 { 'n', 'm', 'l', 'k', 'z', 'y', 'x', 'w' }, // 's'
                                I force the number of characters to have the rest of the decoding
                                Attached Files

                                Comment

                                • inflex
                                  Badcaps Veteran
                                  • Aug 2012
                                  • 544
                                  • Australia

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

                                  Originally posted by Maxpower3
                                  I force the number of characters to have the rest of the decoding
                                  Oh very smart!
                                  YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                                  FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                                  Comment

                                  • inflex
                                    Badcaps Veteran
                                    • Aug 2012
                                    • 544
                                    • Australia

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

                                    Originally posted by Maxpower3
                                    I force the number of characters to have the rest of the decoding
                                    Based on your technique, it appears that there's 10 columns total for the normal letters; I'll code this up and see how it goes then.
                                    Attached Files
                                    YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                                    FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                                    Comment

                                    • Maxpower3
                                      Bad Veteran
                                      • Feb 2018
                                      • 1214
                                      • France

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

                                      Originally posted by inflex
                                      Oh very smart!
                                      ssssssssssssss = nmlkzyxwvu_nmlk
                                      ______________12345678910_1234

                                      you notice that after 10th it starts again

                                      Comment

                                      • Maxpower3
                                        Bad Veteran
                                        • Feb 2018
                                        • 1214
                                        • France

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

                                        Originally posted by inflex
                                        Based on your technique, it appears that there's 10 columns total for the normal letters; I'll code this up and see how it goes then.
                                        exactly, we saw it at the same time

                                        @paul :look your mp sometimes

                                        Comment

                                        • inflex
                                          Badcaps Veteran
                                          • Aug 2012
                                          • 544
                                          • Australia

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

                                          I have confirmed that it should read "Teboview-ict file" ( O95w-28ps49m 02v9 ). With that knowledge I will now try fix my algorithm
                                          YouTube Repair Videos - https://www.youtube.com/user/19PLD73
                                          FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

                                          Comment

                                          Related Topics

                                          Collapse

                                          • 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
                                          • Zentech
                                            Unable to Write Bios File to SOCIC 25Q128FVPQ Chip
                                            by Zentech
                                            bios chip: 25Q128FVPQ
                                            MB SN: 6050A2822301-MB-A01
                                            when I first got this laptop the bios was locked, I unsoldered and unlocked the bios. the problem is that I lifted a couple of pads from the MB. So I couldn't use the WSON chip that comes with the board, so I got an equivalent bios chip SOCIC 8pin. The problem is that I'm trying to write the file (original) to the chip and it will not program it. I'm using NeoProgrammer.
                                            Here's the error
                                            Code:
                                            Current programmer: CH341
                                            15:29:00
                                            Programming memory(verifying)...
                                            Verification error on address: 00133000
                                            ...
                                            03-10-2022, 02:39 PM
                                          • hazem3636
                                            need Bios Bin file Dell server 220
                                            by hazem3636
                                            hi everyone

                                            i need dump file for dell server r220
                                            i have download Flash BIOS executable file but i dont know how to conver it to Bin file

                                            i have check on youtube there is some programs are doing this method of creating Bin file from ExE file .


                                            if anyone has this method please need his supporting .

                                            all the best

                                            EXE file is attched and Original Bin file from the Bios Chip is attached also

                                            and dell website "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=mrxv...
                                            11-05-2022, 06:20 AM
                                          • traxformania
                                            TONGFANG "GM7TG7P" Bios Password Problem?
                                            by traxformania
                                            Hello,

                                            I'm using TONGFANG "GM7TG7P" model laptop for over 3 years and i'm entering the same bios administrator password everyday. My laptop has Aptio BIOS (American Megatrends, AMI).

                                            But today it's not accepting my password. I'm %100 sure i'm entering the correct password.

                                            I'm trying to reset my bios without success.

                                            I tried :

                                            -I removed the BIOS battery and main battery. Waited for a long time but it didn't work. They already stated in the user manual that the password will not be reset even if the batteries...
                                            11-15-2023, 07:32 AM
                                          • Loading...
                                          • No more items.
                                          Working...