How to change map size? Under Linux.
Dune 2000
How to change map size? Under Linux.
I would like to change map size slightly (in original Dune 2000 map).
Is it possible under Linux? Under Windows?
Is it possible under Linux? Under Windows?
Re: How to change map size? Under Linux.
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".
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.
Thank you. It works.
It is not quite MAPFILE WIDTH HEIGHT. I wrote there path to directory with map files. Not file name.
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
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
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.
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.
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.
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.
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.
Re: How to change map size? Under Linux.
Place the map in the Openra utility folder to avoid typing the path. Copy paste it back after resize.
I wouldnt recommend adding space to top and left too. Map editor has sufficient tooling for workarounds
I wouldnt recommend adding space to top and left too. Map editor has sufficient tooling for workarounds
Re: How to change map size? Under Linux.
For now the only possibility to do that is to copy/paste the whole map and then get rid of the leftovers. Also note, that some objects (like script waypoints or player spawns) are not copied or moved over, you need to modify them manually.
Re: How to change map size? Under Linux.
By the way, I would like to know (earlier, before this question was asked),
how to modify waypoints position?
I found this only in map.yaml file.
I can change location here:
AtreidesEntry: waypoint
Owner: Neutral
Location: 65,53
Is it possible to change location in Map Editor ?
Drag and drop? Something else?