Skip to content

Commit

Permalink
Add cross-game conversion profiles by Messiah
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku committed May 20, 2024
1 parent 4a612e4 commit f85f222
Show file tree
Hide file tree
Showing 6 changed files with 622 additions and 1 deletion.
12 changes: 12 additions & 0 deletions MapTool.UI/MapTool.UI.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

142 changes: 142 additions & 0 deletions Profiles/ra2_tem2tstem.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
; Compiled by Messiah

[ProfileData]
Name=[Terrain / Game] RA2 Temperate -> TS Temperate
Description=Convert RA2 Temperate MapPack and terrain objects to TS. Note: You have to delete all overlay from your map!

[TheaterRules]
ApplicableTheater=TEMPERATE
NewTheater=TEMPERATE

[TileRules]
0|0 ;clear
1|12 ;blank
2-21|13-32 ;MM
22-28|33-39 ;obs height pieces
29-48|40-59 ;ramps
49-88|60-99 ;cliffs
89-130|108-149 ;shore
418|150 ;ruff
419-434|151-166 ;ruff lat
148-175|167-194 ;water cliffs
176-199|195-218 ;dirtroads bend
200-210|219-229 ;dirtroads juncts
211-276|230-295 ;dirtroads straight
277-292|296-311 ;bridges
293-313|312-332 ;paved roads
314-327|333-346 ;water
328-367|347-386 ;MM cliffs
368-375|387-394 ;dirtroad slopes
376-383|395-402 ;mm dirtroad slopes
384-393|403-412 ;ramps
394-403|413-422 ;Z ramps
837|423 ;tanker to US arizona
404-413|425-434 ;MM height
414-417|435-438 ;waterfalls
493|535 ;sandy
494-509|536-551 ;sandy trans
435-444|552-561 ;rough pieces to farm crops
445-448|562-565 ;paved road ends
;277-292|566-581 ;train bridges to bridges
1080-1095|566-581 ;train bridges to TX train bridges
449-462|582-595 ;pavement bits
463-478|596-611 ;pavement lat
479-492|612-625 ;paved road bits
131|626 ;green
132-147|627-642 ;green trans
510-521|643-654 ;ramp edge fix
522-533|655-666 ;ramp edge MM
534|671 ;pavement
535-538|672-675 ;paved road slope
;676-679|535-538 ;monorail slope to ramps
856-859|676-679 ;monorail slope to TX train
539-542|680-683 ;waterfalls B
543-546|684-687 ;waterfalls C
547-550|688-691 ;waterfalls D
551-565|692-706 ;MM stuff
566-569|707-710 ;road? tunnels
570-571|711-712 ;tunnel side
;713-716|566-569 ;track tunnel to tunnel
860-863|713-716 ;track tunnel to TX tunnel
572-573|717-718 ;dest cliffs
574-577|719-726 ;water caves
578-601|727-750 ;MM dirt roads
602-612|751-761 ;MM dirt roads
613-678|762-827 ;MM dirt roads
679-720|828-869 ;MM shore
721-724|870-873 ;MM waterfalls A
725-728|874-877 ;MM waterfalls B
729-732|878-881 ;MM waterfalls C
733-736|882-885 ;MM waterfalls D
737-740|886-893 ;MM water caves
741-768|894-921 ;MM cliff water
;535-538|922-925 ;MM water slopes
769-782|926-939 ;MM water
;940-945|1075-1077 ;scrin wreck to TX helipad
;952-955|783-785 ;dttunnel
860-863|952-955 ;dttunnel to TX train tunnel
783-785|956-959 ;dtunnel
787|535 ;sand ? ?
788-803|536-551 ;sand ? ?
804-805|0-0 ;sand fords to clear
806-813|0-0 ;rubble to clear
814-815|0-0 ;rubble to clear
816-820|0-0 ;rubble to clear
821-836|296-311 ; clear bridges
846-849|0-0
850-853|707-710
854-855|711-712
864-869|596-611 ;TX train crossings to pavement
870-881|596-611 ;TX train crossings to pavement
882-929|596-611 ;TX train crossings to pavement
930-933|707-710
934-1005|0-0 ;TX water tunnels
1006|671 ;TX pavement
1007-1022|1251-1266 ;TX pavements
1023-1026|0-0
1027-1030|0-0
1031-1040|535-544
1041-1055|0-0
1056-1057|711-712
1058-1072|0-0
1073-1074|711-712
1075-1077|536-538
1078-1079|717-718

