ps2homebrew / Open-PS2-Loader

Game and app loader for Sony PlayStation 2
https://ps2homebrew.github.io/Open-PS2-Loader/
Academic Free License v3.0
2.02k stars 262 forks source link

[FR] VMC with CIV like sd2psx #1212

Open hardlevel opened 3 months ago

hardlevel commented 3 months ago

Checks

Describe the FR

Some games have problems with OPL's vmc, like Resident Evil 4.

Maybe these problems can be solve if the VMC have the CIV data. I know the CIV is copyrighted, so... What if OPL look for CIV file generated by the user, and if the file is found and have the corrrect HEX, apply it to the VMC?

Describe the solution you'd like

Apply CIV from file on root of usb to the VMC file when it is being created by OPL

Describe alternatives you've considered

Instead of looking for a file, a text input on vmc settings to include the hex manually

Additional context

No response

israpps commented 2 months ago

Checks

Describe the FR

Some games have problems with OPL's vmc, like Resident Evil 4.

Maybe these problems can be solve if the VMC have the CIV data. I know the CIV is copyrighted, so... What if OPL look for CIV file generated by the user, and if the file is found and have the corrrect HEX, apply it to the VMC?

Describe the solution you'd like

Apply CIV from file on root of usb to the VMC file when it is being created by OPL

Describe alternatives you've considered

Instead of looking for a file, a text input on vmc settings to include the hex manually

Additional context

No response

The CIV (Challenge IV) is part of the magicgate technology, yes. but if I understood correctly from what I've read from SD2PSX firmware, CIV is used to formulate the responses for the card authentication commands.

RE4 calls security commands related to the Card ID tho. I dont think CIV will help there...

hardlevel commented 2 months ago

pcsx2 creates virtual memory cards, but doesn´t have this problem, I think that the problem is the way of vmc is created, something is missing

I tried to make a copy of my official 8mb mc with MC Annihilator, but OPL fails to start the game using this image as vmc

If opl could use vmc from pcsx2, sd2psx and memcard pro 2, I think it can solve the problem

israpps commented 2 months ago

pcsx2 creates virtual memory cards, but doesn´t have this problem, I think that the problem is the way of vmc is created, something is missing

I tried to make a copy of my official 8mb mc with MC Annihilator, but OPL fails to start the game using this image as vmc

If opl could use vmc from pcsx2, sd2psx and memcard pro 2, I think it can solve the problem

theres one difference. PCSX2 is emulating the mechacon and all the other hardware. they can deal with these issues in a very different way

hardlevel commented 2 months ago

so what if using the vmc created by sd2psx or memcard pro 2?

israpps commented 2 months ago

so what if using the vmc created by sd2psx or memcard pro 2?

I don't think it will help, the MC id is not on the card data, it's something the mc controller sends as a response for a command emitted by the SECRMAN driver

10522 commented 2 months ago

@hardlevel, check out this and this.