How to transfer maps to the new version ?

Discussion about the game and its default mods.
Post Reply
ShadowAssassin
Posts: 44
Joined: Wed Dec 30, 2015 8:12 pm

How to transfer maps to the new version ?

Post by ShadowAssassin »

I parsed a map on the previous release (20151224) but can't get to parse it with the new one (20160508).

Any idea how this is done ?

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

Post by abcdefg30 »

To update your maps I suggest you use the utility.exe (see https://github.com/OpenRA/OpenRA/wiki/Utility ).
You probably want "OpenRA.Utility.exe <mod/id> --upgrade-map <path/to/map> 20151224".

(See also http://www.sleipnirstuff.com/forum/view ... 523#296523 )

ShadowAssassin
Posts: 44
Joined: Wed Dec 30, 2015 8:12 pm

Post by ShadowAssassin »

Thanks abcdefg30 !

It was not working with the weather effects, so I opened the .oramap compressed file, removed all the scripting files (.lua and .aud) (and the rules in the map.yaml file).

Then I runned utility.exe (btw I think you meant --upgrade-map <path/to/map> 20160508 instead of 20151224 :D ) and I got my map back ! Perfect :)

However I tried to reinject the weather scripting ... but doesn't seem to work.
I put back the .aud, .lua files into a folder, changed the map.yaml (rules), then zipped it all and renamed the extension into .oramap.

Is this the good way ?

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

Post by abcdefg30 »

Something with the WeatherOverlay changed, so not sure if it was good to cut the rules out. :D The changes are that you need "ParticleSize: 1, 1" if you defined "UseSquares: false".

(PS: 20151224 instead of 20160508 is correct. The utility wants the last engine version the map worked with. Yeah, kinda stupid setup. ^^)

Post Reply