aldostools / webMAN-MOD

Extended services for PS3 console (web server, ftp server, netiso, ntfs, ps3mapi, etc.)
https://aldostools.github.io/webMAN-MOD/
GNU General Public License v3.0
1.33k stars 177 forks source link

Can't Set Memory or Read Memory with PS3MAPI #809

Closed avze closed 1 year ago

avze commented 2 years ago

So I recently just got a new PS3 and installed webmanMOD 1.47.42 and I can connect and attach to the game using ps3mapi but just cant read memory or set memory with it. How Can I fix this issue?

aldostools commented 2 years ago

Please, verify if a previous version of webMAN MOD is able to get/set the process memory.

Latest build has changes in ps3mapi server. It requires to be enabled in /setup.ps3 (the PS3MAPI option found in the section for combo shortcuts). The option is disabled by default. If it is enabled, you must restart the console to get the ps3mapi server running.

You can get/set the process memory through the web interface or remotely using NetCheat (which requires ps3mapi server running).

Mr-Beacon00 commented 1 year ago

Please, verify if a previous version of webMAN MOD is able to get/set the process memory.

Latest build has changes in ps3mapi server. It requires to be enabled in /setup.ps3 (the PS3MAPI option found in the section for combo shortcuts). The option is disabled by default. If it is enabled, you must restart the console to get the ps3mapi server running.

You can get/set the process memory through the web interface or remotely using NetCheat (which requires ps3mapi server running).

same issue here. 1.47.40 and lower version don't have this problem. 1.47.41 and higher version can't read memory from NetCheat or PS3MAPI Tools.

aldostools commented 1 year ago

Thank you for your feedback. Please use the old version until the cause of the fault in the current version is identified.

aldostools commented 1 year ago

@Mr-Beacon00 Could you try using this test build of 1.47.42? webftp_server_test_20221210.zip

I have changed a check for kernell_full in PASV introduced recently by @kostirez1 for FTP server (also implemented in PS3MAPI server). Iinstead of abort the connection, it will wait for 100ms and continue trying.

    bool kernel_full = wait_for_new_socket();

    if(kernel_full)
    {
        sys_ppu_thread_sleep(100000);
        continue; // retrying
    }
avze commented 1 year ago

I replaced it in dev_hdd0/plugins and did a full reboot and tested it on my own application and netcheat and still can't read or write memory

aldostools commented 1 year ago

Thank you @avze for your feedback.

In that case, I honestly don't know what could be the cause of the bug. I compared 1.47.40 vs 1.47.42 and the main change that could be related to this issue is that check for kernel_full in PASV.

If you need to use NetCheat, please use 1.47.40 until a fix is found.

aldostools commented 1 year ago

@avze @Mr-Beacon00 please test this new build (replace the sprx in /dev_hdd0/plugins and reboot): webftp_server_test2_ps3mapi.zip

I found something weird parsing the NetCheat commands received by the PS3MAPI server

NOTE: Remember to enable ps3mapi in /setup.ps3 image

aldostools commented 1 year ago

This is an updater pkg that includes more fixes to ps3mapi server. It is untested. updater_test.zip

Mr-Beacon00 commented 1 year ago

This is an updater pkg that includes more fixes to ps3mapi server. It is untested. updater_test.zip

ok test complete I can read and write memory now

GuillaumeMrNiato commented 1 year ago

Work for me too on a DECR1000A thanks !