Mamba Loader (+AutoLoader)

Do I sense rebug+mamba here? lol

That is too soon to talk about it yet, however [MENTION=600]_NzV_[/MENTION] your dynamic patching works for sys_aio_copy_root, I was able to successfully launch COD AW without hanging on loading screen, tested on REX 4.70 cex mode with aldo's latest webMAN 1.41.33 rebug/cobra/ps3mapi edition. However this function will be broken when using stealth mode that unhooks all calls including sys_aio_copy_root, I do not mess with PSN much, so It wouldn't be a problem for me, but some may find this inconvenient but they gotta learn how to use ISO rips instead which is the least problematic method of playing back up games on the days. Outstanding job [MENTION=600]_NzV_[/MENTION] and thanks [MENTION=89]aldostools[/MENTION] for great support! FYI [MENTION=34]Zar[/MENTION] I believe this result should be very helpful for your development on managunz Can't wait to see your new update :)


Sent from my iPhone using Tapatalk
 
That is too soon to talk about it yet, however [MENTION=600]_NzV_[/MENTION] your dynamic patching works for sys_aio_copy_root, I was able to successfully launch COD AW without hanging on loading screen, tested on REX 4.70 cex mode with aldo's latest webMAN 1.41.33 rebug/cobra/ps3mapi edition. However this function will be broken when using stealth mode that unhooks all calls including sys_aio_copy_root, I do not mess with PSN much, so It wouldn't be a problem for me, but some may find this inconvenient but they gotta learn how to use ISO rips instead which is the least problematic method of playing back up games on the days. Outstanding job [MENTION=600]_NzV_[/MENTION] and thanks [MENTION=89]aldostools[/MENTION] for great support! FYI [MENTION=34]Zar[/MENTION] I believe this result should be very helpful for your development on managunz Can't wait to see your new update :)
Sent from my iPhone using Tapatalk

I forget your clout sometimes, [MENTION=29]Joonie[/MENTION]. my apologies :)

My theory, which is just a hunch, assumption, etc. is that mamba would be really effective for a LITE release. Rex Lite + mamba (cobra lite) + webman lite = Lite edition
 
[MENTION=600]_NzV_[/MENTION] another report regarding auto loader 2.0.0 with bd mirror support.

I tested it on REX 4.53.1 which had debug stage1 that used to cause issues with prx loader not being able to launch, it works fine with your auto loader, however It doesn't work with debug stage1 when core doesn't remove this which was expected, it just hangs when launching mamba loader.

I tried IRISMAN while prx/mamba were loaded, IRIS detected those two payloads as COBRA. And tried some games require bd mirror, it didn't work properly, it may have been due to webMAN was loaded, I will investigate this further when I get back home :)

EDIT

I tried again without webman, now IRIS works fine with bd mirror, it behaves like as if Cobra was loaded, tested on REBUG 4.30.2 DEX, however your autoloader /loader still don't patch lv2memory protection, so I had to manually poke lv1 to do experiments.

You can try those following games require bd mirror [folder rips only]
All COD series
Dead Island / Riptides
Beyond Two Souls


[MENTION=34]Zar[/MENTION]

Managunz 1.10 doesn't seem to like rebug 4.30, it keeps being stuck at "reloading" ? Any clue on this? I will let you know how it goes with 4.70

Update

The same for 4.70 cex also, I must have some files that your manager doesn't like.

Using mamba/prx/cobra don't make any difference at the moment

I am using WD 3.0 portable 2tb usb hdd,
Using multiple partition [suspected cause]

Primary partition is fat32 [500gb]
Secondary partition is NTFS [1.3tb]

Sent from my iPhone using Tapatalk
 
Last edited:
[MENTION=29]Joonie[/MENTION] I already figured out wat is this issue : http://www.psx-place.com/forum/mana...kup-manager-zar-1198-post10790.html#post10790

I think that I fixed it. Do you want a private version to test it ? I didn't tested but i'm confident. Right now, I'm working on a File Manager included in ManaGunZ but it's still not finished. When it will be finished (at least working well) I'll take a look on all this new mamba features later to include it in MGZ, now it's still the v1.20 ;p

