This repository was archived by the owner on Aug 24, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathlovely.toml
More file actions
118 lines (104 loc) · 3.04 KB
/
Copy pathlovely.toml
File metadata and controls
118 lines (104 loc) · 3.04 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[manifest]
version = "1.0.0"
dump_lua = true
priority = 0
[[patches]]
[patches.module]
source = 'nativefs.lua'
before = 'main.lua'
name = 'nativefs'
[[patches]]
[patches.copy]
target = "main.lua"
position = "append"
sources = ["trance.lua"]
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = 'self.SPEEDFACTOR = 1'
position = "after"
payload = 'Trance_set_globals(self, 0);print(tprint(G.C.SPLASH))'
match_indent = true
# Plasma Deck
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'ease_colour(G.C.UI_CHIPS, {0.8, 0.45, 0.85, 1})'
position = "at"
payload = 'ease_colour(G.C.UI_CHIPS, G.C.PLASMA or {0.8, 0.45, 0.85, 1})'
match_indent = true
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'ease_colour(G.C.UI_MULT, {0.8, 0.45, 0.85, 1})'
position = "at"
payload = 'ease_colour(G.C.UI_MULT, G.C.PLASMA or {0.8, 0.45, 0.85, 1})'
match_indent = true
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'ease_colour(G.C.UI_CHIPS, G.C.BLUE, 2)'
position = "at"
payload = 'ease_colour(G.C.UI_CHIPS, G.C.CHIPS, 2)'
match_indent = true
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'ease_colour(G.C.UI_MULT, G.C.RED, 2)'
position = "at"
payload = 'ease_colour(G.C.UI_MULT, G.C.MULT, 2)'
match_indent = true
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'G.C.UI_CHIPS[1], G.C.UI_CHIPS[2], G.C.UI_CHIPS[3], G.C.UI_CHIPS[4] = G.C.BLUE[1], G.C.BLUE[2], G.C.BLUE[3], G.C.BLUE[4]'
position = "at"
payload = 'G.C.UI_CHIPS = copy_table(G.C.CHIPS)'
match_indent = true
[[patches]]
[patches.pattern]
target = "back.lua"
pattern = 'G.C.UI_MULT[1], G.C.UI_MULT[2], G.C.UI_MULT[3], G.C.UI_MULT[4] = G.C.RED[1], G.C.RED[2], G.C.RED[3], G.C.RED[4]'
position = "at"
payload = 'G.C.UI_MULT = copy_table(G.C.MULT)'
match_indent = true
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = 'G.C.UI_CHIPS[1], G.C.UI_CHIPS[2], G.C.UI_CHIPS[3], G.C.UI_CHIPS[4] = G.C.BLUE[1], G.C.BLUE[2], G.C.BLUE[3], G.C.BLUE[4]'
position = "at"
payload = 'G.C.UI_CHIPS = copy_table(G.C.CHIPS)'
match_indent = true
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = 'G.C.UI_MULT[1], G.C.UI_MULT[2], G.C.UI_MULT[3], G.C.UI_MULT[4] = G.C.RED[1], G.C.RED[2], G.C.RED[3], G.C.RED[4]'
position = "at"
payload = 'G.C.UI_MULT = copy_table(G.C.MULT)'
match_indent = true
# Splash Screen
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = "{name = 'colour_1', ref_table = G.C, ref_value = 'RED'},"
position = "at"
payload = "{name = 'colour_1', ref_table = G.C.SPLASH, ref_value = 1},"
match_indent = true
# Splash Screen
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = "{name = 'colour_2', ref_table = G.C, ref_value = 'BLUE'},"
position = "at"
payload = "{name = 'colour_2', ref_table = G.C.SPLASH, ref_value = 2},"
match_indent = true
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = "function Game:main_menu(change_context) --True if main menu is accessed from the splash screen, false if it is skipped or accessed from the game"
position = "after"
payload = '''
Trance_load_theme()
Trance_set_globals(G, 1)
'''
match_indent = true