Update to [Seth Bling's Mar I/O][1] lua code, forked from [mam91/Neat-Genetic-Mario][2]. Tweaks made to learning algorithm parameters and gui.
Latest editions: Train from existing model + new buttons added in gui
- Track learning rate in GUI - fitness improvement percentage added
- Enhanced speed learning mode (implementing frameskip learning)
- Modularise the code better into seperate files for the GUI and Learning algoritm
- Update GUI
- Train from human input parameters
- Full Super Mario World save state selections
- Install BizHawk prerequesites & emulator:
- Get the rom of Super Mario World (USA). (Other Super Mario World roms might work too but are not tested)
CRC | MD5 | SHA1 |
---|---|---|
B19ED489 | CDD3C8C37322978CA8669B34BC89C804 | 6B47BB75D16514B6A476AA0C73A683A2A4C18765 |
- Clone the repository or download the zip file and place the neat-mario folder in your \BizHawk-2.2\Lua\SNES\ folder. (like: BizHawk-2.2\Lua\SNES\neat-mario)
- Open config.lua and change variable _M.BizhawkDir to point on your BizHawk directory.
- Open BizHawk (EmuHawk.exe)
- Click File > Open ROM (Ctrl + O) and find Super Mario World (USA).sfc file.
- Once loaded, click Tools > Lua Console
- In the new window, click Script > Open Script (Ctrl + O) and select mario-neat.lua in your \BizHawk-2.2\Lua\SNES\neat-mario folder.
- The NEAT control window will display and you can then click Start to begin training.
Select "Load" from the NEAT control window to load an existing.pool file. The save state for the pool to use can be changed using the seperate Config file.