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.32k stars 175 forks source link

DECR firmware no longer properly detected #251

Closed nowarin closed 1 year ago

nowarin commented 5 years ago

In the version of wMM that comes packaged with the latest Rebug for DECR, the firmware is detected as 4.84 DECR. With the latest here, it shows up as "4.xx DEX". It seems DECR/DEH firmware is no longer properly detected.

aldostools commented 5 years ago

The binaries were built with the flag LAST_FIRMWARE_ONLY. This option removes support for decr and old versions.

Build the plugin with that flag commented to support decr again.

nowarin commented 5 years ago

Hmm okay. I had assumed there was some kind of detection for the firmware that should work regardless; I guess not.

Does it actually matter, though? Are there any features broken by having that flag on DECR? I haven't tested much but it at least boots and doesn't seem to cause any problems, just the firmware is displayed like that. If it's just a visual thing it doesn't matter really, just thought you might want to know about it if you didn't already.

aldostools commented 5 years ago

Yes, there are some broken features due the memory addresses in DECR are different to DEX.

e.g. IDPS/PSID, SYSCALL_TABLE and a few more.

You probably didn't notice because the pokes are not frequent, and the most used (fan control) have the same address in DECR and DEX.

nowarin commented 5 years ago

Just curious, what's the reason the release packages aren't built with that?

Anyway, thanks for the responses. I'll probably try to build it eventually for DECR when I have some time, if another build for it doesn't come out before then.

aldostools commented 5 years ago

After a quick of review of firmware.h it seems that I re-added the support to DECR, but I don't remember when :)

I suggest you try installing the full edition of build 1.47.25.8

nowarin commented 5 years ago

Just installed 1.47.25.8 full edition, the firmware still shows up as "4.xx DEX"

If you need me to test anything else, let me know.

aldostools commented 5 years ago

Just installed 1.47.25.8 full edition, the firmware still shows up as "4.xx DEX"

If you need me to test anything else, let me know.

Try the sprx inside this zip webftp_server.zip

nowarin commented 5 years ago

I replaced the sprx with that one, and now it's properly detected as "4.84 DECR"

Did you fix something in the normal build or is this compiled specifically for DECR?

Really appreciate the help!