[MENTION=600]_NzV_[/MENTION] If we mount a JB game with mamba, can we enable or disable the patched libfs, or it's always enabled ?
 
That is too soon to talk about it yet, however [MENTION=600]_NzV_[/MENTION] your dynamic patching works for sys_aio_copy_root, I was able to successfully launch COD AW without hanging on loading screen, tested on REX 4.70 cex mode with aldo's latest webMAN 1.41.33 rebug/cobra/ps3mapi edition. However this function will be broken when using stealth mode that unhooks all calls including sys_aio_copy_root, I do not mess with PSN much, so It wouldn't be a problem for me, but some may find this inconvenient but they gotta learn how to use ISO rips instead which is the least problematic method of playing back up games on the days. Outstanding job [MENTION=600]_NzV_[/MENTION] and thanks [MENTION=89]aldostools[/MENTION] for great support! FYI [MENTION=34]Zar[/MENTION] I believe this result should be very helpful for your development on managunz Can't wait to see your new update :)


Sent from my iPhone using Tapatalk

Great ^^, and about stealth mode i think the same append on cobra ? (due to syscall 8 disabled?)

[MENTION=600]_NzV_[/MENTION] another report regarding auto loader 2.0.0 with bd mirror support.

I tested it on REX 4.53.1 which had debug stage1 that used to cause issues with prx loader not being able to launch, it works fine with your auto loader, however It doesn't work with debug stage1 when core doesn't remove this which was expected, it just hangs when launching mamba loader.

I tried IRISMAN while prx/mamba were loaded, IRIS detected those two payloads as COBRA. And tried some games require bd mirror, it didn't work properly, it may have been due to webMAN was loaded, I will investigate this further when I get back home :)

EDIT

I tried again without webman, now IRIS works fine with bd mirror, it behaves like as if Cobra was loaded, tested on REBUG 4.30.2 DEX, however your autoloader /loader still don't patch lv2memory protection, so I had to manually poke lv1 to do experiments.

You can try those following games require bd mirror [folder rips only]
All COD series
Dead Island / Riptides
Beyond Two Souls


[MENTION=34]Zar[/MENTION]

Managunz 1.10 doesn't seem to like rebug 4.30, it keeps being stuck at "reloading" ? Any clue on this? I will let you know how it goes with 4.70

Update

The same for 4.70 cex also, I must have some files that your manager doesn't like.

Using mamba/prx/cobra don't make any difference at the moment

I am using WD 3.0 portable 2tb usb hdd,
Using multiple partition [suspected cause]

Primary partition is fat32 [500gb]
Secondary partition is NTFS [1.3tb]

Sent from my iPhone using Tapatalk

I don't have updated yet loader/autoloader with patch lv2 memeory protection for all rebug fw il will do it today

[MENTION=29]Joonie[/MENTION] I already figured out wat is this issue : http://www.psx-place.com/forum/mana...kup-manager-zar-1198-post10790.html#post10790

I think that I fixed it. Do you want a private version to test it ? I didn't tested but i'm confident. Right now, I'm working on a File Manager included in ManaGunZ but it's still not finished. When it will be finished (at least working well) I'll take a look on all this new mamba features later to include it in MGZ, now it's still the v1.20 ;p

[MENTION=600]_NzV_[/MENTION] If we mount a JB game with mamba, can we enable or disable the patched libfs, or it's always enabled ?

libfs is patched on the "fly", when you mount en JB game it will be enabled and if after you mount an iso it would be disabled.
You cant force enable/disable right now but if you think its useful i can add it.
 
I don't know if it's usefull or not but I prefere having control on it, because there is an option in ManaGunZ for this.
BTW, IS cobra using the patched libfs "on the fly" too ?
 
I don't know if it's usefull or not but I prefere having control on it, because there is an option in ManaGunZ for this.
BTW, IS cobra using the patched libfs "on the fly" too ?

Its the same code as cobra.

No need to add an option to disable libsfs patch, set like always your libfs.sprx patched with map_patch and when libfs.sprx will be load it wouldn't be patched by MAMBA since hash will not match to the original one, so you have control on it :)
 
