Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for CFW Plugins #724

Closed
thiagokokada opened this issue Feb 17, 2013 · 18 comments
Closed

Support for CFW Plugins #724

thiagokokada opened this issue Feb 17, 2013 · 18 comments

Comments

@thiagokokada
Copy link
Contributor

Support for XMB and VSH(?) plugins woudn't make sense, but support for GAME plugins would, so we can use plugins like CWCheat, translation projects like this one for Project DIVA Extended or even bypass some nasty copy protection or anything like that.

@hrydgard
Copy link
Owner

I don't really know how those work so I can't tell you yet if it will be possible. Can you point me to some source code for a GAME plugin so I can have a look?

@thiagokokada
Copy link
Contributor Author

I didn't found anything since this is a bit old, but I asked some help from the Wololo forums (http://wololo.net/talk/viewtopic.php?f=5&t=28746), maybe they will help. And maybe this can help too: http://code.google.com/p/procfw/source/checkout. This is one CFW that supports plugins, and it's opensource.

@thiagokokada
Copy link
Contributor Author

@StorMyu
Copy link
Contributor

StorMyu commented Feb 17, 2013

Game plugin are just thread, they're all the same actually... VSH/Game. Think of them as dormant homebrew that's all

Envoyé avec mon Smartphone BlackBerry® de Free

-----Original Message-----
From: Thiago Kenji Okada [email protected]
Date: Sun, 17 Feb 2013 11:24:09
To: hrydgard/[email protected]
Reply-To: hrydgard/ppsspp [email protected]
Subject: Re: [ppsspp] Support for CFW Plugins (#724)

Source code: http://wololo.net/talk/viewtopic.php?f=28&t=4997


Reply to this email directly or view it on GitHub:
#724 (comment)

@devnoname120
Copy link

Any sony module is a plugin: a game plugin is just a module usually patching/hooking some stuff.

One example of plugin here: http://code.google.com/p/aemu/
This one should be directly integrated in the menu though: it would allow users to play online with adhoc games even with PSP players :)

@unknownbrackets
Copy link
Collaborator

Are most PSP plugins written in kernel mode? Or are some in user mode?

-[Unknown]

@devnoname120
Copy link

Half: some are user mode, some are kernel mode, some are mixing both :p
(kernel module running kernel threads and user threads).

You'll need to support both.

@StorMyu
Copy link
Contributor

StorMyu commented Feb 17, 2013

Iirc, all plugins are kernel, not user, I could be wrong though

Envoyé avec mon Smartphone BlackBerry® de Free

-----Original Message-----
From: devnoname120 [email protected]
Date: Sun, 17 Feb 2013 13:26:17
To: hrydgard/[email protected]
Reply-To: hrydgard/ppsspp [email protected]
Cc: [email protected]
Subject: Re: [ppsspp] Support for CFW Plugins (#724)

Half: some are user mode, some are kernel mode, some are mixing both :p
(kernel module running kernel threads and user threads).

You'll need to support both.

On Sun, Feb 17, 2013 at 8:55 PM, Unknown W. Brackets <
[email protected]> wrote:

Are most PSP plugins written in kernel mode? Or are some in user mode?

-[Unknown]


Reply to this email directly or view it on GitHubhttps://github.com//issues/724#issuecomment-13695482.


Reply to this email directly or view it on GitHub:
#724 (comment)

@hrydgard
Copy link
Owner

Plugins that would actually patch the PSP kernel won't work in PPSSPP as their patches will not hit anything as PPSSPP is running a fake kernel outside the system emulation. But if they only call known kernel functions it should theoretically be possible to add support to run them.

@devnoname120
Copy link

There are only a few ones actually doing weak hooks (inject code into the
kernel function).
Most of them just change the imports of the modules with their own function.

@StorMyu
Copy link
Contributor

StorMyu commented Feb 17, 2013

I already did one like that, hooking the sceIo function to uses files on the memory stick instead of Iso/UMD (as a translation/test purpose) it's just nice to use a japanese UMD game with English :p
Need to redo it, code was pretty ugly.
Envoyé avec mon Smartphone BlackBerry® de Free

-----Original Message-----
From: devnoname120 [email protected]
Date: Sun, 17 Feb 2013 14:43:36
To: hrydgard/[email protected]
Reply-To: hrydgard/ppsspp [email protected]
Cc: [email protected]
Subject: Re: [ppsspp] Support for CFW Plugins (#724)

There are only a few ones actually doing weak hooks (inject code into the
kernel function).
Most of them just change the imports of the modules with their own function.

On Sun, Feb 17, 2013 at 11:40 PM, Henrik Rydgård
[email protected]:

Plugins that would actually patch the PSP kernel won't work in PPSSPP as
their patches will not hit anything as PPSSPP is running a fake kernel
outside the system emulation. But if they only call known kernel functions
it should theoretically be possible to add support to run them.


Reply to this email directly or view it on GitHubhttps://github.com//issues/724#issuecomment-13698961.


Reply to this email directly or view it on GitHub:
#724 (comment)

@devnoname120
Copy link

The Prometheus online client also does that for 1.XX games that read adhoc
modules from the iso and then run them.

http://code.google.com/p/aemu

@cloud1250x4
Copy link

prometheus client would be bad ass ahah but it will wait till network isn't working in the emulator and this is not really important -,-'

@devnoname120
Copy link

When you say "bad", you mean "awesome"?

By the way, we don't need the network to be implemented, we can just port
the prometheus online client to cURL.

@hrydgard
Copy link
Owner

he said "bad ass" which, I gather, generally means "awesome" yes :)

What does cURL has to do with it? No reason PPSSPP couldn't have real built-in prometheus, if someone coded it.

@devnoname120
Copy link

Wait, you're right, it has clearly nothing do to with !

I was thinking to the sceHttp emulation but it has clearly nothing to do
with the adhoc functions.

@unknownbrackets
Copy link
Collaborator

https://github.com/unknownbrackets/ppsspp/tree/plugins

Starts to work, but none of the plugins actually work since most of the things they try to do don't work correctly. JpcspTrace at least writes out the start of a log file, for example.

-[Unknown]

@VeGas-Gh0st
Copy link

VeGas-Gh0st commented Sep 24, 2016

i just need to english patch Earth Defence Forces 2 Portable (Jap)

here is an amazing writeup

http://zenade.angelfire.com/EDF/EDF2.html

(EDIT: CWCheats listed here confirmed tested and working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants