Resizing a map using the OpenRA utility exe
a retard guide for retarded window users...
-
- Posts: 1086
- Joined: Wed Dec 10, 2014 11:59 am
Resizing a map using the OpenRA utility exe
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.
Last edited by noobmapmaker on Wed Aug 09, 2017 8:39 am, edited 10 times in total.
Playlist with ALL games of the Dark Tournament Youtube.com/CorrodeCasts
Consider supporting OpenRA by setting a bounty or by donating for a server
Consider supporting OpenRA by setting a bounty or by donating for a server
-
- Posts: 1086
- Joined: Wed Dec 10, 2014 11:59 am
Will add and fixed the error, thanks!
Playlist with ALL games of the Dark Tournament Youtube.com/CorrodeCasts
Consider supporting OpenRA by setting a bounty or by donating for a server
Consider supporting OpenRA by setting a bounty or by donating for a server
Either try running it with administrator privileges or move the map file you want to edit out of the "programs" folder (assuming you want to edit a default map shipped with OpenRA, which is then in that folder which requires admin rights... e.g. move the map you want to edit to "Documents\OpenRA\maps\ra\release-20171014").