Last edited:
[MENTION=600]_NzV_[/MENTION]

yes, the same behavior with COBRA, I used to be the one of those crying babies whom didn't like this and ended up converting all my jb rips to ISO at some point [that was when using 4.46 cobra], I didn't understand how psnPATCH unhooked all cobra opcodes, but ever since [MENTION=124]kokotonix[/MENTION] shared the codes, I understood what happened, for those whom wanting psnPATCH stealth experience, you must learn to use ISO rips, instead of bitching about psnpatch doesn't work [usually COD players]
[MENTION=34]Zar[/MENTION]

I am coming back home today and I will probably be able to test your private 1.2.0 version. Please send me anytime you finish via PM, I have a plan to release all my stuff some time this week as soon as [MENTION=600]_NzV_[/MENTION] updates his new ps3mapi, currently my rex includes his 1.2b version which that had an issue with webMAN causing triple beeps on "some" HL users, that currently fixed on webMAN MOD 1.41.33 by removing conflicted codes; thanks [MENTION=89]aldostools[/MENTION] for that :)


Sent from my iPhone using Tapatalk
 
[MENTION=600]_NzV_[/MENTION]

yes, the same behavior with COBRA, I used to be the one of those crying babies whom didn't like this and ended up converting all my jb rips to ISO at some point [that was when using 4.46 cobra], I didn't understand how psnPATCH unhooked all cobra opcodes, but ever since [MENTION=124]kokotonix[/MENTION] shared the codes, I understood what happened, for those whom wanting psnPATCH stealth experience, you must learn to use ISO rips, instead of bitching about psnpatch doesn't work [usually COD players]
[MENTION=34]Zar[/MENTION]

I am coming back home today and I will probably be able to test your private 1.2.0 version. Please send me anytime you finish via PM, I have a plan to release all my stuff some time this week as soon as [MENTION=600]_NzV_[/MENTION] updates his new ps3mapi, currently my rex includes his 1.2b version which that had an issue with webMAN causing triple beeps on "some" HL users, that currently fixed on webMAN MOD 1.41.33 by removing conflicted codes; thanks [MENTION=89]aldostools[/MENTION] for that :)


Sent from my iPhone using Tapatalk

About the webMAN issue PS3M_API don't need an update i have found what need to be changed in webMAN to keep it unload with PS3M_API see here : http://www.psx-place.com/forum/ps3-...-reader-support-1612-post11256.html#post11256

I will push another update for MAMBA in few:

-Add rewrite protection for syscall 6,7,9,10,11,35 (8 already protected) since MAMBA manage them like in original COBRA, with one change it will allow you to rewrite them only if you try to remove them.
-Minor code optimization
-PS3M_API v1.2.1: minor change only nothing to care about

Also i wonder if their is any interest to add some new features to ps3m_api like peek and poke anytime, lv2 mem alloc, dealloc, memcpy, ... ?
 
Last edited:
I will push another update for MAMBA in few
Also i wonder if their is any interest to add some new features to ps3m_api like peek and poke anytime, lv2 mem alloc, dealloc, memcpy, ... ?