[ObjectRules]
HDSTN01|FONA01
LT_GEN01|FONA02
LT_GEN02|FONA03
LT_GEN03|FONA04
LT_GEN04|FONA05
LT_SGN01|FONA06
LT_SGN02|FONA07
LT_SGN03|FONA08
LT_SGN04|FONA09
LT_EUR01|FONA10
LT_EUR02|FONA11
POLE01|FONA12
POLE02|FONA13
SIGN01|FONA14
TRFF01|FONA15
TRFF02|TREE16
TRFF03|TREE17
TRFF04|TREE18
SIGN02|TREE19
SIGN03|TREE20
SIGN04|TREE21
SIGN05|TREE22
SIGN06|TREE23
SPKR01|TREE24
TREE26|TREE16
TREE27|TREE17
TREE28|TREE18
TREE29|TREE19
TREE30|TREE20
TREE31|TREE21
TREE32|TREE22
TREE33|TREE23
TREE34|TREE24
TREE35|TREE25
TREE36|TREE15
;ABAN01|CITY18
207 changes: 207 additions & 0 deletions Profiles/ra2sno2tssno.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
; Compiled by Messiah

[ProfileData]
Name=[Terrain / Game] RA2 Snow -> TS Snow
Description=Convert RA2/YR Snow maps to TS/FS Snow maps. Overlay need to be deleted manually yet.

[TheaterRules]
ApplicableTheater=SNOW
NewTheater=SNOW

