DKC2 Neat from MarI/O
Find a file
2021-03-15 16:05:02 -05:00
pool Added Kremcoin save state 2021-03-07 01:04:22 -05:00
.editorconfig Stage rulers. Try to hijack algorithm used to determine tile location 2021-03-03 15:40:19 -05:00
.gitignore Ignore lsvs 2021-03-08 04:58:29 -05:00
config.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -05:00
dkjson.lua Write the pool files in JSON so they break less 2021-03-06 07:37:31 -05:00
donkutil.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -05:00
game.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -05:00
LibDeflate.lua Compress the pool files 2021-03-06 08:53:37 -05:00
mathFunctions.lua Stage rulers. Try to hijack algorithm used to determine tile location 2021-03-03 15:40:19 -05:00
neat-donk.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -05:00
README.md Note about config 2021-03-07 01:53:51 -05:00
spritelist.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -05:00
state-test.lua Algorithm works kind of. It figures out how to go forward 2021-03-05 10:10:05 -05:00
util.lua Try to increase the search radius on sprites to eliminate flicker 2021-03-15 16:05:02 -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 1.1 US ROM (matching hash b79c2bb86f6fc76e1fc61c62fc16d51c664c381e58bc2933be643bbc4d8b610c)

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
  6. Look at config.lua for some settings you can change. Not all have been tested, but you should be able to change the number on the _M.Filename = line to get a different state file from the _M.State list.

Keys

1: Stop/start

4: Play the best run

6: Save the pool file

8: Load the pool file

9: Restart

Notes

  • Only tested on Pirate Panic
  • The pool files are gzipped json

Credits