Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alex Stubbs
@alexjstubbs
yeah just wondering if you had done that way
jtn0514
@jtn0514
Nah i havnt
Alex Stubbs
@alexjstubbs
so peeking into the retroarch process, i can find that ram and get the offset, using the full size of the ram, monitor that block?
i can peek into any process no problem
jtn0514
@jtn0514
yah id say take a chunkc from the ram dump i gave you. maybe first bit of it (say, 16kb or so) and see if you can find those strings in your ram while retroarch is paused while browsing through the process memory
it should get you damn close to where the begining of that starts. then in c you could use byte Emulator_Ram_Base (void)
{ return (byte )0x000000; }
Alex Stubbs
@alexjstubbs
ok sounds like a good start. thanks again. Let me get set up here
jtn0514
@jtn0514
to define the address
where 0x000000 = the mem adress (hex address)
cool, ill be on for a bit let me know your results. this is getting kinda fun :)
Alex Stubbs
@alexjstubbs
ok awesome. i'll let you know. brb
jtn0514
@jtn0514
This message was deleted
This message was deleted
This message was deleted
gah im replying to past messages as my window scrolled on me here lol
Alex Stubbs
@alexjstubbs
lol. Getting retroarch to run on a mac is not fun. I am trying to use the same emulator core to make sure it works
jtn0514
@jtn0514
Eww macs lol
Alex Stubbs
@alexjstubbs
lol yeah get the latest free from work couple times a year. Works much faster than my desktop
jtn0514
@jtn0514
ill give it that, its good if you need terminal access and just working with online stuff and basic code editing it shouldnt really matter what you use honestly
Alex Stubbs
@alexjstubbs
damnit. every core i load crashed. I'm gonna boot it in a VM
I have to reboot. I'll be right back
jtn0514
@jtn0514
k
Alex Stubbs
@alexjstubbs
ok let me boot up this ubuntu VM and get it all working
jtn0514
@jtn0514
Any luck?
Alex Stubbs
@alexjstubbs
gotta re-download the cores for ubuntu
had to rebuild it
jtn0514
@jtn0514
Ahhh
Alex Stubbs
@alexjstubbs
now i have to rebuild the cores. Sorry, slow build
Alex Stubbs
@alexjstubbs
jesus i am missing so many dependancies. Sorry for the delay
jtn0514
@jtn0514
its ok
jtn0514
@jtn0514
im out for the night, msg me on gchat if you get it sorted or not. Otherwise ill check back here tomorrow to see if you had any success
Alex Stubbs
@alexjstubbs
ok im making progress. Got it running trying to find the memory
took me forever to get it running on ubuntu
Alex Stubbs
@alexjstubbs
ok lots of progress. Find a way to break up all the sub-processes within the process. Now just need to find which is the RAM i need
found*
Alex Stubbs
@alexjstubbs
found it
got it to dump all th eprocess' memory, search and find the ram from the save. Issue is how slow it is so far. Looking to speed it up
boom. got it. So i can dump the memories process and get a list of its internal names for its addresses. The top 3 listed are video ram, SRAM, and games RAM. It's always the third on the list
i can red it as a file and stream it
Alex Stubbs
@alexjstubbs
this is perfect. You were definitely onto something
jtn0514
@jtn0514
Excellent. Good to hear you got the hook in point you were looking for. From here. id say best bet now is to find out when the emulator makes a full loop in the main loop and at the top before it starts to emulate the next frame or step of the process for that system, have it do the multiplayer ram transfer routine and then let it continue on.
at the end of the day, once you have two versions running with your code hooked in and transfering ram contents you SHOULD be able to duplicate what each system is emulating but this is a start.
jtn0514
@jtn0514
Of course it might be a good idea to also xfer the contents of the registers that the system is emulating
but lets wait and see what you come up with first on this.
jtn0514
@jtn0514
manage to test that ram location you found out with any of your code?
Alex Stubbs
@alexjstubbs
With achievements yet and it works but i havent built any multiplayer yet
yet = yes
are you on windows?
And once again, i'm sorry. I had to invite you to another chat program. This did not have the integration i needed. You should have an email. If you get some time. hit me up there
Alex Stubbs
@alexjstubbs
im closing this one down since it ended up useless to the project. If you didn't get the email. the URL is: https://ignitionio.slack.com