Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check RUL0 syntax
run: python src/scripts/syntax-check-rul0.py
- name: Check RUL2 syntax
run: sh src/scripts/syntax-check-rul2.sh
4 changes: 2 additions & 2 deletions Controller/RUL0/0000_TuLEPS_CanAM/0100_CanAM.txt
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ CheckType = c - highway: 0x04020002, 0x00000000 optional
CheckType = d - highway: 0x00020402, 0x00000000 optional

ConsLayout =.........
ConsLayout =...-+-...
ConsLayout =...-+-..<
ConsLayout =....+-...
ConsLayout =....+-..<
ConsLayout =....^....

AutoTileBase = 0xCA1A1D00
Expand Down
2 changes: 1 addition & 1 deletion Controller/RUL0/0000_TuLEPS_CanAM/0400_BasicTuLEPs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1954,8 +1954,8 @@ CheckType = c - avenue: 0x04020002
CheckType = d - avenue: 0x00020402

ConsLayout =.......
ConsLayout =..++...
ConsLayout =..++..<
ConsLayout =..++...
ConsLayout =.......
ConsLayout =..^....

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,18 @@ CheckType = Y - highway:0x03020201
CheckType = Z - highway:0x01030202

ConsLayout =..............
ConsLayout =.\\........//.
ConsLayout =.\\\......///.
ConsLayout =..\\\....///..
ConsLayout =...\\\..///...
ConsLayout =....\\\///....
ConsLayout =.\\...........
ConsLayout =.\\\..........
ConsLayout =..\\\.........
ConsLayout =...\\\........
ConsLayout =....\\\//.....
ConsLayout =.....\##/....<
ConsLayout =...../##\.....
ConsLayout =....///\\\....
ConsLayout =...///..\\\...
ConsLayout =..///....\\\..
ConsLayout =.///......\\\.
ConsLayout =.//........\\.
ConsLayout =.....//\\\....
ConsLayout =........\\\...
ConsLayout =.........\\\..
ConsLayout =..........\\\.
ConsLayout =...........\\.
ConsLayout =......^.......

AutoTileBase = 0x0C001000
Expand Down Expand Up @@ -154,17 +154,17 @@ CheckType = D - highway:0x01000302
CheckType = E - highway:0x00030201

ConsLayout =.............
ConsLayout =.\\.......//.
ConsLayout =.\\\.....///.
ConsLayout =..\\\...///..
ConsLayout =...\\\.///...
ConsLayout =.\\..........
ConsLayout =.\\\.........
ConsLayout =..\\\........
ConsLayout =...\\\.//....
ConsLayout =....\\#//....
ConsLayout =.....###....<
ConsLayout =....//#\\....
ConsLayout =...///.\\\...
ConsLayout =..///...\\\..
ConsLayout =.///.....\\\.
ConsLayout =.//.......\\.
ConsLayout =....//.\\\...
ConsLayout =........\\\..
ConsLayout =.........\\\.
ConsLayout =..........\\.
ConsLayout =......^......

AutoTileBase = 0x0C002000
Expand Down Expand Up @@ -216,20 +216,20 @@ CheckType = A - highway:0x02040203
CheckType = B - highway:0x02030204

ConsLayout =.............
ConsLayout =......||.....
ConsLayout =.\\...||.....
ConsLayout =.\\\..||.....
ConsLayout =..\\\.||.....
ConsLayout =.............
ConsLayout =.\\..........
ConsLayout =.\\\.........
ConsLayout =..\\\........
ConsLayout =...\\\||.....
ConsLayout =....\\#|....<
ConsLayout =.....\##.....
ConsLayout =......##\....
ConsLayout =......|#\\...
ConsLayout =......||\\\..
ConsLayout =......||.\\\.
ConsLayout =......||..\\.
ConsLayout =......||.....
ConsLayout =......||.....
ConsLayout =.........\\\.
ConsLayout =..........\\.
ConsLayout =.............
ConsLayout =.............
ConsLayout =......^......

