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

read_byte returns inaccurate data #489

Open
adenta opened this issue Dec 18, 2024 · 0 comments
Open

read_byte returns inaccurate data #489

adenta opened this issue Dec 18, 2024 · 0 comments

Comments

@adenta
Copy link

adenta commented Dec 18, 2024

Love the RestAPI (vs retroarch) but having some trouble reading memory
steps to reproduce:

  1. obtain a pokemon fire red rom
  2. run the rom and click a until you are in the pallet town bedroom
  3. run the command http://localhost:9043/read_byte?addr=2036dfc&addr=2036dfd&addr=2036dfe&addr=2036dff. This command grabs the first four bytes that correspond to the MAP_LAYOUT in little endian format
  4. you will receive 6c532d08, which translates to a pointer: 82d536c
  5. this pointer does not show up in the memory map of the game . this is because the correct pointer is 082d52fc:
    082d52fc g 00000000 PalletTown_PlayersHouse_2F_Layout

would love to get this resolved and switch from Retroarch for the better API.

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

1 participant