FreeMastercodeFinder

PS2 FreeMastercodeFinder v1.0.0.0

Usage:

Code:
FreeMastercodeFinder <PS2 ELF path> extra_flags...

to make the usage of this program inside a script easier, the program will return (%errorlevel%) 0 if it found a mastercode, nonzero if it didn't


[TABLE="class: brtb_item_table"][TBODY][TR][TD="align: center"]
flag
[/TD][TD="align: center"]
short flag
[/TD][TD="align: center"]
Effect
[/TD][/TR]
[TR][TD="align: center"]
--crude
[/TD]
[TD="align: center"]
-q
[/TD]
[TD="align: center"]
Only print the mastercodes, without the function names, CRC or anything else​
[/TD][/TR]
[TR][TD="align: center"]
--no-crc
[/TD]
[TD="align: center"]
-n
[/TD]
[TD="align: center"]
Dont print ELF CRC​
[/TD][/TR]
[TR][TD="align: center"]
--ps2rd-style
[/TD]
[TD="align: center"]
-p
[/TD]
[TD="align: center"]
Print results in a sintax ready to be pasted into a Cheat file for PS2RD, CheatDevice or OPL​
[/TD][/TR]
[TR][TD="align: center"]
--ps2rd-comment-mastercode
[/TD]
[TD="align: center"]
-c
[/TD]
[TD="align: center"]
only works with --ps2rd-style or --only-suitable-mastercode. the mastercode will have a leading comment with the corresponding function name​
[/TD][/TR]
[TR][TD="align: center"]
--only-suitable-mastercode
[/TD]
[TD="align: center"]
-s
[/TD]
[TD="align: center"]
instead of printing all mastercodes, only display the sceSifSendCmd Mastercode, if not found, first found Mastercode is chosen instead...​
[/TD][/TR]
[TR][TD="align: center"]
--detailed-report
[/TD]
[TD="align: center"]
-d
[/TD]
[TD="align: center"]
print the detailed report written by the PS2RD ELF analyzer algo​
[/TD][/TR][/TBODY][/TABLE]


Some examples:

Code:
>FreeMastercodeFinder.exe SLES_517.92
ELF CRC=64DA75B2
sceSifSendCmd   : 902B6540 0C0AD8F8
scePadRead      : 902BE8DC 0C0B1C26
main            : 90205EF8 0C05EB1C

Code:
>FreeMastercodeFinder.exe SLES_517.92 -p -c
//ELF CRC=64DA75B2

Mastercode
902B6540 0C0AD8F8 //sceSifSendCmd
902BE8DC 0C0B1C26 //scePadRead
90205EF8 0C05EB1C //main

Code:
>FreeMastercodeFinder.exe SLES_517.92 -p -d
//ELF CRC=64DA75B2

Mastercode
902B6540 0C0AD8F8
902BE8DC 0C0B1C26
90205EF8 0C05EB1C



>Beginning Analysis
>Processing ELF symbol table...
        main() found @ 00205EF0 (label)
        scePadRead() found @ 002BE880 (label)
        sceSifSendCmd() found @ 002B6518 (label)
        memcpy() found @ 002C7098 (label)
>Processing non-executable range 0x00000000-0x00000080...
>Processing executable range 0x00000080-0x00266D80...
        main() confirmed @ 00205EF0
        sceSifSendCmd() confirmed @ 002B6518
>Processing non-executable range 0x00266D80-0x0049B16C...
        >Confirming JAL function references...
        scePadRead() confirmed @ 002BE880
>Finished processing ELF
        ELF CRC = 64DA75B2
>Preparing report...
>Analysis Concluded

if we try with packed wLaunchELF:
Code:
>FreeMastercodeFinder.exe "BOOT.ELF" -d
ELF CRC=A24046E3
Could not find any mastercode
  • Like
Reactions: ShaolinAssassin
Uploaded by
El_isra
Downloads
1,492
Views
1,492
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from El_isra

Back
Top