User talk:Kozarovv
Jump to navigation
Jump to search
PSPEmu
The key for minis2 is known, you can just use npdtool to encrypt it. ofc you can patch it to read unencrypted ones but whats the advantage?
are you interested in any specific game?
i patched some games and found some more configurations:
http://www.psdevwiki.com/ps3/Talk:PSP_Emulation#PSP_compatibility_lists
--Mysis
- My point is to use PSP Remaster Launcher because it allow to use minis2 config directly with decrypted ISO. With this patch I should be able to run test games very easy/fast, because I can use plain ISO + plain minis2.txt without need for external tools. I can then even edit config thru ftp text editor without need to do any additional steps (specially useful with black screen games). Is not necessary, just make things much easier. I'm interested in overall tests with games I have, not any specific game. --Kozarovv
> Ok, patching is quite easy, its in the psp_emulator.self there is only one sceNpDrmIsAvailable followed by a OpenFile...:
seg001:000000000001158C 41 9E 00 1C beq cr7, no_minis2
seg001:0000000000011590 7B A3 00 20 clrldi r3, r29, 32
seg001:0000000000011594 7F E4 FB 78 mr r4, r31
seg001:0000000000011598 48 04 98 DD bl _sceNp_sceNpDrmIsAvailable -> 38 60 00 00 li r3, 0
seg001:000000000001159C E8 41 00 28 ld r2, 0x18A0+var_1878(r1)
seg001:00000000000115A0 2F 83 00 00 cmpwi cr7, r3, 0
seg001:00000000000115A4 41 9E 06 58 beq cr7, loc_11BFC
seg001:00000000000115A8
seg001:00000000000115A8 no_minis2: # CODE XREF: main+74C�j
seg001:00000000000115A8 # main+DE4�j ...
seg001:00000000000115A8 80 1E 00 08 lwz r0, 8(r30)
seg001:00000000000115AC 2F 80 00 02 cmpwi cr7, r0, 2
seg001:00000000000115B0 41 9E 05 54 beq cr7, read_2nd_settings
and possibly, but not sure:
seg001:0000000000011BFC loc_11BFC: # CODE XREF: main+764�j
seg001:0000000000011BFC 38 00 00 02 li r0, 2
seg001:0000000000011C00 7F E3 FB 78 mr r3, r31
seg001:0000000000011C04 38 80 00 00 li r4, 0
seg001:0000000000011C08 38 A1 00 74 addi r5, r1, 0x18A0+var_182C
seg001:0000000000011C0C 38 C1 00 90 addi r6, r1, 0x18A0+var_1810 -> 38 C0 00 00 li r6, 0
seg001:0000000000011C10 38 E0 00 08 li r7, 8 -> 38 E0 00 00 li r7, 0
seg001:0000000000011C14 F8 01 00 90 std r0, 0x18A0+var_1810(r1)
seg001:0000000000011C18 48 04 91 DD bl _sys_fs_cellFsOpen
but if you are using cobra mode then cobra is checking psp_emulator hash? and might not apply the other patches: https://github.com/Joonie86/COBRA-7.3/blob/master/481/REX/SRC/stage2/modulespatch.h ? Not sure how it works...
- Cobra hash is no problem, I can recompile stage2, or just even edit hash in binary after adding patch. Thanks for sharing, you just made my testing much easier!
--Kozarovv