PS3 MAPI Dynarec Lib

In a some way you dont have latest MAPI enabled....
Meanwhile PicoDrive was updated in the RetroArchCE repository.
Dynarec options (In game menu -> Options -> Performance -> Dynamic Recompilers) are disabled by default.
If you have Mamba 8.4, or when you will have Cobra 8.4, with PS3 MAPI enabled, enable dynarec and enjoy.
 
In a some way you dont have latest MAPI enabled....
Meanwhile PicoDrive was updated in the RetroArchCE repository.
Dynarec options (In game menu -> Options -> Performance -> Dynamic Recompilers) are disabled by default.
If you have Mamba 8.4, or when you will have Cobra 8.4, with PS3 MAPI enabled, enable dynarec and enjoy.

Nice update!

Quick note: PS3 MAPI opcodes are always enabled in stage2 payload. They get disabled only if syscall 8 is fully disabled.

In webMAN MOD, when the option PS3 MAPI is enabled refers to keep the opcodes enabled when the CFW syscalls get disabled.
The option also enables/disable the PS3 MAPI server used to accept remote calls from PC tools like NetCheat.
 
@aldostools could you make that changes to PS3HEN in your repository?
I tried adding that script, but the compilation error:

ps3mapi_core.c: In function 'ps3mapi_process_page_allocate':
ps3mapi_core.c: 199: warning: passing argument 3 of 'page_allocate_auto' make integer from pointer without a cast
ps3mapi_core.c: 199: error: too few arguments to function 'page_allocate_auto'

Note: has changed u64 to uint64_t

Thanks.

Here's the PS3HEN source updated with the mamba 8.4 changes by @OsirisX
https://github.com/bucanero/PS3HEN

you can see the changes here:
https://github.com/bucanero/PS3HEN/commit/fd3f67a965264c8eca1c3b995a20346fd9cbc793

feel free to build and test from my fork, to compare results. (I can't share any binaries as I don't have a proper windows environment with cell sdk to compile all the required parts properly)
 
Last edited:
So for use dynarec we need to use mamba? How to update mamba with this nice feature? I remember I have use a PKG for install mamba and it start in simple way : " disable cobra/ reset"
 
So for use dynarec we need to use mamba? How to update mamba with this nice feature? I remember I have use a PKG for install mamba and it start in simple way : " disable cobra/ reset"

depends:
- if you have CFW, then you can install the new mamba, then disable cobra. (or wait for the new CFW by Evilnat that should include these new features in Cobra)

- if you have HEN, then you need to use a new HEN payload with the updated/embedded Cobra. Until a new official HEN release is made by ps3xploit team, you'll have to use some "beta" hen payload. See @aldostools post with compiled binaries if you want to test these new HEN payloads.
 
Install this PKG to verify if you have Dynarec enabled and its version.
In my case i still have Cobra 8.3, so no new payloads (MAPI CORE Verison: 291, MAPI FW Version: 1161).
 

Attachments

  • MAPIDynTest.pkg
    MAPIDynTest.pkg
    159.3 KB · Views: 64
  • IMG_20221125_151318.jpg
    IMG_20221125_151318.jpg
    1.8 MB · Views: 98
Install this PKG to verify if you have Dynarec enabled and its version.
In my case i still have Cobra 8.3, so no new payloads (MAPI CORE Verison: 291, MAPI FW Version: 1161).

btw, @aldostools @esc0rtd3w @Crystal , on the HEN implementation of PS3MAPI we still have CORE_VERSION = 0x0121 , while on mamba and evilnat is 0x0123.

Should we update the value on HEN source to match 0x0123 ? should we bump it to a higher value like 0x0124 to note that this version supports dynarec?
 
btw, @aldostools @esc0rtd3w @Crystal , on the HEN implementation of PS3MAPI we still have CORE_VERSION = 0x0121 , while on mamba and evilnat is 0x0123.

Should we update the value on HEN source to match 0x0123 ? should we bump it to a higher value like 0x0124 to note that this version supports dynarec?

Yes, it needs to be updated to 0x124 in Mamba, Cobra and HEN.

I commented 6 days ago that it's a TO-DO for these payloads.
https://github.com/aldostools/webMAN-MOD/pull/808#issuecomment-1320915497

EDIT:
I have updated MAMBA and HEN payloads to report the PS3MAPI version 0x124

@Evilnat still have to update the version in Cobra
 

Attachments

Last edited:
if you restarted with recover menu, the configuration made by the pkg is deleted.

You can try to install mamba payload manually:
1- Copy mamba_489C.bin to root of /dev_hdd0
2- Open notepad and add this line: /dev_hdd0/mamba_489C.bin
3- Save the file as boot_plugins_kernel_nocobra.txt and upload it to root of /dev_hdd0
4- Disable Cobra payload and reboot

The system should boot with mamba instead of Cobra.

Another alternative is update the payload in IRISMAN and launch it to load Mamba if Cobra is disabled

On my Rebug 4.86.1 there is a file called boot_plugins_nocobra.txt (without the word "kernel"), I just edit that file?

Is there any significant differences between Mamba and Cobra? They're for playing ISOs right. It might be easier to just disable Cobra permanently and use Mamba then.
 
On my Rebug 4.86.1 there is a file called boot_plugins_nocobra.txt (without the word "kernel"), I just edit that file?

Is there any significant differences between Mamba and Cobra? They're for playing ISOs right. It might be easier to just disable Cobra permanently and use Mamba then.
boot_plugins_nocobra.txt is used to load vsh plugins like webMAN. It is the equivalent to boot_plugins.txt when Cobra is disabled.

To load Mamba or any other kernel plugin, you need to put the path of the payload file in boot_plugins_kernel_nocobra.txt

Currently Mamba 8.4 has more features than Cobra 8.3. As soon Evilnat release his CFW 4.89.3 both will have practically the same features.

If you prefer, you can keep Cobra disabled and use Mamba 8.4 until Cobra 8.4 is released.
 
Great, I have updated my fork with 0x124 too:
https://github.com/bucanero/PS3HEN/commit/07a1d4e6d022d3c00fb7ffec450db225b212ede0

I also updated the PR to the official PS3HEN repo so if @esc0rtd3w merges it, the MAPI version will be up to date too.
i made a dev branch on the repo to push the current code that has been updated over the past few months. I have not been in contact with @bguerville in some time, so i wanted to get the code out there anyways for now. I havent had much time for HEN stuff lately, but ill check out the commits (some have been already added).
 
You can try to install mamba payload manually:
1- Copy mamba_489C.bin to root of /dev_hdd0
2- Open notepad and add this line: /dev_hdd0/mamba_489C.bin
3- Save the file as boot_plugins_kernel_nocobra.txt and upload it to root of /dev_hdd0
4- Disable Cobra payload and reboot

Really dumb question here, but I assume that for 4.86 I use mamba _486C.bin?
 
Back
Top