Please check your inbox... I sent you a PM, but I see you already published MAMBA/PRX Loader 2.1.0 :(

Some suggestions:
- Some feature that could be interesting is an optional display of a popup when some messages are logged.
- Also some flags currently enabled through flag files could be stored also on a config file like in Cobra.
- It would be neat if ps3mapi could read a text file placed in some pre-defined location (e.g. /PS3CHEAT/BLES12345.TXT) and could poke the values automatically to the EBOOT offsets like CodeUnique do.
 
Please check your inbox... I sent you a PM, but I see you already published MAMBA/PRX Loader 2.1.0 :(

Some suggestions:
- Some feature that could be interesting is an optional display of a popup when some messages are logged.
- Also some flags currently enabled through flag files could be stored also on a config file like in Cobra.
- It would be neat if ps3mapi could read a text file placed in some pre-defined location (e.g. /PS3CHEAT/BLES12345.TXT) and could poke the values automatically to the EBOOT offsets like CodeUnique do.


v2.1.0 was only published on my git, so i have add whats you send to me (by way the thanks) to the published version here right now :).

About are kind of messages are you talking about ?

I already thinking to use a config file too (i have already made some change in mamba to use mamba_cfg.bin instead of cobra_cfg.bin)

I can easily add autopatch eboot for game (ps3m_api v1.3 will also include autoboot plugins for game) but do to this i need to find a code format for the cheat file and a code to read it, if someone can help with this.
I have also thinks to do the same thing in the webUI some kind of webCheat Tools, it read a file according to game and generate an html page with checkbox for example to enabled godmod, ammo max, .... some quick cheat who don't need to do a lot of patch ...
Maybe one day ^^



--------------------------------------------------------------------------------------

V2.1.0 is out:


  • MAMBA updated:
-Add support for discless (bdmirror) mode with JB format game (dynamic patch of libfs.sprx like COBRA)
-Enable opcode "SYSCALL8_OPCODE_AIO_COPY_ROOT"
-Add support for 4.70DEX
-Code improvement and cleaning​

  • Add remove LV2 memory protection for all rebug cfw bellow 4.53
  • Add support for 4.70DEX
  • MAMBA/PRX Loader payload updated: add an opcode to check if its really loaded
  • Loader and Autoloader will now check if MAMBA/PRX Loader payload is truly installed


Note: I have compiled MAMBA payload of this version with GCC 4.1.1 (like COBRA) it save a few ko.
 
Last edited:
v2.1.0 was only published on my git, so i have add whats you send to me (by way the thanks) to the published version here right now :).

About are kind of messages are you talking about ?

I already thinking to use a config file too (i have already made some change in mamba to use mamba_cfg.bin instead of cobra_cfg.bin)

I can easily add autopatch eboot for game (ps3m_api v1.3 will also include autoboot plugins for game) but do to this i need to find a code format for the cheat file and a code to read it, if someone can help with this.
I have also thinks to do the same thing in the webUI some kind of webCheat Tools, it read a file according to game and generate a page to it with check to enable godmod, ammo max, .... some quick cheat who don't do to do a lot of patch ...
Maybe one day ^^

Yes, I was talking about the version published on github... what I sent you was based on 2.0.0, so extra work was needed :(

The messages that I'm talking about are the error messages. A popup is more informative than 2/3 beeps ;) Also an optional popup could be shown when the payload is loaded.
e.g. Mamba Loaded (plugins are disabled). Anyway it is not very important.

Regarding the autopatch eboot, you could consider the text format used in PS3 Cheats Editor, which is based on CodeUnique.
The main advantage are that the database already have thousands of cheats for more than 900 games, it is simple to read and many users already know it.

Example:
Code:
----------------------------------------------
BLES00870 <Tiger Woods PGA Tour 2011 EU> 01.02
----------------------------------------------
<001> P1/Player Always 1 Stroke
00004000 30A9D470 00000001
00004012 00000004 00000000

<002> Player 99999900 XP
00002000 30EB5AB8 05F5E09C
 
Yes, I was talking about the version published on github... what I sent you was based on 2.0.0, so extra work was needed :(

The messages that I'm talking about are the error messages. A popup is more informative than 2/3 beeps ;) Also an optional popup could be shown when the payload is loaded.
e.g. Mamba Loaded (plugins are disabled). Anyway it is not very important.

Regarding the autopatch eboot, you could consider the text format used in PS3 Cheats Editor, which is based on CodeUnique.
The main advantage are that the database already have thousands of cheats for more than 900 games, it is simple to read and many users already know it.

Example:
Code:
----------------------------------------------
BLES00870 <Tiger Woods PGA Tour 2011 EU> 01.02
----------------------------------------------
<001> P1/Player Always 1 Stroke
00004000 30A9D470 00000001
00004012 00000004 00000000

<002> Player 99999900 XP
00002000 30EB5AB8 05F5E09C

I understand now about popup :) i need to take a look how use dialog to do this.

That would be great indeed if we can use the format as PS3Cheats i just need to figured how to read it.

I also wonder how to enable netiso in MAMBA, if i am right the only missing things is the two patch for "User thread prio hack (needed for netiso)" ? or maybe an module patch is needed ? i looked everywhere its the only thing related to netiso who are missing in MAMBA.
If its the only missing think i can add for netiso for some cfw too (all who already have an cobra version since offset are know for them).
 
Last edited:
I understand now about popup :) i need to take a look how use dialog to do this.

