- Visual Studio 2022 only for source Code
- BizHawk Prerequisites
- BizHawk 2.9
Make sure you unzip a copy of BizHawk(full folder) on your current root project folder, ff the ExternalTools folder doesn't exist, you should create it, as shown below:
Mario-Genetic-Algorithm-Tool
├─ BizHawk
│ ├─ dll
│ │ ├─ BizHawk.Common.dll
│ │ └─ ... (other stuff)
│ ├─ ExternalTools
│ │ └─ ... (probably empty)
│ ├─ EmuHawk.exe
│ └─ ... (other stuff)
└─ src
│ └─ GeneticAlgorithmTool.csproj
└─ .gitignore
│
└─ README.md
- Build solution
- Run EmuHawk
- Load Super Mario Bros ROM game (any dump for the Nintendo NES will do) on EmuHawk
- Open the tool in the toolbar menu: Tools -> External Tools -> Mario Genetic Algorithm Tool
- Backup your BizHawk's
config.ini
file. - Download and unzip
GeneticAlgorithmTool.zip
from the latest release in release packages toBizHawk/ExternalTools
, if the ExternalTools folder doesn't exist, you should create it. - Load Super Mario Bros ROM game (any dump for the Nintendo NES will do) on EmuHawk
- Open the tool in the toolbar menu: Tools -> External Tools -> Mario Genetic Algorithm Tool
Provide three movement actions list Right only
, Simple Movement
, and Complex Movement
.
- Right only:
[{None}, {Right}, {Right, A}, {Right, B}, {Right, A, B}]
- Simple Movement:
[{None}, {Right}, {Right, A}, {Right, B}, {Right, A, B}, {Left}]
- Complex Movement:
[{None}, {Right}, {Right, A}, {Right, B}, {Right, A, B}, {Left}, {Left, A}, {Left, B}, {Left, A, B}, {Up}, {Down}]