AutoTileBase = 0x0C003010
Expand Down Expand Up @@ -582,10 +582,10 @@ CheckType = U - groundhighway:0x03010000 check
CheckType = V - groundhighway:0x03000001, 0xFF0000FF check
CheckType = W - groundhighway:0x00000301 check

ConsLayout =\\XXX//
ConsLayout =\\X.X//
ConsLayout =\\\X///
ConsLayout =X\\#//X
ConsLayout =.X###XX<
ConsLayout =.X###X.<
ConsLayout =.XX#\\X
ConsLayout =..XX\\\
ConsLayout =....X\\
Expand Down Expand Up @@ -698,10 +698,10 @@ CheckType = U - highway:0x03010000 check
CheckType = V - highway:0x03000001, 0xFF0000FF check
CheckType = W - highway:0x00000301 check

ConsLayout =\\XXX//
ConsLayout =\\X.X//
ConsLayout =\\\X///
ConsLayout =X\\#//X
ConsLayout =.X###XX<
ConsLayout =.X###X.<
ConsLayout =.XX#\\X
ConsLayout =..XX\\\
ConsLayout =....X\\
Expand Down
2 changes: 1 addition & 1 deletion Controller/RUL0/4000_RAM/4600_L2DTR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ CheckType = a - rail: 0x02000200
ConsLayout =..........
ConsLayout =...--....<
ConsLayout =...---....
CellLayout =..........
ConsLayout =..........
ConsLayout =...^......

AutoTileBase = 0x53d7EB3A
Expand Down
2 changes: 1 addition & 1 deletion Controller/RUL0/5000_RHW/5050_Fillers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ CheckType = c - dirtroad: 0x02000200
ConsLayout = .......
ConsLayout = .......
ConsLayout = ...||<.
ConsLayout = =...^..
ConsLayout = ....^..

AutoTileBase= 0x57F05300
ReplacementIntersection = 0, 0
Expand Down
26 changes: 13 additions & 13 deletions Controller/RUL0/5000_RHW/5100_Ramps_SpecialCrossings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1532,8 +1532,8 @@ CheckType = g - dirtroad: 0x00000301

ConsLayout =.........
ConsLayout =....|....
ConsLayout =....|....
ConsLayout =....|...<
ConsLayout =....|....
ConsLayout =.../|....
ConsLayout =.../|....
ConsLayout =....^....
Expand Down Expand Up @@ -1643,9 +1643,9 @@ CheckType = j - dirtroad: 0x01030000 Lightrail: 0x03030000, 0xffffffff optional

ConsLayout =.........
ConsLayout =....|....
ConsLayout =.../|\...
ConsLayout =.../|\..<
ConsLayout =.../|\...
ConsLayout =.../|\...
ConsLayout =..-/|\...
ConsLayout =....^....

Expand Down Expand Up @@ -1711,8 +1711,8 @@ CheckType = f - dirtroad: 0x03000001 Lightrail: 0x01000001, 0xffffffff optional

ConsLayout =.........
ConsLayout =....|....
ConsLayout =.../|...<
ConsLayout =.../|....
ConsLayout =.../|...<
ConsLayout =..-/|....
ConsLayout =....^....

Expand Down Expand Up @@ -3120,7 +3120,7 @@ ConsLayout =....||...
ConsLayout =....||..<
ConsLayout =....||...
ConsLayout =.../||...
ConsLayout =..//||...
ConsLayout =..//.|...
ConsLayout =.....^...

AutoTileBase= 0x5cec2400
Expand Down Expand Up @@ -3164,7 +3164,7 @@ ConsLayout =..||.....
ConsLayout =..||....<
ConsLayout =..||.....
ConsLayout =..||\....
ConsLayout =..||\\...
ConsLayout =..|.\\...
ConsLayout =..^......

AutoTileBase= 0x5cec2700
Expand Down Expand Up @@ -3328,9 +3328,9 @@ CheckType = f - dirtroad: 0x03000001 Lightrail: 0x01000001, 0xffffffff optional

