dadydodo
Main Eventer
- Joined
- Feb 2, 2012
- Messages
- 719
- Reaction score
- 0
after nearly a year searching the internet on bpe compressor tool of-course I didn't find any one so I decided to start from the beginning and work over hardx36 work
http://forum.xentax.com/viewtopic.php?f=21&t=9211
and followed the bpe.c source program & because I am not a programmer & I don't understand anything about c language so it took me a while to make a tool bpe.exe like hardx36 posted in the site
here are my results
the tool which hardx36 made was completely wrong it's size is 19kb
I have compiled it taking hardx36 advise using dev-c++
the tool I produced is 150kb & 105kb
I don't understand the difference & it doesn't matter but here it is the results I achieved
the numbers hardx36 ware wrong may be it worked on the file he posted because it was very small that's why aluigi said it is different the true numbers are
4000 is the blocksize, 8192 is the hash size, 200 is the maxchars and 3 is the THRESHOLD
I have tested these numbers on the wrestlers yobj files :-
I found out that
the produced file has no header (we can easily make one)
the size for the new bpe is the same for the original 02.bpe file
(the digits when I opened both files in the hex editor ware the same length)
and bpe digits ware the same in different parts on the new bpe
when you use hardx36 number It will produce
files with different sizes & digits with different length
so the length & size problem is solved using the codes I wrote
but still the inverted numbers problem
I have tried to use different values but still the numbers are twisted so I made my research here about those inverted numbers (the hole file is correct except at these points after
00 00 01
00 00 02
00 00 03
00 00 04
00 00 80 01-02-03-04
00 00 81 01-02-03-04
00 00 82 01-02-03-04
00 00 83 01-02-03-04
00 00 84 01-02-03-04
00 00 85 01-02-03-04
00 00 86 01-02-03-04
00 00 87 01-02-03-04
00 00 88 01-02-03-04
00 00 89 01-02-03-04
00 00 8A 01-02-03-04
00 00 8B 01-02-03-04
00 00 8C 01-02-03-04
00 00 8D 01-02-03-04
00 00 8B 01-02-03-04
00 00 8F 01-02-03-04
00 00 90 01-02-03-04
00 00 91 01-02-03-04
00 00 92 01-02-03-04
00 00 93 01-02-03-04
00 00 94 01-02-03-04
00 00 95 01-02-03-04
00 00 96 01-02-03-04
00 00 97 01-02-03-04
00 00 98 01-02-03-04
00 00 99 01-02-03-04
00 00 9A 01-02-03-04
00 00 9B 01-02-03-04
00 00 9C 01-02-03-04
00 00 9D 01-02-03-04
00 00 9E 01-02-03-04
00 00 9F 01-02-03-04
for example
if you search for
00 00 80 01 in both the original & the new bpe
you will find that in the original 01 in that position is always twisted by the next number
the same for 00 00 80 02
00 00 81 03- -00 00 80 04
since we can't find out how to correct this mistake I see we can make a tool (a replacer)
searches the files in hex for these points & corrects it automatically
I am not a programmer but I know that can be done
the idea of this tool is
1)search the hole file for ex 00 00 82 02 (b)
[ b is number form 00 to ff ]
2)then make It 00 00 82 (b) 02
this is how we can get bpe compressor
try it on any wrestler yobj using the codes I posted
then compare the new file with the 02.bpe original in the hex editor
ps:- remove the 02.bpe original header the first line to make it easy to compare
Attachments:
http://forum.xentax.com/viewtopic.php?f=21&t=9211
and followed the bpe.c source program & because I am not a programmer & I don't understand anything about c language so it took me a while to make a tool bpe.exe like hardx36 posted in the site
here are my results
the tool which hardx36 made was completely wrong it's size is 19kb
I have compiled it taking hardx36 advise using dev-c++
the tool I produced is 150kb & 105kb
I don't understand the difference & it doesn't matter but here it is the results I achieved
the numbers hardx36 ware wrong may be it worked on the file he posted because it was very small that's why aluigi said it is different the true numbers are
4000 is the blocksize, 8192 is the hash size, 200 is the maxchars and 3 is the THRESHOLD
I have tested these numbers on the wrestlers yobj files :-
I found out that
the produced file has no header (we can easily make one)
the size for the new bpe is the same for the original 02.bpe file
(the digits when I opened both files in the hex editor ware the same length)
and bpe digits ware the same in different parts on the new bpe
when you use hardx36 number It will produce
files with different sizes & digits with different length
so the length & size problem is solved using the codes I wrote
but still the inverted numbers problem
I have tried to use different values but still the numbers are twisted so I made my research here about those inverted numbers (the hole file is correct except at these points after
00 00 01
00 00 02
00 00 03
00 00 04
00 00 80 01-02-03-04
00 00 81 01-02-03-04
00 00 82 01-02-03-04
00 00 83 01-02-03-04
00 00 84 01-02-03-04
00 00 85 01-02-03-04
00 00 86 01-02-03-04
00 00 87 01-02-03-04
00 00 88 01-02-03-04
00 00 89 01-02-03-04
00 00 8A 01-02-03-04
00 00 8B 01-02-03-04
00 00 8C 01-02-03-04
00 00 8D 01-02-03-04
00 00 8B 01-02-03-04
00 00 8F 01-02-03-04
00 00 90 01-02-03-04
00 00 91 01-02-03-04
00 00 92 01-02-03-04
00 00 93 01-02-03-04
00 00 94 01-02-03-04
00 00 95 01-02-03-04
00 00 96 01-02-03-04
00 00 97 01-02-03-04
00 00 98 01-02-03-04
00 00 99 01-02-03-04
00 00 9A 01-02-03-04
00 00 9B 01-02-03-04
00 00 9C 01-02-03-04
00 00 9D 01-02-03-04
00 00 9E 01-02-03-04
00 00 9F 01-02-03-04
for example
if you search for
00 00 80 01 in both the original & the new bpe
you will find that in the original 01 in that position is always twisted by the next number
the same for 00 00 80 02
00 00 81 03- -00 00 80 04
since we can't find out how to correct this mistake I see we can make a tool (a replacer)
searches the files in hex for these points & corrects it automatically
I am not a programmer but I know that can be done
the idea of this tool is
1)search the hole file for ex 00 00 82 02 (b)
[ b is number form 00 to ff ]
2)then make It 00 00 82 (b) 02
this is how we can get bpe compressor
try it on any wrestler yobj using the codes I posted
then compare the new file with the 02.bpe original in the hex editor
ps:- remove the 02.bpe original header the first line to make it easy to compare
Attachments: