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

[Bug] PSX Scratchpad memory is messed up #420

Open
PopovMark opened this issue Aug 29, 2024 · 6 comments
Open

[Bug] PSX Scratchpad memory is messed up #420

PopovMark opened this issue Aug 29, 2024 · 6 comments

Comments

@PopovMark
Copy link

Mostly requesting this for the accessible Scratchpad memory for PSX so that I can polish the Rockman 2 set into a better state. Duckstation already did this some days ago, I can confirm that it works fine there.

@PopovMark PopovMark changed the title [Update request] Update rcheevos in emulator to latest version (currently 11.5.0) [Bug] PSX Scratchpad memory is messed up Sep 2, 2024
@PopovMark
Copy link
Author

Bug:

изображение

I am on the latest current version of RALibretro + the latest version of RAIntegration.
This is what the Scratchpad memory looks like in the memory viewer, it's all just dashes. I can't interact with it in any meaningful way.
You can bookmark these addresses, but they will always display as 0. Trying to freeze them or change them to another value does nothing, the game itself is also unaffected.
I recall seeing that the current version has rcheevos at ver. 11.4.0, which is the one that added the new Scratchpad memory.
Duckstation is at the current latest build (or about a week old) and on that emulator everything works fine, even though it should be the same version of rcheevos (I've not seen any update to 11.5.0 in their update log).
Please help. This is crucial for the upcoming Rockman 5 set, basically all the good values are in that region. I could use Duckstation but that has problems with savestates.

@Jamiras
Copy link
Member

Jamiras commented Sep 2, 2024

There's nothing I can do about that. This is not an RALibretro bug.

The fact that the addresses are showing up in the list indicate that the rcheevos changes are in place to look for the additional memory, but until the cores tell us where to find it, we can't populate it.

Beetle PSX HW:

115345.474 [INFO ] [MEM] Registered 0x10000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
115345.474 [INFO ] [MEM] Registered 0x1F0000 bytes of SYSTEM RAM at $010000 (offset 0x010000)
115345.474 [INFO ] [MEM] Could not map region starting at $200000
115345.474 [INFO ] [MEM] Registered 0x0400 bytes of SYSTEM RAM at $200000 (null filler)

PSX-ReARMed:

115450.934 [INFO ] [MEM] Registered 0x10000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
115450.934 [INFO ] [MEM] Registered 0x1F0000 bytes of SYSTEM RAM at $010000 (offset 0x010000)
115450.934 [INFO ] [MEM] Could not map region starting at $200000
115450.934 [INFO ] [MEM] Registered 0x0400 bytes of SYSTEM RAM at $200000 (null filler)

SwanStation:

115542.441 [INFO ] [MEM] Registered 0x10000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
115542.441 [INFO ] [MEM] Registered 0x1F0000 bytes of SYSTEM RAM at $010000 (offset 0x010000)
115542.441 [INFO ] [MEM] Could not map region starting at $200000
115542.441 [INFO ] [MEM] Registered 0x0400 bytes of SYSTEM RAM at $200000 (null filler)

Similarly, if the cores don't expose the memory, players won't be able to use them to earn achievements.

@PopovMark
Copy link
Author

Having trouble understanding the exact implications of this. Can you help word the issue as to exactly what's happening and what needs to be done? Maybe I can put in a request on their Github pages then.

@CasualPokePlayer
Copy link

CasualPokePlayer commented Sep 3, 2024

libretro cores are responsible for exposing memory. All RALibretro is doing is checking if memory exists at offset 0x1F800000 on the ""real"" memory map. The core reports no memory at such an offset, so no memory can be exposed for cheevo purposes.

The only emulator that currently exposes scratchpad is (edit: apparently DuckStation and) BizHawk (in its dev builds, builds which you get on its README) (which you can use RAIntegration and dev with, just put RA_Integration-x64.dll in BizHawk's dll folder), and that will remain the case until libretro cores expose scratchpad in their memory maps.

@PopovMark
Copy link
Author

I opened an issue on the repositories of all three cores, let's hope this gets implemented.

@PopovMark
Copy link
Author

PCSX-Rearmed now has this, I will post when the other cores follow suit.

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

No branches or pull requests

3 participants