[ X ]
Resizing a map using the OpenRA utility exe
a retard guide for retarded window users...
Post new topic   Reply to topic Page 1 of 1
View previous topic :: View next topic  
Author Message
noobmapmaker
Level: 67



Position: Registered User
Joined: 10 Dec 2014
Posts: 1020
Kel: 370  [ Donate ]

Online Status: Offline
PostPosted: Fri Aug 04, 2017 7:42 pm    Post subject: Resizing a map using the OpenRA utility exe Reply with quote

And so that I dont forget it Smile

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.

_________________
Post your fun replays online Gamereplays.org/openra
Consider supporting OpenRA by setting a bounty or by donating for a server


Last edited by noobmapmaker on Wed Aug 09, 2017 8:39 am; edited 10 times in total
Back to top
View user's profile Find all posts by noobmapmaker Send private message Send e-mail ICQ Number
3.Lucian
Level: 27



Position: Registered User
Joined: 27 Dec 2016
Posts: 52
Kel: 52  [ Donate ]

Online Status: Offline
PostPosted: Mon Aug 07, 2017 2:53 am  Reply with quote

Thanks man,

I have tried to do this in the past without success, I will try this again tonight when i get home.

very, very useful!
Back to top
View user's profile Find all posts by 3.Lucian Send private message ICQ Number
3.Lucian
Level: 27



Position: Registered User
Joined: 27 Dec 2016
Posts: 52
Kel: 52  [ Donate ]

Online Status: Offline
PostPosted: Tue Aug 08, 2017 10:01 am  Reply with quote

Ah, was having some trouble, but I worked it out.

In your examples you have written 128 x 96,
it should be 128 96.
Back to top
View user's profile Find all posts by 3.Lucian Send private message ICQ Number
3.Lucian
Level: 27



Position: Registered User
Joined: 27 Dec 2016
Posts: 52
Kel: 52  [ Donate ]

Online Status: Offline
PostPosted: Tue Aug 08, 2017 10:07 am  Reply with quote

it's probably also worth mentioning what you are resizing isn't just the play area from 1,1, it's the border as well, from 0,0.


i.e. you need to add 2 to each of the new numbers. if you want it 100 cells wide, you need to tell the utility to resize to 102.
Back to top
View user's profile Find all posts by 3.Lucian Send private message ICQ Number
noobmapmaker
Level: 67



Position: Registered User
Joined: 10 Dec 2014
Posts: 1020
Kel: 370  [ Donate ]

Online Status: Offline
PostPosted: Tue Aug 08, 2017 2:08 pm  Reply with quote

Will add and fixed the error, thanks!
_________________
Post your fun replays online Gamereplays.org/openra
Consider supporting OpenRA by setting a bounty or by donating for a server
Back to top
View user's profile Find all posts by noobmapmaker Send private message Send e-mail ICQ Number
JOo
Level: 76



Position: Registered User
Joined: 25 Jan 2012
Posts: 498
Kel: 95  [ Donate ]

Online Status: Offline
PostPosted: Tue Aug 15, 2017 1:01 pm  Reply with quote

Quote:
a retard guide for retarded window users...


https://media.giphy.com/media/PyzbkZjnccZGw/giphy.gif

noobmapmaker wrote (View Post):
And so that I dont forget it Smile


https://media.giphy.com/media/JMV7IKoqzxlrW/giphy.gif
Back to top
View user's profile Find all posts by JOo Send private message Send e-mail ICQ Number
Inq
Level: 42



Position: Registered User
Joined: 27 Sep 2015
Posts: 44
Kel: 22  [ Donate ]

Online Status: Offline
PostPosted: Tue Aug 15, 2017 2:32 pm  Reply with quote

Laughing
Back to top
View user's profile Find all posts by Inq Send private message Send e-mail ICQ Number
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1