-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
90 lines (76 loc) · 1.6 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
local _M = {}
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*[/\\])(.*)", "%1")
--[[
Change script dir to your script directory
--]]
_M.ScriptDir = base
_M.StateDir = _M.ScriptDir .. "/state/"
_M.PoolDir = _M.ScriptDir .. "/pool/"
_M.ROM = _M.ScriptDir .. "/rom.sfc"
--[[
At the moment the first in list will get loaded.
Rearrange for other savestates. (will be redone soon)
--]]
_M.State = {
-- W1.1 Pirate Panic
"PiratePanic.lsmv", -- [1]
"PiratePanicDitch.lsmv", -- [2]
"PiratePanicKremcoin.lsmv", --[3]
-- W1.2 Mainbrace Mayhem
"MainbraceMayhem.lsmv", -- [4]
"MainbraceMayhemBonus.lsmv", -- [5]
"MainbraceMayhemTopOfRope.lsmv", -- [6]
}
_M.Filename = _M.PoolDir .. _M.State[4]
--[[
Start game with specific powerup.
0 = No powerup
1 = Mushroom
2 = Feather
3 = Flower
Comment out to disable.
--]]
_M.StartPowerup = 0
_M.NeatConfig = {
DisableSound = true,
Threads = 7,
ShowInterface = false,
AutoSave = true,
--Filename = "DP1.state",
SaveFile = _M.PoolDir .. "bigbrain.pool",
Filename = _M.Filename,
Population = 300,
DeltaDisjoint = 2.0,
DeltaWeights = 0.4,
DeltaThreshold = 1.0,
StaleSpecies = 15,
MutateConnectionsChance = 0.25,
PerturbChance = 0.90,
CrossoverChance = 0.75,
LinkMutationChance = 2.0,
NodeMutationChance = 0.50,
BiasMutationChance = 0.40,
StepSize = 0.1,
DisableMutationChance = 0.4,
EnableMutationChance = 0.2,
TimeoutConstant = 30,
MaxNodes = 1000000,
}
_M.ButtonNames = {
"B",
"Y",
"Select",
"Start",
"Up",
"Down",
"Left",
"Right",
"A",
"X",
"L",
"R"
}
_M.BoxRadius = 6
_M.InputSize = (_M.BoxRadius*2+1)*(_M.BoxRadius*2+1)
_M.Running = true
return _M