bucanero / apollo-psp

Apollo Save Tool (PSP)
http://www.bucanero.com.ar/
GNU General Public License v3.0
48 stars 1 forks source link

Add ARK cfw support to dumper plugin installer #4

Open bucanero opened 1 year ago

bucanero commented 1 year ago

As reported on Discord, ARK uses 1 file for all plugins (plugins.txt). its csv i.e:

vsh, ms0:/seplugins/cxmb/cxmb.prx, on

A quick patch would be to check if plugins.txt exists, then use it and assume ARK cfw; if not, then go with regular game.txt

krazynez commented 1 year ago

Update for you:

We have this as well for multiple games to be using the same plugin.

ULUS10041 ULES00502, ms0:/seplugins/cheatdevice_remastered.prx, on
Demonic098 commented 1 year ago

A quick patch would be to check if plugins.txt exists, then use it and assume ARK cfw it is not a proper way detecting ARK CFW

bucanero commented 1 year ago

A quick patch would be to check if plugins.txt exists, then use it and assume ARK cfw it is not a proper way detecting ARK CFW

can you provide a better way to detect ARK?

Demonic098 commented 1 year ago

better ask @Acid_Snake https://discord.gg/Zu3RJAUu

krazynez commented 1 year ago

Per Acid: There are multiple ways however these seem the best fit.

If you have kernel level access: scan for the compat layer or arkconfig function. usermode access : try to call getarkconfig and check for the magic number.