ConsLayout =.........
ConsLayout =.........
ConsLayout =.../|....
ConsLayout =.../|...<
ConsLayout =.../|....
ConsLayout =.../|....
ConsLayout =.../.....
ConsLayout =....^....

Expand Down Expand Up @@ -6278,13 +6278,13 @@ ConsLayout =..|....
ConsLayout =.......
ConsLayout =...^...

ConsLayout =.......
ConsLayout =.......
ConsLayout =..|\<..
ConsLayout =..|\...
ConsLayout =...|...
ConsLayout =.......
ConsLayout =..^....
;ConsLayout =.......
;ConsLayout =.......
;ConsLayout =..|\<..
;ConsLayout =..|\...
;ConsLayout =...|...
;ConsLayout =.......
;ConsLayout =..^....

AutoTileBase= 0x5cebF200
ReplacementIntersection = 0, 0
Expand Down
4 changes: 2 additions & 2 deletions Controller/RUL0/5000_RHW/5700_QuickChange.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ConsLayout =.......
ConsLayout =.......
ConsLayout =.......
ConsLayout =.......
ConsLayout =..^....
ConsLayout =...^...

AutoTileBase= 0x55387000
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -235,7 +235,7 @@ ConsLayout =.......
ConsLayout =.......
ConsLayout =.......
ConsLayout =.......
ConsLayout =..^....
ConsLayout =...^...

AutoTileBase= 0x55387000
ReplacementIntersection = 0, 0
Expand Down
8 changes: 4 additions & 4 deletions Controller/RUL0/5000_RHW/5F00_FARHW/5F20_FARHW_Curves.txt
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ CheckType = c - dirtroad: 0x00000002
ConsLayout =............
ConsLayout =...-----...<
ConsLayout =....----....
ConsLayout =....^.......
ConsLayout =...^........

AutoTileBase= 0x5e150000
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -602,7 +602,7 @@ ConsLayout =............
ConsLayout =............
ConsLayout =...-----...<
ConsLayout =.....---....
ConsLayout =....^.......
ConsLayout =...^........

AutoTileBase= 0x5e150030
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -874,7 +874,7 @@ CheckType = c - dirtroad: 0x00000002
ConsLayout =............
ConsLayout =...-----...<
ConsLayout =.....---....
ConsLayout =....^.......
ConsLayout =...^........

AutoTileBase = 0x5e1a0300
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -926,7 +926,7 @@ CheckType = c - dirtroad: 0x00000002
ConsLayout =............
ConsLayout =...-----...<
ConsLayout =.....---....
ConsLayout =....^.......
ConsLayout =...^........

AutoTileBase = 0x5e1a0320
ReplacementIntersection = 0, 0
Expand Down
18 changes: 9 additions & 9 deletions Controller/RUL0/5000_RHW/5F00_FARHW/5F90_FARHW_Ramps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e131200
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -205,7 +205,7 @@ ConsLayout =....|+....<
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e131600
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -295,7 +295,7 @@ ConsLayout =....|+....<
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e131a00
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -389,7 +389,7 @@ ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e131a80
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -1259,7 +1259,7 @@ ConsLayout =.........
ConsLayout =..-\\....
ConsLayout =...-\\..<
ConsLayout =.....\...
ConsLayout =..^......
ConsLayout =...^.....

AutoTileBase = 0x5e131830
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -1511,7 +1511,7 @@ ConsLayout =.........
ConsLayout =..-\\....
ConsLayout =...-\\..<
ConsLayout =.....\...
ConsLayout =..^......
ConsLayout =...^.....

AutoTileBase = 0x5e151840
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -1678,7 +1678,7 @@ ConsLayout =....|+....<
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e171e00
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -2198,7 +2198,7 @@ ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5e131e00
ReplacementIntersection = 0, 0
Expand Down Expand Up @@ -2375,7 +2375,7 @@ ConsLayout =....|+....<
ConsLayout =....|+.....
ConsLayout =....|+.....
ConsLayout =...........
ConsLayout =.....^.....
ConsLayout =....^......

AutoTileBase = 0x5CE40600
ReplacementIntersection = 0, 0
Expand Down
Loading