Go Back  
Reply
 
Thread Tools
Old 03-01-2013   #21
GregoryRasputin
 
GregoryRasputin's Avatar
 
Join Date: Jan 2008
Posts: 14,665
Likes: 8,398
Liked 14,892 Times in 5,704 Posts
Mentioned: 1381 Post(s)
Tagged: 3 Thread(s)
Originally Posted by Nicolas19 View Post
Why @BwE does not Have developers tag(GREEN)?
Its in the process......



@3absiso
Nice Avatar
GregoryRasputin is online now   Reply With Quote
Likes: (1)
Old 03-01-2013   #22
3absiso
Senior Member
 
3absiso's Avatar
 
Join Date: Nov 2011
Location: Long Live PALESTINE
Posts: 1,760
Likes: 849
Liked 742 Times in 534 Posts
Mentioned: 231 Post(s)
Tagged: 0 Thread(s)
Originally Posted by GregoryRasputin View Post
Its in the process......



@3absiso
Nice Avatar
Thanx
hope the world will understand
__________________
We Will Rise Again
3absiso is offline   Reply With Quote
Old 03-01-2013   #23
sinsizer
Member
 
Join Date: Nov 2011
Posts: 190
Likes: 79
Liked 133 Times in 52 Posts
Mentioned: 37 Post(s)
Tagged: 0 Thread(s)
@BwE
I donīt know what you are doing at the statistic calculating part. But for only calculating it takes way to long.

I did some further testing for this. Written in C# and it took only a few milliseconds. You are writing nativ c++ I think, so it could be much faster than the following managed example:

Click here to see full text



Download
http://temp-share.com/show/dPf3L638W

Sourceproject
http://temp-share.com/show/Pf3Yq8tM2

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;

namespace dumpstatistic
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_DragEnter(object sender, DragEventArgs e)
        {
            e.Effect = DragDropEffects.All;
        }

        private void button1_DragDrop(object sender, DragEventArgs e)
        {
            double countff = 0;
            double count00 = 0;
            double countother = 0;
            Stopwatch sw = new Stopwatch();
            sw.Start();
            string[] test = (string[])e.Data.GetData(DataFormats.FileDrop);

            byte[] bytes = File.ReadAllBytes(test[0]);

            for (int i = 0; i < bytes.Length; i++)
            {
                if (bytes[i] == 0xFF)
                {
                     countff += 1;
                }

                else if (bytes[i] == 0x00)
                {
                    count00 += 1;
                }
                else if (bytes[i] != 0x00 || bytes[i] != 0xFF)
                {
                    countother += 1;
                }

            }
            countff = countff / bytes.Length * 100;
            count00 = count00 / bytes.Length * 100;
            countother = countother / 256 / bytes.Length * 100;
            textBox2.Text = countff.ToString("0.00") + "%";
            textBox1.Text = count00.ToString("0.00") + "%";
            textBox3.Text = countother.ToString("0.00") + "%";
            sw.Stop();
            label4.Text = sw.Elapsed.TotalMilliseconds.ToString() + " ms";
        }
    }
}


Calculating others is wrong! To lazy to iterate through all 256 possible bytes But even if I do, it should take only milliseconds.

Last edited by sinsizer; 03-01-2013 at 03:14 PM.
sinsizer is offline   Reply With Quote
Old 03-01-2013   #24
WalangAlam
Member
 
Join Date: Jan 2011
Posts: 196
Likes: 76
Liked 10 Times in 9 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Thanks much BwE for this. VERY nice tools just used it a while ago!
norpatch says ros0 and ros1 are unknown but this validators says ALL Green. Flashed and downgraded my PS3 just fine.

Last edited by WalangAlam; 03-01-2013 at 06:20 PM.
WalangAlam is offline   Reply With Quote
Old 03-01-2013   #25
BwE
Homebrew Developer
 
BwE's Avatar
 
Join Date: Sep 2010
Location: Australija
Posts: 945
Likes: 160
Liked 481 Times in 256 Posts
Mentioned: 257 Post(s)
Tagged: 0 Thread(s)
Originally Posted by sinsizer View Post
I donīt know what you are doing at the statistic calculating part. But for only calculating it takes way to long.

I did some further testing for this. Written in C# and it took only a few milliseconds. You are writing nativ c++ I think, so it could be much faster than the following managed example:

---

Calculating others is wrong! To lazy to iterate through all 256 possible bytes But even if I do, it should take only milliseconds.
I know, its a problem. I grab everything and do it differently. I have been too lazy to rebuild it, but I will very soon as I have already done similar. Also, what do you mean wrong? The results are fine.

