2021-03-05 18:49:22 -05:00
|
|
|
# Donkey Kong Country 2 NEAT
|
|
|
|
|
|
|
|
An AI based on SethBling's MarI/O to play Donkey Kong Country 2 with lsnes.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
* lsnes with **Lua 5.2** (do not try to build with 5.3, it does not work!)
|
|
|
|
* A Donkey Kong Country 2 ROM
|
|
|
|
|
|
|
|
## Instructions
|
|
|
|
|
|
|
|
1. Start lsnes
|
|
|
|
2. Go to `Configure -> Settings -> Advanced` and change `LUA -> Maximum memory use` to `1024MB`
|
|
|
|
3. Load the DKC2 ROM: `File -> Load -> ROM...`
|
|
|
|
4. Load the script: `Tools -> Run Lua script...`
|
|
|
|
5. You may also want to turn off sound since it may get annoying. `Configure -> Sounds enabled`
|
|
|
|
|
|
|
|
## Keys
|
|
|
|
1: Stop/start
|
|
|
|
4: Play the best run
|
|
|
|
6: Save the pool file
|
|
|
|
8: Load the pool file
|
|
|
|
9: Restart
|
|
|
|
|
|
|
|
## Notes
|
2021-03-06 08:53:37 -05:00
|
|
|
* Only tested on Pirate Panic
|
|
|
|
* The pool files are gzipped json
|
2021-03-06 06:28:18 -05:00
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
2021-03-06 08:53:37 -05:00
|
|
|
* [Donkey Hacks](http://donkeyhacks.zouri.jp/html/En-Us/dkc2/index.html)
|
|
|
|
* [SethBling's Mar I/O](https://github.com/mam91/neat-genetic-mario)
|
|
|
|
* [Basic tilemap info from p4plus2/DKC2-disassembly](https://github.com/p4plus2/DKC2-disassembly)
|
|
|
|
* [dkjson](http://dkolf.de/src/dkjson-lua.fsl/home)
|