Originally Posted by sandungas
The other day (1 week ago or so) we was talking with cfwprophet in irc about mfw, i pointed him to this threat to read your bug reports 
In resume... he said is busy with other problems of his work by now, but mfw is not abandoned
Keep testing, maybe he will include your fixes in the last version, bug reports are always usefull
|
Ive fixed the fciv bug, by replacing it true to false and its adding the md5 by itself now and there is no way it can crash, new bug!
the ouput file to unpack the pup does not work !!
here is log!
Click here to see full text
Selected tasks :
HOME=C:\Documents and Settings\DELL
USERPROFILE=C:\Documents and Settings\DELL
PATH=C:\TclDevKit\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\QuickTime\QTSystem\;C:\Documents and Settings\DELL\Desktop\mfw-master cfwprpt\mfw-master\tools
Deleting output files
Executing command file delete -force -- ${::CUSTOM_PUP_DIR} ${::ORIGINAL_PUP_DIR} ${::OUT_FILE}
Adding the SHA1 of the Input PUP to the DB
Executing shell fciv -add {C:\Documents and Settings\DELL\Desktop\4.31 OFW\ps3updat_431.pup} -wp -sha1 -xml db.xml
//
// File Checksum Integrity Verifier version 2.05.
//
Unpacking source PUP ps3updat_431.pup
Executing command pup_extract ${pup} ${dest}
FATAL ERROR: Error extracting PUP file ps3updat_431.pup : can't read "::PUPUNPACK": no such variable
Error running script: Error extracting PUP file ps3updat_431.pup : can't read "::PUPUNPACK": no such variable
here is fix for fciv ! (2 formats!)
cmd line
Code:
fciv.exe (file dir) -v -xml db
<?xml version="1.0" encoding="utf-8"?>
<FCIV>
<FILE_ENTRY>
<name>dir of the file with file name at the end</name>
<MD5>md5 here</MD5>
<SHA1>sha1 here</SHA1>
</FILE_ENTRY>
</FCIV>
as you saw i did not added .xml in the end altho it is an xml file format!
it fixed the prob and here is the second way!
Code:
# Add the input OFW SHA1 to the DB
if {${::SHADD} == "false"} {
debug "Adding the SHA1 of the Input PUP to the DB"
sha1_check ${input}
}
# Check input OFW PUP SHA1
if {${::SHCHK} == "false"} {
set catch [catch [sha1_verify ${input}]]
if {$catch == 1} {
log "Error!!"
log "SHA1 of input PUP do not match any knowen SHA1"
after 20000
exit 0
} elseif {$catch == 0} {
log "PUP SHA1 of input OFW match knowen SHA1!"
}
unset catch
}
this goes in ps3mfw_tasks.tcl