|
|
#22 |
|
Senior Member
![]() Join Date: Nov 2011
Location: Long Live PALESTINE
Posts: 1,623
Likes: 767
Liked 675 Times in 490 Posts
Mentioned: 223 Post(s)
Tagged: 0 Thread(s)
|
__________________
We Will Rise Again |
|
|
|
|
Likes: (2) |
|
|
#23 |
|
Member
![]() Join Date: Nov 2011
Posts: 151
Likes: 59
Liked 117 Times in 41 Posts
Mentioned: 28 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. |
|
|
|
|
|
#24 |
|
Member
![]() Join Date: Jan 2011
Posts: 192
Likes: 73
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. |
|
|
|
|
|
#25 | |
|
Homebrew Developer
![]() Join Date: Sep 2010
Location: Australija
Posts: 857
Likes: 141
Liked 380 Times in 223 Posts
Mentioned: 211 Post(s)
Tagged: 0 Thread(s)
|
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. |
|
|
|
|
|
|
#26 |
|
Senior Member
![]() Join Date: Dec 2011
Posts: 4,374
Likes: 935
Liked 1,511 Times in 1,091 Posts
Mentioned: 779 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 |
|
|
|
|
Likes: (1) |
|
|
#27 | |
|
Senior Member
![]() Join Date: Feb 2011
Posts: 1,482
Likes: 530
Liked 998 Times in 500 Posts
Mentioned: 483 Post(s)
Tagged: 0 Thread(s)
|
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
|
|
|
|
|
|
|
#28 | ||
|
Member
![]() Join Date: Nov 2011
Posts: 151
Likes: 59
Liked 117 Times in 41 Posts
Mentioned: 28 Post(s)
Tagged: 0 Thread(s)
|
![]()
Donīt get me wrong your tool is great
|
||
|
|
|
|
|
#29 |
|
Senior Member
![]() Join Date: Feb 2011
Posts: 1,482
Likes: 530
Liked 998 Times in 500 Posts
Mentioned: 483 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. |
|
|
|
|
|
#30 | ||
|
Homebrew Developer
![]() Join Date: Sep 2010
Location: Australija
Posts: 857
Likes: 141
Liked 380 Times in 223 Posts
Mentioned: 211 Post(s)
Tagged: 0 Thread(s)
|
![]() < 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)
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
__________________
|
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|