Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch
Tweaking
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Emulators and Python  (Read 1664 times)

0 Members and 1 Guest are viewing this topic.

Yeniaul

  • Guest
Emulators and Python
« on: December 11, 2015, 07:53:12 pm »
Anyone know of an emulator that supports something like "directly manipulating RAM through Python"? That'd be really cool to put into an app I'm working on (controlling RetroArch for PC from Android, but no editing support, basically, TeamViewer for emulation)...

Kraust

  • GCLF Member
  • Offline Offline
  • Random Lurker + Researcher
    • View Profile
Re: Emulators and Python
« Reply #1 on: December 12, 2015, 07:29:15 pm »
Are you looking for some kind of API that hooks into an Emulator and does memory manipulation?

That's not exceedingly difficult in theory. Can't speed runners already do this with inputs? It's virtually the same mechanism.

That being said, I'm not developing it. I tried to make a Gameboy Emulator once and I had some issues emulating the GPU. That being said my Chip8 emulator is hilarious.

Yeniaul

  • Guest
Re: Emulators and Python
« Reply #2 on: December 12, 2015, 10:43:54 pm »
Are you looking for some kind of API that hooks into an Emulator and does memory manipulation?

That's not exceedingly difficult in theory. Can't speed runners already do this with inputs? It's virtually the same mechanism.

That being said, I'm not developing it. I tried to make a Gameboy Emulator once and I had some issues emulating the GPU. That being said my Chip8 emulator is hilarious.
Well, more of an emulator that supports this without plugins, as that would triple frame rate drop... (Unless it was smaller than 768 bytes, that is, but that's completely impossible.)
« Last Edit: December 12, 2015, 10:50:53 pm by Yeniaul »

Raven Freak

  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • She's the cutest female trainer!
    • View Profile
Re: Emulators and Python
« Reply #3 on: February 01, 2016, 03:33:20 pm »
TASVideos has a list of emulators that are compatible with python scripts. Not sure how helpful this list is but I guess this does give you some idea on what emulators support scripts. http://tasvideos.org/EmulatorResources/Features.html#20

Yeniaul

  • Guest
Re: Emulators and Python
« Reply #4 on: February 01, 2016, 04:51:00 pm »
TY!