2018-01-30 11:24:32 -08:00
|
|
|
this program is largely incomplete and not in a presentable state.
|
2018-01-30 10:52:40 -08:00
|
|
|
please be mindful when sharing it.
|
2018-01-30 11:24:32 -08:00
|
|
|
however, feel free to copy any snippets of code you find useful.
|
|
|
|
|
2018-06-12 17:03:26 -07:00
|
|
|
usage:
|
|
|
|
0. edit config.lua as you please
|
|
|
|
1. open FCEUX 2.2.3
|
|
|
|
2. load Super Mario Bros. (U) (CRC32: 3337EC46)
|
|
|
|
3. open a new Lua script window (it's in the File menu)
|
|
|
|
4. browse and open main.lua
|
|
|
|
|
2018-01-30 11:24:32 -08:00
|
|
|
TODOs: (that i can remember right now)
|
2018-06-09 08:56:18 -07:00
|
|
|
- normalize `for i=a,b` code style
|
2018-06-08 04:47:32 -07:00
|
|
|
- normalize and/or embed sprite type inputs
|
2018-01-30 11:24:32 -08:00
|
|
|
- settle on a network architecture
|
2018-03-23 01:33:02 -07:00
|
|
|
- compute how many input neurons the network needs instead of hardcoding
|
2018-06-08 04:47:32 -07:00
|
|
|
- add some detection for enemies later in the game
|
2018-06-08 05:51:17 -07:00
|
|
|
- fix cfg.enable_overlay (smb.lua doesn't see it being changed)
|
2018-01-30 11:24:32 -08:00
|
|
|
|
|
|
|
naive:
|
|
|
|
- learn any combination of buttons, starting from title screen
|
|
|
|
- learn to run network without frameskip
|
|
|
|
- learn other games
|