|
|
#101 | |
|
Member
![]() Join Date: Dec 2012
Posts: 162
Likes: 45
Liked 17 Times in 17 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
|
![]() C is pretty easy to read just a little more detailed than I like haha. The only major difference in C and C++ is that C++ has some shortcuts. The C++ I know is what? Data Structures. I haven't really gotten to the algorithms yet though. We have done a couple but not many. I'm actually a computer Science student at a university. So I'm still not the 100% best at programming I just have a hint or two
__________________
Noobs Look here for downgrade help:Ultimate Fool Proof Guide: Ps3 Hardware downgrading
NOTE: READ THE WARNING! THIS GUIDE IS CURRENT AS OF 12/23/2012 |
|
|
|
|
|
|
#102 |
|
Apprentice
Join Date: Sep 2010
Posts: 1
Likes: 2
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Anaria you make a good job here. I'm very happy to see how this scene grow up and make things easier for people like me.
Did this version is running on win 7 64 bit? When will be released a GUI version? do we have to check the dumbs again with HxD hexedit? Do you think that a brick secure version is possible? Thanx for this genius app from a guy who dont know about validate dumps with hex Keep up the good work Greets from germany |
|
|
|
|
|
#103 |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
Thanks, yes I'd like it to become a tool on which we can rely to confirm that a dump is safe or not, at the current stage it cannot be, even when I think I'm finish with the code implentation we will need experts to give a green light to it, I do not want to have any PS3's blood on my hands...
In other words, as long as you do not see anything on ps3devwiki mentionning it to be safe I sugeest you to be carefull Today status is: - Run on almost any platform if you compile it with the correct options and environment (see post #16) - I'm not working on a GUI, I really and definitely think that is faster and easier to use this kind of tool in a shell but it's only what I think myself, but @jamesst20 as started to work on a GUI, maybe some others did but I'm not aware of. - It's still better to use a binary editor to check the file anyway. - Yes I hope to be able to see one day a brick safe tool. - The draft version for a future 0.9.6 release has now reached a 97.29% of bytes covered, but I'm not ready to release it before next week, let say it will be a Chinese year release :D Sorry I'm not very fast and I only have few hours per day to code. |
|
|
|
|
|
#104 | |
|
Homebrew Developer
![]() |
sad I don't get money anymore. Used to get money from my Chinese and Vietnamese sides.Back on topic. I personally think that a pretty looking GUI for any program these days is needed for a couple reasons. One it doesn't overwhelm people who aren't used to CLI. Another reason is presentation is much more organized and flexible, and not limited to text on the screen. I'm not saying create a GUI version, I'm just throwing my opinion . BTW great work .
__________________
If you are going to promote TB at least do it right!!!, or better yet DON'T!!!
|
|
|
|
|
|
|
#105 | |
|
Member
![]() Join Date: Jan 2011
Posts: 224
Likes: 24
Liked 28 Times in 21 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
|
#106 |
|
Apprentice
Join Date: Oct 2011
Posts: 7
Likes: 0
Liked 2 Times in 2 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
|
Hello
Thank anaria for your sharing. I have used it. I have write a little soft for testing Nor Dump and 2 3 nother feature. But i can't show you because PS3Hax refused link or picture ^^ gueux-forum.net/index.php?/topic/271077-ps3dumpvalidating/ Last edited by deaphroat; 01-31-2013 at 03:24 PM. |
|
|
|
|
|
#107 | |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
Well done for yours. So you are the one to use my thread to promote your tool :P (je blague pas de probleme)(just kidding no problem) Here is a snapshot: Please see my PM. |
|
|
|
|
|
|
#108 | |
|
Member
![]() Join Date: Jan 2011
Posts: 224
Likes: 24
Liked 28 Times in 21 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
|
it what programming language is it ?Btw, how do you calculate the others byte percentage? 100% - FF% - 00% doesn't equal less the 0.5. Is it an average of the quantity of each single different bytes? Envoyé depuis mon Nexus 7 avec Tapatalk |
|
|
|
|
|
|
#109 | |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
Code:
uint8_t Statistics(FILE *FileToRead) {
// Calculate some statistics on bytes percentages
uint8_t Status=EXIT_SUCCESS;
uint32_t Cursor;
uint16_t Counter;
uint32_t CountOthers=0;
uint32_t CountByte[0xFF+1];
char msg_low[] = "Too Low";
char msg_high[] = "Too High";
char msg_good[] = "Good";
char *Status00=NULL;
char *StatusFF=NULL;
char *StatusOthers=NULL;
printf("******************************\n");
printf("* Statistics *\n");
printf("******************************\n");
fseek(FileToRead, 0, SEEK_SET);
// reset all counters
for (Counter=0x00;Counter<0xFF+1;Counter++)
CountByte[Counter]=0;
//count how many of each bytes are found
for (Cursor=0;Cursor<NOR_FILE_SIZE;Cursor++)
CountByte[fgetc(FileToRead)]+=1;
// for all bytes value from 0x01 to 0xFE check which one has the highest count
for (Counter=0x01;Counter<0xFF;Counter++) {
if (CountOthers<CountByte[Counter])
CountOthers=CountByte[Counter];
}
if (CountByte[0x00]<MIN00) {
Status00=msg_low;
Status = EXIT_FAILURE;
}
else if (CountByte[0x00]>MAX00) {
Status00=msg_high;
Status = EXIT_FAILURE;
}
else
Status00=msg_good;
if (CountByte[0xFF]<MINFF) {
StatusFF=msg_low;
Status = EXIT_FAILURE;
}
else if (CountByte[0xFF]>MAXFF) {
StatusFF=msg_high;
Status = EXIT_FAILURE;
}
else
StatusFF=msg_good;
if (CountOthers>MAXOTHERS) {
StatusOthers=msg_high;
Status = EXIT_FAILURE;
}
else
StatusOthers=msg_good;
printf ("Bytes '00' found %d times, %2.2f%% %s\n" , CountByte[0x00], (double)CountByte[0x00]*100/(double)NOR_FILE_SIZE, Status00);
printf ("Bytes 'FF' found %d times, %2.2f%% %s\n" , CountByte[0xFF], (double)CountByte[0xFF]*100/(double)NOR_FILE_SIZE, StatusFF);
printf ("Other bytes found %d times maximum, %2.2f%% %s\n", CountOthers , (double)CountOthers *100/(double)NOR_FILE_SIZE, StatusOthers);
return Status;
}
|
|
|
|
|
|
|
#110 |
|
Apprentice
Join Date: Oct 2011
Posts: 7
Likes: 0
Liked 2 Times in 2 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
|
@ anaria
you share, i use it ^^ I don't want became famous, just learn and sharing. And now i adapte your code for Nand. And my own, check if the dump is reversed.... ^^ And for the percentage, in first i have my function but yours is more faster... i filled up a array of int with every byte, and make 256 count on it ^^.... It's not good with a nand 256 Mb ^^ So i take yours....Thank again. @ jamesst20 I have begin 3, 4 month ago... I have just use the anaria code for 2 new test... It's in C++/ Qt, compatible with Mac and Linux and I give source code for respect the Qt License. Source code : ps3.gx-mod.com/images/news/softwares/nandTool/SourcePs3DumpValidating.rar Last edited by deaphroat; 02-01-2013 at 07:40 PM. |
|
|
|
|
Likes: (1) |
![]() |
| Bookmarks |
| Thread Tools | |
|
|