Sharingan allows you to read and write real-time memory in the Dolphin Emulator for Naruto GNT4. The writing to memory is done through a virtual controller, allowing you to declare controller movements programmatically. Sharingan is a fork of spxtr/p3 but changed to interact with Naruto GNT4 instead of Super Smash Bros. Melee. This library's main use is to aid in the development of an AI for Naruto GNT4.
Download this repository and run with python -m p3
before opening Dolphin. Stop with ^C. Please see Prerequisites and Installing before attempting to run.
UNIX-like Operating System (e.g. Linux)
Python 3
Dolphin Emulator
Note, Windows is not supported until Dolphin adds Windows MemoryWatcher support. Follow progress of that here: dolphin-emu/dolphin#6138
Download the Dolphin Emulator and configure the pipe input in Dolphin for player 3.
See example_gc_config.ini
for an example Dolphin profile.
Test with python -m unittest discover -p "*_test.py"
.
- Joe Finney - Initial work - spxtr
- Nick Moser - Change to work with GNT4 - NicholasMoser
This project is licensed under GPL version 3. - see the LICENSE file for details