That would be great indeed if we can use the format as PS3Cheats i just need to figured how to read it.

I also wonder how to enable netiso in MAMBA, if i am right the only missing things is the two patch for "User thread prio hack (needed for netiso)" ? i looked everywhere its the only thing related to netiso who are missing in MAMBA.
If its the only missing think i can add for netiso for some cfw too (all who already have an cobra version since offset are know for them).

For popup I mean "vshtask_notify" (look show_msg() in webMAN).

The ps3cheats format is a sequential file read line by line. Initially you can support only code 00002000 (which is a direct poke to the address in the 2nd column). These are ~70% of the codes.

Regarding the netiso I have a feeling that it should be possible to implement it too with Mamba, due webMAN create the thread for netiso and process them (in a similar fashion to ntfs isos).
 
For popup I mean "vshtask_notify" (look show_msg() in webMAN).

The ps3cheats format is a sequential file read line by line. Initially you can support only code 00002000 (which is a direct poke to the address in the 2nd column). These are ~70% of the codes.

Regarding the netiso I have a feeling that it should be possible to implement it too with Mamba, due webMAN create the thread for netiso and process them (in a similar fashion to ntfs isos).

This is becoming an amazing project. With netiso, it would be 99% perfect :) (always room for tweaks)
 
I understand now about popup :) i need to take a look how use dialog to do this.

That would be great indeed if we can use the format as PS3Cheats i just need to figured how to read it.

I also wonder how to enable netiso in MAMBA, if i am right the only missing things is the two patch for "User thread prio hack (needed for netiso)" ? or maybe an module patch is needed ? i looked everywhere its the only thing related to netiso who are missing in MAMBA.
If its the only missing think i can add for netiso for some cfw too (all who already have an cobra version since offset are know for them).
[MENTION=600]_NzV_[/MENTION]

// User thread prio hack (needed for netiso)
{ user_thread_prio_patch, NOP },
{ user_thread_prio_patch2, NOP },

This is one of those kernel patches in LV2 [offsets are per FW], this can be pre-applied in lv2kernel or, poked by webMAN or PS3MAPI also,

For ex)

Code:
	// 4.70 CEX, User thread prio hack (needed for netiso)	
			pokeq(0x80000000000203F8ULL, 0x600000002B9E0BFFULL ); // user_thread_prio_patch
			pokeq(0x8000000000020404ULL, 0x600000007B8007A0ULL ); // user_thread_prio_patch2

we need to look in to netiso.sprx module instead,

https://github.com/Joonie86/Cobra-7.00/blob/master/446/EXTRA/netiso/main.c

Looks like mamba is not missing any required opcode for netiso. It seems that easily implemented anytime soon
 
Last edited:
Netiso is working :) only have to add the two patch to user_thread_prio_patch to enabled it ^^
I tested it with advanced warfare (JB Format) without issue
 
[MENTION=600]_NzV_[/MENTION] just report about missing define for 4.66CEX in your stage2/main.c

#define FIRMWARE_VERSION 0x0466

https://github.com/NzV/MAMBA/blob/master/stage2/main.c#L86

Bon boulot mec ;)

Merci :)

I have fixed this error and updated my git again now MAMBA has support for NetIso on all CFW (it will patch user_thread_prio_patch when it was loaded like COBRA does) and also if want you can now build MAMBA "DEBUG" (buildtype set to debug instead of release in makefile) for all cfw too.

I will updated Loader and Autoloader with the New MAMBA right now, i thinks this time MAMBA is really COBRA LITE (no ps2, no psp support but support all ps3 features like cobra) nothing more need to be add i think.

----------------

EDIT: MAMBA/PRX Loader (+Autoloader) v2.1.1 is online
 
Last edited:
Back
Top