How to change map size? Under Linux.

Dune 2000

Information and discussion for custom maps and mods.
Post Reply
Adrian
Posts: 9
Joined: Wed Feb 12, 2020 5:44 pm

How to change map size? Under Linux.

Post by Adrian »

I would like to change map size slightly (in original Dune 2000 map).
Is it possible under Linux? Under Windows?

abcdefg30
Posts: 367
Joined: Mon Aug 18, 2014 6:00 pm

Re: How to change map size? Under Linux.

Post 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".

Adrian
Posts: 9
Joined: Wed Feb 12, 2020 5:44 pm

Re: How to change map size? Under Linux.

Post 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

abcdefg30
Posts: 367
Joined: Mon Aug 18, 2014 6:00 pm

Re: How to change map size? Under Linux.

Post 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.

Adrian
Posts: 9
Joined: Wed Feb 12, 2020 5:44 pm

Re: How to change map size? Under Linux.

Post 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.

Post Reply