[TileRules]
0|0 ;clear
1|12 ;blank
2-21|13-32 ;ZMM ramps
22-28|33-39 ;height pieces
29-48|40-59 ;ice ramps
49-88|60-99 ;cliff set
89-130|108-149 ;shore
131|150 ;grass lat
132-147|151-166 ;grass lat
148-175|167-194 ;shore cliffs
176-199|195-218 ;dirt roads bend
200-210|219-229 ;dirt roads junc
211-276|230-295 ;dirt roads straight
277-292|296-311 ;bridges
293-313|312-332 ;paved roads
314-327|333-346 ;water
328-367|347-386 ;MM cliff
368-375|387-394 ;dirt road ramps
376-383|395-402 ;MM dirt road ramps
384-393|403-412 ;slope set pieces
394-403|413-422 ;MM slope set
404-413|425-434
414-417|435-438 ;waterfalls
418-421|679-682 ;waterfalls
422-425|683-686 ;waterfalls
426-429|687-690 ;waterfalls
430-433|691-694 ;p road ends
434-443|711-720 ;rough to farmland
444-455|721-732 ;ramp fix
456-467|733-744 ;MM ramp fix
468-471|745-748 ;water slopes to road slopes
468-471|749-752 ;p road slopes
472-486|757-771 ;MM height
487-490|772-775 ;tunnels
491-492|776-777 ;tunnel side
493-516|782-805 ;MM roads
517-527|806-816 ;MM roads
528-593|817-882 ;MM roads
594-635|883-924 ;MM shore
636-639|925-928 ;MM waterfalls
640-643|929-932 ;MM waterfalls
644-647|933-936 ;MM waterfalls
648-651|937-940 ;MM waterfalls
652-679|941-968 ;MM cliff water
680-693|969-972 ;MM water
694-695|987-988 ;dest cliffs
696|989 ;rock lat
697-712|990-1005 ;rock lat clear
713|1006 ;grey ice
714-729|1007-1022 ;grey ice clear
730-733|1027-1030 ;dirt tunnel floor
734|1031 ;lat pave
735-748|1032-1045 ;pavement
749-764|1046-1061 ;lat pave clear
765-778|1031-1031 ;road bits
779-780|0-0 ;ice shoreline
781-796|296-311 :wood bridges
797|0
798-837|60-99 ;ice cliff to cliff
838-877|347-386
878-887|403-412 ;ice ramps to ramps
888-897|413-422
898-925|167-194 ;ice shore to cliff shore
926-953|941-968
954-959|711-716
860-963|717-720
964-967|168-171 ;TX follows here (to fix)
968-971|168-171
972-975|168-171
976-979|168-171
980-987|1031-1031
988-991|1031-1031
992-999|1062-1065
992-999|757-764
1000-1001|1066-1067
1002-1009|757-764
1010-1017|753-756
1018-1025|772-775
1026-1031|1031-1031
1032-1043|1031-1031
1044-1091|1031-1031
1092|1031 ;TX pave
1093-1112|40-59 ;TX pave ramps
1113-1132|1068-1071
1133-1140|772-775 ;TX tunnels
1141-1148|772-775 ;TX road tunnels
1149-1150|776-777 ;TX tunnel side
1151-1174|195-218 ;TX pave to dirt roads
1175-1185|219-229
1186-1251|230-295
1252-1275|60-99 ;TX urban cliffs
1276-1314|60-99
1315-1353|60-99
1354-1392|60-99
1393-1431|60-99
1432-1455|60-99
1456-1465|403-412
1466-1481|167-194 ;TX urban water cliffs
1482-1520|167-194
1521-1538|167-194
1539-1577|167-194
1578-1595|167-194
1596-1675|772-775
1676-1679|776-777
1680-1687|1031
1688-1695|1031
1696-1734|347-386
1735-1758|347-386
1759-1768|40-594
1769-1778|413-422
1779-1817|941-968
1818|150 ;TX grass
1819-1826|749-752
1827-1838|219-229
1839-1854|1031-1031
1855-1870|150-150
1871-1882|195-218
1883-1886|691-694
1887-1898|711-720
1899|1031
1900-1907|1031-1031
1908-1911|60-99
1912-1915|347-368
1916-1919|347-368
1920-1927|60-99
1928-1935|60-99
1936-1945|1031-1031
1946-1960|0-0
1961-1975|0-0
1976-1978|333-346
1979-1981|333-346
1982-1984|1031-1031
1985-1996|1031-1031
1997-2002|167-194
2003-2014|60-99
2015-2022|1031-1031
2023-2026|1031-1031
2027-2034|347-368
2035-2046|1031-1031
2047-2054|1031-1031
2055-2062|1031-1031
2063-2080|1031-1031
2081-2084|1031-1031
2085|423
2086-2091|1031-1031
2092-2099|1031-1031
2100-2104|1031-1031
2105-2124|679-682
2125-2144|683-686
2145-2164|687-690
2165-2184|929-932
2185-2204|933-936
2205-2224|937-940
2225-2244|1031-1031
2245-2264|1031-1031
2265-2276|1031-1031
2277-2296|1031-1031
2297-2298|1072-1073
2299-2300|1072-1073

[ObjectRules]
VEINTREE|TIBTRE01
MINE|TIBTRE02
BIGBLUE3|TIBTRE03
FONA01|TREE01
FONA02|TREE02
FONA03|TREE03
FONA04|TREE04
FONA05|TREE05
FONA06|TREE06
FONA07|TREE07
FONA08|TREE08
FONA09|TREE09
FONA10|TREE10
FONA11|TREE11
FONA12|TREE12
FONA13|TREE13
FONA14|TREE14
FONA15|TREE15
TREE26|TREE16
TREE27|TREE17
TREE28|TREE18
TREE29|TREE19
TREE30|TREE20
TREE31|TREE21
TREE32|TREE22
TREE33|TREE23
TREE34|TREE24
TREE35|TREE25
TREE36|TREE15
;ABAN01|CITY18

[OverlayRules]
126|255 ;veins to none.
167|255 ;veinhole to none.
178|255 ;veinholedummy inconsequential
Loading

0 comments on commit f85f222

Please sign in to comment.