|
|
#11 |
|
Member
![]() Join Date: Oct 2011
Posts: 708
Likes: 390
Liked 708 Times in 276 Posts
Mentioned: 115 Post(s)
Tagged: 0 Thread(s)
|
wow. it has been a while since i actually saw such a clean C code
if that makes
@euss
happy then i guess it'll make a decent terminal app to use :D
__________________
"Whoever has ears, let them hear."
|
|
|
|
|
Likes: (1) |
|
|
#12 |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
Here you go for a compiled version on Mac: www dot sendspace dot com/file/1sdabq
I'm looking at cross compile stuff now and it hurts my brain ... |
|
|
|
|
|
#13 |
|
Member
![]() Join Date: Oct 2011
Posts: 708
Likes: 390
Liked 708 Times in 276 Posts
Mentioned: 115 Post(s)
Tagged: 0 Thread(s)
|
http://dl.dropbox.com/u/35197530/nor...checker.tar.gz
I have added a Makefile for it for linux and put it as a binary application, if it's ok with the OP
__________________
"Whoever has ears, let them hear."
|
|
|
|
|
Likes: (1) |
|
|
#15 |
|
Member
![]() Join Date: Nov 2012
Location: S.England
Posts: 492
Likes: 46
Liked 232 Times in 126 Posts
Mentioned: 46 Post(s)
Tagged: 0 Thread(s)
|
Well written, well structured coding.
10/10 A |
|
|
|
|
Likes: (1) |
|
|
#16 |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
Some notes for anyone who want to compile it but have no idea about it:
There are many solution out there but as I only wrote and tested it on a POSIX platform I'd stick to it. For windows user: I suggest to install cygwin with developer packages. You can then compile with the command: gcc sourcefile.c -o appname -lcrypto to run it from cygwin shell just type ./appname to run it from the dos you'll need to copy required cygwin dll you can also use the tgz from @zecoxao and do a make as on any other POSIX system within cygwin of course. For Linux users: well you know that already :P For Mac users: I hope you know that too... otherwise the simplest is to install xcode in order to have gcc and all includes then follow same steps as in cygwin. For any other POSIX platform: I'm sure you know that already. For Amiga users: go with gcc, google will tell you ![]() For Atari ST users: I suggest you to exchange it with an Amiga...:D, arf of course yes you can find something. Any other exotic platform: you'll have to find by yourself @Sarah1331 , I've added especially for you :P the -D option some examples below under windows and cygwin: $ ./NORDumpTool.exe nordump.bin -D 0x820 0x10 A ****************************** * NOR Dump Tool * ****************************** Open source project aimed to help to validate PS3 NOR dumps At the moment (January 2013) the code is probably able to give you a validation status of roughly 90%!? It's anyway better to do additionnal checking by your own, unless the code of this tool is fully validated by experts!!! Section: Start at '0x00000820' of size '0x10': read metldr $ ./NORDumpTool.exe nordump.bin -D 0x820 0x10 H ****************************** * NOR Dump Tool * ****************************** Open source project aimed to help to validate PS3 NOR dumps At the moment (January 2013) the code is probably able to give you a validation status of roughly 90%!? It's anyway better to do additionnal checking by your own, unless the code of this tool is fully validated by experts!!! Section: Start at '0x00000820' of size '0x10': read 6D65746C647200000000000000000000 Binaries: Windows with cygwin dlls: www dot sendspace dot com/file/d74gcd Linux: @zecoxao , I'll be grateful again if you proceed with it ![]() Mac: .... wait few hours... Note: I hope this code is clear enough to be evolved in treating NAND dump as well, I'll have a look later if no one does it first, but I'll then have to put my hand on a NAND dump to try it. |
|
|
|
|
Likes: (5) |
|
|
#17 |
|
Member
![]() Join Date: Nov 2012
Posts: 42
Likes: 44
Liked 3 Times in 3 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
what developer package i need to install for cygwin?
sorry noob question |
|
|
|
|
|
#18 |
|
Homebrew Developer
![]() Join Date: Jul 2011
Posts: 299
Likes: 32
Liked 219 Times in 104 Posts
Mentioned: 85 Post(s)
Tagged: 0 Thread(s)
|
Nice work!
Made a native win32 version (linked statically, nothing else required): http://www.mediafire.com/?cfp29xc0xgbs5dk -- judges Btw, I guess "IDPSTargetID = malloc(2);" should be "IDPSTargetID = malloc(3);"... |
|
|
|
|
|
#19 | |
|
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)
|
but always check your Dump with HxD i feel more comfortable that way. but this is a good App thanx @anaria for the code thanx @judges for the compiled version |
|
|
|
|
|
Likes: (1) |
|
|
#20 |
|
Homebrew Developer
![]() Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
|
@MD Krie
, I'm not sure of the exact minimum required, it should be around packages like gcc-core, g++, openssl.
If you have enough space (like about 200MB) just install the category Devel, otherwise you can select it to be installed then go in to remove other compiler not related to C/C++ like gcc-java/ada/fortran... mingw is not required either. @judges , exact I've counted 1 byte instead of 2
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|