Page 1 of 1

How to change map size? Under Linux.

Posted: Wed Feb 12, 2020 6:07 pm
by Adrian
I would like to change map size slightly (in original Dune 2000 map).
Is it possible under Linux? Under Windows?

Re: How to change map size? Under Linux.

Posted: Thu Feb 13, 2020 9:50 am
by abcdefg30
Yes, that is possible using the utility (https://github.com/OpenRA/OpenRA/wiki/Utility).
If you use the AppImage on Linux you can do something like "./Dune-2000.AppImage --utility --resize-map MAPFILE WIDTH HEIGHT".

Re: How to change map size? Under Linux.

Posted: Thu Feb 13, 2020 6:47 pm
by Adrian
Thank you. It works.

It is not quite MAPFILE WIDTH HEIGHT. I wrote there path to directory with map files. Not file name.

Code: Select all

./OpenRA-Dune-2000-x86_64.AppImage --utility --resize-map ~/.openra/maps/d2k/release-20200202/harkonnen-04r/ 76 94
Another problem. Bounds.
They were 2 in original map. And now bound width = 1 (after resizing).

For example.

MapSize: 74,94
Bounds: 2,2,70,90

MapSize: 76,94
Bounds: 1,1,74,92

Re: How to change map size? Under Linux.

Posted: Thu Feb 13, 2020 9:31 pm
by abcdefg30
Yes, you'll also have to provide the path.
As to the bounds: You can simply change those values in the map.yaml file, there should be no issue in doing that.

Re: How to change map size? Under Linux.

Posted: Fri Feb 14, 2020 8:23 pm
by Adrian
Thank you.

The command resize adds new space at bottom and right.
It would be great, if to know how to make something like shift.

I mean, to shift all picture (or part) of map.
Or to add new space at top and left too.
Maybe in future releases.