View Single Post
Old 08-09-2012   #240
longhornx
Member
 
Join Date: Oct 2008
Posts: 182
Likes: 16
Liked 15 Times in 10 Posts
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Viral Doom View Post
Nothing bro, the same results



But if I make a fix to 3.41, I NEED to use 0004?

About ContentID, should I use, for example SOCOM 4:

ContentID: UP9000-BCUS98135_00-S4PATCH000000001

So, in the script I use:

Code:
--np-content-id=UP9000-BCUS98135_00-S4PATCH000000001
is that what u mean?

What is the diferences to use the right ContentID?, I have made more than 10 Fixes with %CID% / %~1, and the result its the same: works ^^
you have to use the content id inside of original eboot.bin, just read it with scetool -i eboot.bin

%CID% -<is returned from scetool -i blabal.self(bin) = content id
%~1 is the value inputed in from batch, eg:

mybatch.bat value2input
value2input will be a var called %1 (%~1=without quotes)

EDIT: can someone try to decrypt 2 self files inside of this MW2 (BLES00683) patch?

eboot.elf has only 69.6KB i used this batch without success

@Echo off
for %%S in (eboot.elf) do SET /a LAST_OFFSET=%%~zS-16
for %%S in (eboot.elf) do SET /a MAX_OFFSET=%%~zS-16
:START
set CUT=8
if %LAST_OFFSET% gtr 1000000 (
set /a CUT+=1
)
rem echo Cut val: %CUT%
FOR /F "tokens=*" %%i in ('"od -j%LAST_OFFSET% -N16 -w16 -t x1 eboot.elf | cut -c %CUT%- |sed 's/ //g'"') do SET KEY=%%i
if %KEY% == 00000000000000000000000000000000 (
echo Skipped 10 bytes of blank/useless key at %LAST_OFFSET%
set /a LAST_OFFSET-=10
) else (
ECHO Trying Key: %KEY% from decimal offset: %LAST_OFFSET% / %MAX_OFFSET%
scetool.exe -d patch.self selfout.elf -l %KEY% >nul
set /a LAST_OFFSET-=1
)
IF EXIST selfout.elf GOTO END
goto START
:end
echo Done! Key used was: %KEY%
pause
Download patch v1.13

Last edited by longhornx; 08-09-2012 at 06:43 PM.
longhornx is offline   Reply With Quote