From e2afb102bfee09ef78357bdc29d8b0079d2c1cb3 Mon Sep 17 00:00:00 2001 From: 0pen Date: Wed, 18 Feb 2026 19:17:48 +0800 Subject: [PATCH 1/3] Add YR > RA2 conversion profiles --- Profiles/ra2_des2tem.ini | 10 +++++++- Profiles/ra2_snomd2sno.ini | 16 ++++++++++++ Profiles/ra2_ubn2tem.ini | 50 ++++++++++++++++++++++++++++++++++++++ Profiles/ra2_ubn2urb.ini | 41 +++++++++++++++++++++++++++++++ Profiles/ra2_urbmd2urb.ini | 12 +++++++++ 5 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 Profiles/ra2_snomd2sno.ini create mode 100644 Profiles/ra2_ubn2tem.ini create mode 100644 Profiles/ra2_ubn2urb.ini create mode 100644 Profiles/ra2_urbmd2urb.ini diff --git a/Profiles/ra2_des2tem.ini b/Profiles/ra2_des2tem.ini index 3b97f98..fc88f07 100644 --- a/Profiles/ra2_des2tem.ini +++ b/Profiles/ra2_des2tem.ini @@ -1,6 +1,6 @@ [ProfileData] Name=[Terrain] RA2 Desert -> Temperate -Description=Convert RA2/YR/TX Desert maps to Temperate maps. +Description=Convert YR Desert maps to Temperate maps. [TheaterRules] ApplicableTheaters=DESERT @@ -54,3 +54,11 @@ NewTheater=TEMPERATE 1144-1146|1075-1077 1147-1148|1078-1079 1149-1164|1080-1095 + +[ObjectRules] +TREE31|TREE01 +TREE32|TREE02 +TREE33|TREE03 +TREE34|TREE04 +TREE35|TREE05 +TREE36|TREE06 diff --git a/Profiles/ra2_snomd2sno.ini b/Profiles/ra2_snomd2sno.ini new file mode 100644 index 0000000..ba21d22 --- /dev/null +++ b/Profiles/ra2_snomd2sno.ini @@ -0,0 +1,16 @@ +[ProfileData] +Name=[Terrain] RA2 Snowmd -> Snow +Description=Convert YR Snowmd maps to RA2 Snow maps. + +[TheaterRules] +ApplicableTheaters=SNOW + +[TileRules] +798-837|49-88 +838-877|328-367 +878-887|384-393 +888-897|394-403 +898-925|148-175 +926-953|652-679 +954-959|0-0|*|0 +960-963|0-0 diff --git a/Profiles/ra2_ubn2tem.ini b/Profiles/ra2_ubn2tem.ini new file mode 100644 index 0000000..7945247 --- /dev/null +++ b/Profiles/ra2_ubn2tem.ini @@ -0,0 +1,50 @@ +[ProfileData] +Name=[Terrain] RA2 New Urban -> Temperate +Description=Convert YR New Urban maps to Temperate maps. + +[TheaterRules] +ApplicableTheaters=NEWURBAN +NewTheater=TEMPERATE + +[TileRules] +574-732|578-736 +733-795|741-803 +796-797|49-49 +798-799|50-50 +800|51 +801-802|56-56 +803-804|66-66 +805|67 +806-807|69-69 +808-809|70-70 +824-825|169-169 +826-827|168-168 +828|167 +829-830|165-165 +831-832|155-155 +833|150 +834-835|149-149 +836-837|148-148 +852-861|0-0 +862-863|170-170 +864-865|175-175 +866-867|171-171 +868-869|172-172 +870-871|173-173 +872-873|174-174 +886-891|0-0 +898-907|0-0 +908-909|804-805 +910-925|821-836 +926-957|0-0 +958-959|50-50 +960-961|66-66 +962-964|314-314 +965-968|0-0 +969-1008|49-88 +1049-1076|148-175 +1105|0 +1106-1115|384-393 +1126-1145|29-48 +1166-1173|0-0 +1174|279 \ No newline at end of file diff --git a/Profiles/ra2_ubn2urb.ini b/Profiles/ra2_ubn2urb.ini new file mode 100644 index 0000000..6d9362b --- /dev/null +++ b/Profiles/ra2_ubn2urb.ini @@ -0,0 +1,41 @@ +[ProfileData] +Name=[Terrain] RA2 New Urban -> Urban +Description=Convert YR New Urban maps to Urban maps. + +[TheaterRules] +ApplicableTheaters=NEWURBAN +NewTheater=URBAN + +[TileRules] +0|493 +131|493 +132-147|494-509 +304|293|*|*|*|0-3|0-0 +304|293|*|*|*|4-7|1-1 +304|293|*|*|*|8-11|2-2 +307|294|*|*|*|0-2|0-2 +307|294|*|*|*|3-5|0-2 +307|294|*|*|*|6-8|0-2 +307|294|*|*|*|9-11|0-2 +418|493 +419-434|494-509 +435|440 +438-439|0-0|*|0 +443-444|0-0|*|0 +862-909|875-922 +910-949|1017-1056 +950-968|1058-1076 +969-1008|49-88 +1009-1048|328-367 +1049-1076|148-175 +1077-1104|733-760 +1105|0 +1106-1125|384-403 +1126-1145|29-48 +1146-1165|2-21 +1166-1169|0-0|*|0 +1170|1059 +1171|1061 +1172|1063 +1173|1065 +1174|279 diff --git a/Profiles/ra2_urbmd2urb.ini b/Profiles/ra2_urbmd2urb.ini new file mode 100644 index 0000000..2d78891 --- /dev/null +++ b/Profiles/ra2_urbmd2urb.ini @@ -0,0 +1,12 @@ +[ProfileData] +Name=[Terrain] RA2 Urbanmd -> Urban +Description=Convert YR Urbanmd (NOT NewUrban) maps to RA2 Urban maps. + +[TheaterRules] +ApplicableTheaters=URBAN + +[TileRules] +1077|1059 +1078|1061 +1079|1063 +1080|1065 From c96ece494f33ea383886f65f8990846efae5c0d9 Mon Sep 17 00:00:00 2001 From: 0pen Date: Wed, 18 Feb 2026 20:56:21 +0800 Subject: [PATCH 2/3] Update ra2_ubn2tem.ini --- Profiles/ra2_ubn2tem.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Profiles/ra2_ubn2tem.ini b/Profiles/ra2_ubn2tem.ini index 7945247..5634f99 100644 --- a/Profiles/ra2_ubn2tem.ini +++ b/Profiles/ra2_ubn2tem.ini @@ -47,4 +47,4 @@ NewTheater=TEMPERATE 1106-1115|384-393 1126-1145|29-48 1166-1173|0-0 -1174|279 \ No newline at end of file +1174|279 From aa0ddc866a75b58b3c3a4196af5f987e3cadc356 Mon Sep 17 00:00:00 2001 From: 0pen Date: Sat, 14 Mar 2026 18:34:53 +0800 Subject: [PATCH 3/3] Fixing waterfalls --- Profiles/ra2_ubn2tem.ini | 1 + Profiles/ra2_ubn2urb.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/Profiles/ra2_ubn2tem.ini b/Profiles/ra2_ubn2tem.ini index 5634f99..d5fd1ae 100644 --- a/Profiles/ra2_ubn2tem.ini +++ b/Profiles/ra2_ubn2tem.ini @@ -7,6 +7,7 @@ ApplicableTheaters=NEWURBAN NewTheater=TEMPERATE [TileRules] +415|416 574-732|578-736 733-795|741-803 796-797|49-49 diff --git a/Profiles/ra2_ubn2urb.ini b/Profiles/ra2_ubn2urb.ini index 6d9362b..c3f7fd8 100644 --- a/Profiles/ra2_ubn2urb.ini +++ b/Profiles/ra2_ubn2urb.ini @@ -17,6 +17,7 @@ NewTheater=URBAN 307|294|*|*|*|3-5|0-2 307|294|*|*|*|6-8|0-2 307|294|*|*|*|9-11|0-2 +415|416 418|493 419-434|494-509 435|440