hit tracker

CFW md5 checksums collection

Discussion in 'PS3 Gaming & General Discussion' started by Berion, Aug 14, 2011.

  1. 132
    0
    0
    Berion

    Berion Loyal Member

    Joined:
    Aug 13, 2011
    Occupation:
    unemployed...
    Location:
    Poland
    Home Page:
    http://forum.cdrinfo.pl/f30/linki-do-tutoriali-na-stronie-glownej-57360/
    Below is a list of all known to me Cutom Firmwares (checksums for OFW CEX You will find here). Unfortunaletly, list is not complete because i don't have all of them (PUPs/diffpatches), and i cannot find reliable source to validate missing ones. I hope there's no errors and it will be handy for any scene enthusiasts. All checksums are for *.pup, NOT patches and NOT release archives.


    [​IMG] The Bricker
    CFW which bricks (syscon/coreos) Your PS3 on some models in some cases. Be ware of him. ;)

    [​IMG] PSX/PS2/PSP
    CFW which support PSX, PS2 and PSP games playing from *.iso files.

    [​IMG] Debug feathures
    CFW which offer some options from debug firmwares like Unlock Trophy, Fake Save Data Owner etc.

    [​IMG] Safe to install
    CFW which is very well tested by community. None of bricks reported.

    [​IMG] MFW
    CFW which is common CFW build in MFW with various tasks. Most of the are simple clones of existing CFWs.

    [​IMG] OFW Patch
    CFW in update patch form.

    [​IMG] CFW Update
    Update in *.pkg for specific CFW, instalable from XMB Insatall Packages option.

    [​IMG] CFW installable only from 3.55
    CFW which can be installed only from 3.55.

    [​IMG] Compatible with downgrade from 3.60+
    CFW which is "compatible" with downgrade from 3.60+ (LV1.self file patched to disable all checks).

    [​IMG] Dongle
    CFW which work only with dedicated dongle and/or payload.



    [SIZE=-3]noob stuff:
    This is not keys or something leading for heavenly CFW 3.60+. Just file checksums and they are for validate files in MD5 algo, (you can caltulate it by i.e HashTab (Win32-64/OSX)). I'm not an author of any of these firmwares and I'm not sharing any of them.

    In theory, You can install (from XMB or Recovery Mode) any newest CFW on older OFW (except g.e.o.h.o.t CFW which is only patch package updater) but to avoid risk of bricks i strongly recommending to write CFW on the same OFW version (i.e 3.55 CFW on 3.55 OFW). If you want downgrade You have two solutions. First and easy is for firmware up to 3.55 via Service Mode or XMB on QA flagged PS3. Second is for all fw above 3.55 via hardware flasher.

    Don't ask which CFW is the best. There is no the best CFW - there are just different for different purposes and this topic is only for catalogues all of them. For help you, i have maked an icons.[/SIZE]




    for Service Mode:
    • 3.41
      5C3B09C7FB0655D3F8852D3AAD778025

    • 3.55 [​IMG]
      ?

    * * *​

    Acid
    • 3.41 Acid v1
      [SIZE=-3]CFWs from times when we cannot write files on NANDs/NOR and which can only be launch from dev_usb. They was not CFW in really mean, just some XML mods. Don't bother with this.[/SIZE]

    • 3.41 Acid v2
      [SIZE=-3]As above.[/SIZE]


    Cobra [​IMG] [​IMG]
    • 3.55 Cobra
      0922794CFB2FA4CB3DF71C8C3E391E08

    • 3.55 Cobra (Kmeaw patched)
      D90C294F62E1782F48B93EFAE515AEA1

    • 3.55 Cobra (NFW v3 patched)
      29C796DC9ECF565D20811AFE0CFD0706


    Dual Boot GameOS/Linux
    • 3.30 Dual Boot
      9142D8C1707A3257B21C29D6F266C6C6

    • 3.41 Dual Boot [​IMG]
      9B439B04C4C0B841AE50C3AF18BB584D

    • 3.50 Dual Boot
      74B4291615CEB394E0D64078D775A93D

    • 3.55 Dual Boot [​IMG]
      FAC423010DC8E20030F28145A42627FB


    g.e.o.h.o.t:
    • 3.21 g.e.o.h.o.t (3.2100)
      [size=-3]Unpublished.[/size]

    • 3.55 g.e.o.h.o.t (3.55-jb) [​IMG] [​IMG]
      B813FF51300C42D7C3B96992EDFD6746


    Hermes
    • 3.41 Hermes v1.0 beta [​IMG]
      2787B1294CA0CD7064BE099C53F3421F


    Jaicrab
    • 3.41 JFW-DH
      [SIZE=-3]Unpublished yet and all we have hope this is not a fake. ;)[/SIZE]

    • 3.56 DH MA-1 [​IMG] [​IMG] (?)
      MD5: EFE066E4836393C8BF60A5CC6804DDC3


    KaKaRoTo
    • 3.15 KaKaRoTo v1.0
      ?

    • 3.15 KaKaRoTo v1.1
      ?

    • 3.30 KaKaRoTo v1.0
      ?

    • 3.41 KaKaRoTo v1.0 [​IMG]
      ?

    • 3.41 KaKaRoTo v1.2
      ?

    • 3.55 KaKaRoTo v1.0
      38BE61D5B4D1E33BA91632994275DA8E

    • 3.55 KaKaRoTo v1.1
      ?

    • 3.55 KaKaRoTo v1.2
      769399A3C64BEBCC4740BD0A9D2C7973

    • 3.55 KaKaRoTo v1.3
      14264109453AB5AB3F18AAFA1F254096

    • 3.73 KaKaRoTo
      [SIZE=-3]Unpublished yet.[/SIZE]


    Kmeaw
    • 3.55 Kmeaw [​IMG]
      2BE5E87A22BF1E7F48E98FCABD38977B

    • 3.55 Kmeaw (Cobra) [​IMG]
      [SIZE=-3]look for "3.55 Cobra (Kmeaw patched)" in Cobra CFW category.[/SIZE]

    • 3.55 Kmeaw (mod by Naima v1.0) [​IMG]
      A3BED5E37E33440EC276AC98A6C2C6AB

    • 3.55 Kmeaw (mod by Naima v1.1) [​IMG] [​IMG]
      2C608AA99772E625BF708908AB6AF9DF

    • 3.55 Kmeaw (mod by PS3ita) [​IMG] [​IMG]
      C82E3D857775C460A804F08B4CB33940


    MWF (official site)
    [size=-3]For 3.15 - 3.55. To many combinations to list and calculate them all. ;)[/size]



    Newbie Friendly Ware (official site) [​IMG]
    • 3.55 Newbie Friendly Ware v1 (3.66 Spoofed)
      D2DA0D7621FDC751734F374ED461B2E7

    • 3.55 Newbie Friendly Ware v1 (3.66 Spoofed) (2nd release)
      0B9F17EEE5B81D180C2BF68575608313

    • 3.55 Newbie Friendly Ware v1 (Un-Spoofed)
      5AC38AAF45603C0B5A8C4701D732A227

    • 3.55 Newbie Friendly Ware v1 (Un-Spoofed) (2nd release)
      9A9D742A02DD89160117BDE49C413D79

    • 3.55 Newbie Friendly Ware v2
      E683E50A1F6AE208B86C185DAC7FE1E3

    • 3.55 Newbie Friendly Ware v2 (2nd release)
      3F8D28F68A0315CBAFE04B7929FFFB58

    • 3.55 Newbie Friendly Ware v2 (3.70 Spoofed)
      1DEC324DE25EE3F987947644768817B1

    • 3.55 Newbie Friendly Ware v2 (3.70 Spoofed, no icons remv)
      63C596A020F2556E90451261E27FC91D

    • 3.55 Newbie Friendly Ware v3
      95A48CC4B6E863C6AE947CD0B1D9F982

    • 3.55 Newbie Friendly Ware v3 (Cobra)
      [SIZE=-3]Look for "3.55 Cobra (NFW v3 patched)" in Cobra CFW category.[/SIZE]


    PS3-Addict (official site) [​IMG]
    • 3.55 PS3-Addict Rev1
      ?

    • 3.55 PS3-Addict Rev2
      10BE420880275510BFA394732115CE9B

    • 3.55 PS3-Addict Rev3
      FA911D1923081681A1AE6E8E7DA4736E


    PS3Ultimate [​IMG]
    • 3.55 PS3Ultimate (Un-Spoofed)
      BD64B3DECF21272C0AC56183F6E3B78E

    • 3.55 PS3Ultimate - White Edition (Un-Spoofed)
      B57C16F241F7CD1DF52DF2469D03AF00

    • 3.55 PS3Ultimate - Black Edition (Un-Spoofed)
      D07E6EAA9E5ED08049ABE2B167F5337F

    • 3.55 PS3Ultimate (3.60 Spoofed)
      CA2184F0AE214F2456D9555765B03B17

    • 3.55 PS3Ultimate (3.70 Spoofed)
      8B802E4DD43D354531288151379E5880

    • 3.55 PS3Ultimate - White Edition (3.70 Spoofed)
      4D5A168ACD5BE4E2D6C85C8784C88B8B

    • 3.55 PS3Ultimate - Black Edition (3.70 Spoofed)
      EABA9A5BEA837CD0005F09611CF6EF71

    • 3.55 PS3Ultimate - White Edition (3.72 Spoofed)
      451AB2385F40E87F233AA67DBCD657FE

    • 3.55 PS3Ultimate - Black Edition (3.72 Spoofed)
      861FFADC551763C7B574E08D97E6DE0B


    Rebug (official site) [​IMG]
    • 3.41 Rebug (Rebug 3.41E Beta v1.0.1)
      D8332B0CDE2C6553B316E7781513B56E

    • 3.41 Rebug (Rebug 3.41.2) [​IMG]
      9C3F091D86D33E424BBD171D2364CB8C

    • 3.41 Rebug (Rebug 3.41.3) [​IMG]
      BA6D253AFA4F0AF207D3DEAB98A6EB10

    • 3.41 Rebug (Rebug 3.41.3 OOS) [​IMG]
      75FBB68E65D728242B19F31207C3D57A

    • 3.55 Rebug (Rebug 3.55.1) [​IMG]
      A20B4D659BB863A6016218BBA43F28B9

    • 3.55 Rebug (Rebug 3.55.1 Advanced Patch)
      3BC8038BD1C8EC8255DE8C77A6D15CFD

    • 3.55 Rebug (Rebug 3.55.2) [​IMG]
      2FCDDC377A01F9B9ED82475B2FFA97BE

    • 3.55 Rebug (Rebug 3.55.2 OOS) [​IMG]
      3FD8ECAFC45B60F04C0D7613F22945BA

    • 3.55 Rebug (Rebug 3.55.2 TB Edition)
      [SIZE=-3]Look for "3.55 True Blue (3.55-Dongle, Rebug 3.55.2 patched)" in True Blue CFW category.[/SIZE]
    - - -

    • Rebug update v0.1 (update *.pkg for 3.41.3) [​IMG]
      AE19329AE071EAC3E1E90A77F215731A

    • Rebug update v0.2 (update *.pkg for 3.41.3) [​IMG]
      B13C56D96D2FF374CC8DC1713967580D

    • Rebug update v0.3 (update *.pkg for 3.41.3) [​IMG]
      BCE971C2136CED56C39D85A093F910FE

    • Rebug update v0.4 (update *.pkg for 3.41.3) [​IMG]
      31A89EEEB91344C2129DF6785E6930D4

    • Rebug update v0.1 (update *.pkg for 3.55.1) [​IMG] [​IMG]
      5348720E6144D2213C0F81198AFD400C

    • Rebug update v0.2 (update *.pkg for 3.55.2/OOS) [​IMG] [​IMG]
      E32C4C707A4EA31B5F983FBE85D8339D

    • Rebug update v0.3 (update *.pkg for 3.55.2/OOS) [​IMG]
      C93DBDECBBF4FF747B23122764AC2404

    • Rebug update v0.4 (update *.pkg for 3.55.2/OOS) [​IMG]
      3A2577F90E072DBB8127DF3CEE6A167A

    • Rebug update v0.5 (update *.pkg for 3.55.2/OOS) [​IMG]
      1CBA296B4947D3335E27E26B7430DC0D

    • Rebug update v0.6 (update *.pkg for 3.55.2/OOS) [​IMG]
      26E1BC472429FD01047D2B385972F918


    Rogero
    • 3.55 Rogero v1 [​IMG] [​IMG]
      09357763F3A52A393ECEF4FE392325D4

    • 3.55 Rogero v2 [​IMG]
      8BCF7AB97EE4B9D9F74ECDF9FA9E59A8


    True Blue [​IMG] [​IMG]
    • 3.55 True Blue (3.55-Dongle)
      43C522F8897D77B6165F95BCF3409090

    • 3.55 True Blue (3.55-Dongle, Rebug 3.55.2 patched)
      49B03838CEB8364CBA4527B60C44AB0D


    Unofficial PS3HaX MFW (official site) [​IMG]
    • 3.55 Unofficial PS3HaX MFW v1
      460EEA7682FC38E50B696EFAE7931F5F

    • 3.55 Unofficial PS3HaX MFW v2
      9EFB3D7E4081C49761CF5AFFC7CAB3BF

    • 3.55 Unofficial PS3HaX MFW OOS++ v2
      DF5DECF6DE14BEB81A1502BB52AD86A3

    • 3.55 Unofficial PS3HaX MFW OOS++ v4
      23A65D7E9365BA72991611D980040D27


    Varaques [​IMG]
    • 3.55 Varaques
      66F0952FC0D4C2A5A3B438DA352B4FC2


    Waninkoko
    • 3.55 Waninkoko v1 [​IMG]
      6EAB7F1DEEA1ED46A1DC9924FD7080B3

    • 3.55 Waninkoko v2 [​IMG]
      6A6CFC701300C95B57B990D8D609E52F


    Wutangrza
    • 3.55 Wutangrza [​IMG]
      05933BB7A89BEE87B0AA45C74F980E81
     
  2. 283
    1
    0
    tthousand

    tthousand Senior Member Loyal Member

    Joined:
    May 12, 2011
    Home Page:
    http://psx-scene.com
    Lemmie get that 3-2-1 geo hot dawg! And a Coke, I aint fucking with Pepsi!

    Great to see this, but everyone allready knows I love collections :cool:

    Here is the info for NFW:

    Bitsbubba's 3.55 NFW: Newbie Friendly Ware
    - http://x.co/YvTe (official site)
     
  3. 132
    0
    0
    Berion

    Berion Loyal Member

    Joined:
    Aug 13, 2011
    Occupation:
    unemployed...
    Location:
    Poland
    Home Page:
    http://forum.cdrinfo.pl/f30/linki-do-tutoriali-na-stronie-glownej-57360/
    I have update some missing checksums.

    Also, I have maked few icons for more fancy look. ;P But I cannot setup [​IMG]
     
  4. 25,276
    2,242
    113
    GaryOPA

    GaryOPA Master Phoenix Admin Staff Member Top-Dog Brass

    Joined:
    Mar 18, 2006
    Media:
    1,815
    Occupation:
    Design Eng.
    Location:
    Tropical Island
    Home Page:
    http://www.O-P-A.biz
     
  5. 132
    0
    0
    Berion

    Berion Loyal Member

    Joined:
    Aug 13, 2011
    Occupation:
    unemployed...
    Location:
    Poland
    Home Page:
    http://forum.cdrinfo.pl/f30/linki-do-tutoriali-na-stronie-glownej-57360/
    Thank You. All works.

    If someone have some info about KaKaRoTo's bricks i will be glad. I'm sure spome early one have bricks same as Waninkoko v1.

    I'm not sure about Cobra 3.55 "Brilliant" icon, these feathures are patched by dongle or dongle is only needed to "activated them"?

    Another update. Have someone OFW 3.55 for SM with disable LV1 checks?

    Could I please stick this thread? :)

    I'm sorry for offtopic but why word: g.e.o.h.o.t is censured?
     
  6. 132
    0
    0
    Berion

    Berion Loyal Member

    Joined:
    Aug 13, 2011
    Occupation:
    unemployed...
    Location:
    Poland
    Home Page:
    http://forum.cdrinfo.pl/f30/linki-do-tutoriali-na-stronie-glownej-57360/
    Thanks for posts merging and sticking thread.

    I have done another update and remade old icons. Now they are bigger, match to layout and looks more crunchy/groovey. ;)
     
  7. 4,102
    292
    83
    gDrive

    gDrive Not Your Mommas Tranny Clean-Up Crew

    Joined:
    Jul 9, 2011
    Home Page:
    http://techbliss.org
    Even I was wondering why that is the case - but it is probably because he is Sony-bait!
     
  8. 3
    0
    0
    Wei Yue Zhang Cheung

    Wei Yue Zhang Cheung Loyal Member

    Joined:
    Jan 12, 2012
  9. 31
    0
    0
    zelgadiszero

    zelgadiszero Loyal Member

    Joined:
    Jul 7, 2011
    TrueBlue-3.55-CFW v2

    MD5: FF689E1E8CDD02A46DDADB14C3C5B85C
     
  10. 28
    0
    0
    passwordispassword

    passwordispassword Loyal Member

    Joined:
    Jan 11, 2012
    The fine people Grimm and Berion (the original starter of this thread) developed a nice Windows application for verifying the check sums of PS3 CFWs that I have no doubt will be very very useful for mainstream OS users. It has a beautifully designed GUI and lots of contextual information about the CFW being verified. Nice work all round, for more information please click here.

    I have very simple tool for doing the same that I thought someone might find useful. My little script is no where near as glamorous, sexy or well designed but what it is is simple and specifically for *nux systems (WINE blows).

    The script itself is very simple and I have used a variant of it for awhile to verify that uploads have been successful and the created download has the correct MD5 checksum when pulled back down and re-combined. I gave it a GUI a year or so ago when a friend created a little website to share his created content with family and friends. Now I have compiled ~260 PS3 related archives (.zip/.rar etc) and their contents (~2,800 files) into a chksum reference for this tool.

    It was crappy weather this weekend, OK? :)

    Pre-Requisites

    - *nux OS
    - Gnome DE
    - Zenity(*1)

    Installation and use

    Download the attached .zip (site admin, please allow the upload of tar.gz) and unpack it wherever is convenient to you and run the script "CHKSUM Validation Script V1.00 (zenity)" from a GUI file explorer. Read the relevent dialogues and select the file you want to check and then select the file where-ever-you-unpacked-it\CHKSUM Validation Script V1.00 (zenity)\ps-md5-chksums\ps3-md5-v1.0.txt as your check sum list.

    The MD5 checksum for the first file chosen will then be calculated and then checked against the list of checksums chosen as the second file. A result of this match will then be shown.

    Easy.

    Notes

    Please feel free to edit the script to your needs, it is shown in the next post fully annotated. Please note this is not a sophisticated script and it is done like it is so it is easy to allow users to understand entirely how it works. It is NOT an exercise in best practise. :)

    The MD5 checksum list is compiled from a variety of sources, Grimm & Berions .xml file for CFW details (source), GitBrew's repository for "the Glevand collection" (source), Senaxx's ps3scenefiles website for EBOOT and homebrew related files (source) and a few other bits and pieces from a variety of sources.

    Again, please feel free to edit and amend the MD5 checksum list or report and inaccurate entries. Please note the list inclues .rar and .zip files as well as the contents of the archives. If an archive itself fails a check please check the contents, particularly any .pup or .pkg files.

    Equally, please feel free to compile your own archives of alternative content if it fits your needs.

    The script itself can be found below:

    Code:
    #!/bin/bash
    
    # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    # '     Checksum validation - shabang's simple script      
    # '                                                        
    # '                       (\ /)                           
    # '                       (O.o)                          
    # '                       (> <)                          
    # '                                                        
    # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    
    # Checks MD5 checksum against a pre-compiled list of valid checksums and files.  Zenity semi-GUI version.
    
    # Prerequisites:
    #            - Linux distro running a GNOME DE 
    #            - zenity
    
    # This script is released as is with no responsibilty assumed by the writer and with no support supplied.
    # Any user accepts full responsibility for usage and any consequences of usage. 
    
    # Please feel free to amend and append as required.  
    # Log version changes below (Vn.nn - Note, user, date):
    
    # V0.10 - Creation, pip/shabang, 02/09/2011
    # V0.20 - Added cancel and error handlers, pip/shabang, 05/09/2011
    # V1.00 - Added annotation and expanded header for web posting, pip/shabang, 08/04/2012
    
    #Script pre-amble.
    
    # Functions are defined once and can be used multiple times in a script.  
    # This is an exit function that exits the script when instructed to by the user.
    function error_exit
    {
    zenity --error --title="Checksum Script Terminated :(" --width=450 --text="Game over. :)\n\nThe simple checksum verification script has been terminated."
    	exit 1
    }
    
    #Script body
    
    
    # Set $another_file variable so looped while will work
    another_file=Restart
    # Put entire get and check md5 sum in a "while" statement, this means the script the will loop while the variable $another_file is set to Restart
    # At the end of the script the user is given the opportunity to change this variable.
    while [ $another_file = Restart ]; do
    
    # Introduction dialogue displayed.
    zenity --info --title="Hello $USER :)" --width=450 --text="On the next screen please select the file you want to validate."
    
    # User selects file to be checked, this is saved as variable $userfile, exit code is saved as variable $ecode.
    userfile=$(zenity --file-selection --title="Select the file to be validated"); ecode1=$?
    
    #Quick error handler to exit or reselect where no $userfile selected (cancel pressed) or an invalid/unreadable file is selected.
    # Tests if exit code (stored here as $ecode1) is 0, i.e. no file or invalid file selected.
    if [ "$ecode1" -ne 0 ] ; then
    # If the exit code above ($ecode1) does not equal 0 (1 = no file selected, invalid file selected) then ask the user if they wish to exit or reselect a file.
    # Store the user answer as $ans1.
    ans1=$(zenity  --list  --title "Select Action" --text "No file to be verified has been selected, you can now exit the script or reselect a file" --radiolist  --column "Select" --column "Option" TRUE "Exit" FALSE "Reselect")
    
    	# If user selects "Reselect" in previous choice ($ans1)...
    	if [ "$ans1" == "Reselect" ] ; then
    	# ...then show file select dialogue and store filename/path as $userfile and exit code as $ecode2.
    	userfile=$(zenity --file-selection --title="Select the file to be validated"); ecode2=$?
    		
    		# If exit code is not 0, user has cancelled the dialogue or selected an invalid file AGAIN.		
    		if [ "$ecode2" -ne 0 ] ; then
    		# Tell them...
    		zenity --info --title="ERROR - No File Selected" --width=450 --text="No file selected...\n..again.\n\nExiting script and calling a doctor."
    		# ....and exit.
    		error_exit
    		# End this if statement.
    		fi
    		
    	# If user selects "Exit" in previous choice ($ans1)...	
    	else
    	# ... then exit the script.
    	error_exit
    	# End this if statement.	
    	fi
    
    # End this if statement.
    fi
    
    # Instructs user to select list of verified checksums.
    zenity --info --title="Select MD5 Checksum List" --width=450 --text="On the next screen please select your list of verified MD5 check sums."
    
    # User selects list of verified checksums, this is saved as variable $userDB.
    userDB=$(zenity --file-selection --title="Select MD5 Checksum List"); ecode3=$?
    
    #Quick error handler to exit or reselect where no $userfile selected (cancel pressed) or an invalid/unreadable file is selected.
    # Tests if exit code (stored here as $ecode3) is 0, i.e. no file or invalid file selected.
    if [ "$ecode3" -ne 0 ] ; then
    # If the exit code above ($ecode3) does not equal 0 (1 = no file selected, invalid file selected) then ask the user if they wish to exit or reselect a file.
    # Store the user answer as $ans2.
    ans2=$(zenity  --list  --title "Select Action" --text "No MD5 checksum list has been selected, you can now exit the script or reselect a file" --radiolist  --column "Select" --column "Option" TRUE "Exit" FALSE "Reselect")
    
    	# If user selects "Reselect" in previous choice ($ans1)...
    	if [ "$ans2" == "Reselect" ] ; then
    	# ...then show file select dialogue and store filename/path as $userDB and exit code as $ecode4.
    	userDB=$(zenity --file-selection --title="Select MD5 Checksum List"); ecode4=$?
    		
    		# If exit code is not 0, user has cancelled the dialogue or selected an invalid file AGAIN.		
    		if [ "$ecode4" -ne 0 ] ; then
    		# Tell them...
    		zenity --info --title="ERROR - No MD5 Checksum List Selected" --width=450 --text="No file selected...\n..again.\n\nExiting script and calling a doctor."
    		# ....and exit.
    		error_exit
    		# End this if statement.
    		fi
    		
    	# If user selects "Exit" in previous choice ($ans1)...	
    	else
    	# ... then exit the script.
    	error_exit
    	# End this if statement.	
    	fi
    
    # End this if statement.
    fi
    
    zenity --info --title="File Verifier" --width=450 --text="Your md5 checksum will now be calclated and compared against your selected list of verified MD5 check sums.\n\n\This may take some time."
    
    # The md5sum function is run on selected file (held as variable $userfile) and the output is saved as variable $userfilemd5
    # The cut function is used to extract the first "field" where the output is delimited with a " ".  The d attribute selects the delimiter and the f attribute selects which field, in this case the first so it includes only the md5.
    # Note the "" around the file/filepath reference (variable $userfile) this is to ensur folder/files with spaces in will be acccounted for correctly.
    userfilemd5=$(md5sum "$userfile" | cut -d" " -f1) 
    
    # grep searches for the stored string ($userfilemd5) in the MD string DB ($userDB) and stores the result as $result
    # $ecode5 variable stores the exit code of grep (which will be 0 if a match is found)
    result=$(grep -i $userfilemd5 "$userDB"); ecode5=$?
    
    # If grep exit code does not equal 0 (i.e. no match or error), then...
    if [ "$ecode5" -ne 0 ] ; then
    # tell the user and exit
    zenity --error --title="No Match" --width=450 --text="NO MATCH!\n\n$userfile\n\n$userfilemd5\n\nNo match was found in:\n\n$userDB"
    else
    # zenity displays $result (note: DB file pre-formatted with \n for correct break spaces in dialogue)
    zenity --info --title="File Verified: Results Below" --width=450 --text="The file you selected:\n \n$userfile \n \nHas this MD5 checksum: \n \n$userfilemd5 \n\nThis has been compared to the MD5 datasheet you selected: \n\n$userDB \n\n The following results have been determined: \n\n$result"
    # End this if.
    fi
    
    # User sets $another_file variable to either chack another file or exit the script.
    another_file=$(zenity  --list  --title "Select Action" --text "You can now exit the script or restart and check another file" --radiolist  --column "Select" --column "Option" TRUE Exit FALSE Restart)
    # End of while do statement
    done
    
    # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    # '                   END OF SCRIPT     
    # '                                             
    # '                       (\ /)                
    # '                       (O.o)               
    # '                       (> <)               
    # '                                             
    # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    
    If it of use to anyone, I hope it does what you need. :)
    ___________________________________
    (*1)Zenity is a basic GUI dialogue control system that makes getting user input fairly easy for simple tasks in simple scripts as it allows you to display GTK+ dialogs from shell scripts. If it is not installed out-of-the-box on your Gnome system then apt-get (or equivalent) the packages zentiy an zenity-common.
     
  11. 4,102
    292
    83
    gDrive

    gDrive Not Your Mommas Tranny Clean-Up Crew

    Joined:
    Jul 9, 2011
    Home Page:
    http://techbliss.org
    @ passwordispassword: let me just say this: coding a program for an OS is far better than API emulation, so I think that your script would be a godsend for Linux users! :D
     
  12. 132
    0
    0
    Berion

    Berion Loyal Member

    Joined:
    Aug 13, 2011
    Occupation:
    unemployed...
    Location:
    Poland
    Home Page:
    http://forum.cdrinfo.pl/f30/linki-do-tutoriali-na-stronie-glownej-57360/
    Thanks!
    There's also dedicated thread in this forum. >> click <<

    Looking at count script entries it must be very long and crappy weekend. ^^

    I didn't try it but thanks for your effort. It must been very time consuming. Of course for all shell users it's more convenient in use than our CFV (especially with dot net enviroment).
     

Share This Page