Resizing a map using the OpenRA utility exe
Posted: Fri Aug 04, 2017 7:42 pm
And so that I dont forget it
Somehow the guide doesnt help me to actually open the utility program and even when you've opened it there are a couple things that can make this frustrating if you don't know what needs to be done.
So if you want to resize a Red Alert map:
- Open CMD
- Enter: cd [the path of the main OpenRA game]. Example: cd C:\Program Files (x86)\OpenRA
- Enter: [the path of the main OpenRA game]>openra.utility.exe
Example: C:\Program Files (x86)\OpenRA>openra.utility.exe ra
This opens all commands available, but we are going to use the --resize-map command. Lets say we want to change Singles. First you can go to Skirmish in the OpenRA client to see the actual size of the map. In this case 108x50 cells (= width x height). Lets say you want to change it to 116x60.
You'll allready have C:\Program Files (x86)\OpenRA>
- Enter: openra.utility.exe ra --resize-map [the path to the map*]\singles.oramap 116 60
* find the map in your folder, then copy-paste the path followed by the name of the map, including the .oramap file extension.
Example:
C:\Program Files (x86)\OpenRA>openra.utility.exe ra --resize-map C:\Users\NoobMapMaker\Documents\OpenRA\maps\ra\release-20170527\themapthatIwanttoresize.oramap 128 96
C:\Program Files (x86)\OpenRA>openra.utility.exe ra --resize-map C:\Program Files (x86)\OpenRA\mods\ra\maps\themapthatIwanttoresize.oramap 128 96
Enter and wait... now check the folder that contained the original map. Don't forget to make a backup of your map before you play around with it!
Note by Lucian: always add +2 cells to the size you're aiming for because on every edge of the map you'll have a 1 cell border where units cannot go.
Yes, I am a retard and this is a retards' guide to resizing an OpenRA map.
Somehow the guide doesnt help me to actually open the utility program and even when you've opened it there are a couple things that can make this frustrating if you don't know what needs to be done.
So if you want to resize a Red Alert map:
- Open CMD
- Enter: cd [the path of the main OpenRA game]. Example: cd C:\Program Files (x86)\OpenRA
- Enter: [the path of the main OpenRA game]>openra.utility.exe
Example: C:\Program Files (x86)\OpenRA>openra.utility.exe ra
This opens all commands available, but we are going to use the --resize-map command. Lets say we want to change Singles. First you can go to Skirmish in the OpenRA client to see the actual size of the map. In this case 108x50 cells (= width x height). Lets say you want to change it to 116x60.
You'll allready have C:\Program Files (x86)\OpenRA>
- Enter: openra.utility.exe ra --resize-map [the path to the map*]\singles.oramap 116 60
* find the map in your folder, then copy-paste the path followed by the name of the map, including the .oramap file extension.
Example:
C:\Program Files (x86)\OpenRA>openra.utility.exe ra --resize-map C:\Users\NoobMapMaker\Documents\OpenRA\maps\ra\release-20170527\themapthatIwanttoresize.oramap 128 96
C:\Program Files (x86)\OpenRA>openra.utility.exe ra --resize-map C:\Program Files (x86)\OpenRA\mods\ra\maps\themapthatIwanttoresize.oramap 128 96
Enter and wait... now check the folder that contained the original map. Don't forget to make a backup of your map before you play around with it!
Note by Lucian: always add +2 cells to the size you're aiming for because on every edge of the map you'll have a 1 cell border where units cannot go.
Yes, I am a retard and this is a retards' guide to resizing an OpenRA map.