Originally Posted by sinsizer View Post
Did some testing, filled 48byte with FF in bootldr:
That's because YOU filled it. But regardless, that will be detected in the next version.

Last edited by BwE; 03-01-2013 at 07:23 PM.
BwE is offline   Reply With Quote
Old 03-01-2013   #26
playerkp420
Senior Member
 
Join Date: Dec 2011
Posts: 4,666
Likes: 1,033
Liked 1,636 Times in 1,176 Posts
Mentioned: 846 Post(s)
Tagged: 0 Thread(s)
18.25% for 00's is normal, correct? I have done many with that statistic. I think the wiki is just not updated yet?

It seems that it is always ofw 4.31 dumps. So I assume it is just something that changed with that update.
__________________
HOW TO DOWNGRADE W/E3 FLASHER TO ANY OFW/CFW
Nor model PS3 downgrade service in U.S.A. if you don't want to do it yourself
For downgrade help join irc at effnet-Just enter name and channel is #ps3downgrade
playerkp420 is online now   Reply With Quote
Likes: (1)
Old 03-01-2013   #27
baileyscream
Senior Member
 
baileyscream's Avatar
 
Join Date: Feb 2011
Posts: 1,586
Likes: 557
Liked 1,046 Times in 526 Posts
Mentioned: 526 Post(s)
Tagged: 0 Thread(s)
Originally Posted by sinsizer View Post
@BwE
I donīt know what you are doing at the statistic calculating part. But for only calculating it takes way to long.

I did some further testing for this. Written in C# and it took only a few milliseconds. You are writing nativ c++ I think, so it could be much faster than the following managed example:


Calculating others is wrong! To lazy to iterate through all 256 possible bytes But even if I do, it should take only milliseconds.
takes to long??
its a damn site faster than doing it all by hand.
personaly if it gives a 100% acurate verify / fail at the end then i dont care if it takes it hours (it doesnt btw )
the most important thing is that the end user has a valid dump before he attempts to do anything with it.

@BwE
this version boots up for me. thanks for the fix.

so just to comfirm
win 7 32x works

is this now a fully recognised validator?

if so i can change my validation steps for this tool.


1 down 2 to come
baileyscream is offline   Reply With Quote
Old 03-01-2013   #28
sinsizer
Member
 
Join Date: Nov 2011
Posts: 190
Likes: 79
Liked 133 Times in 52 Posts
Mentioned: 37 Post(s)
Tagged: 0 Thread(s)
Originally Posted by BwE
Also, what do you mean wrong? The results are fine.
I mean that the calculation for "others" in my example is wrong

Originally Posted by BwE
That's because YOU filled it. But regardless, that will be detected in the next version.
It doesnīt matter if I filled it or itīs an actual reading error. If the "Data Offsets" gets checked for FF repetitions it must be recognized.

Donīt get me wrong your tool is great
sinsizer is offline   Reply With Quote
Old 03-01-2013   #29
baileyscream
Senior Member
 
baileyscream's Avatar
 
Join Date: Feb 2011
Posts: 1,586
Likes: 557
Liked 1,046 Times in 526 Posts
Mentioned: 526 Post(s)
Tagged: 0 Thread(s)
@BwE


are the bellow errors normal
...................................................................................

..................................................................................

.................................................................................

..................................................................................
i can e-mail you the dump if you want to see the whole output

Last edited by baileyscream; 03-01-2013 at 08:14 PM.
baileyscream is offline   Reply With Quote
Old 03-01-2013   #30
BwE
Homebrew Developer
 
BwE's Avatar
 
Join Date: Sep 2010
Location: Australija
Posts: 945
Likes: 160
Liked 481 Times in 256 Posts
Mentioned: 257 Post(s)
Tagged: 0 Thread(s)
Originally Posted by playerkp420 View Post
18.25% for 00's is normal, correct? I have done many with that statistic. I think the wiki is just not updated yet?

It seems that it is always ofw 4.31 dumps. So I assume it is just something that changed with that update.
< 18.38
< 18.24

@baileyscream

Fully recognised validator? What the hell is that supposed to mean?

Weird how now it works for you, I did not really change that much to how it runs.

@sinsizer

As I said, next version will check it differently. Its only checking what's been defined.

@baileyscream (again)

3.65 8005B653D1A28FC9592145DC33DFA64F
MISSING!
This is why I asked for dumps before Normally my validator would still cover it if I don't have all of its details - but I guess not this time. I will have to add it to the next version.

PM the dump if you wish
BwE is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright Đ 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 01:06 AM.