Action Ready map pack and MapModder script

Information and discussion for custom maps and mods.
Post Reply
User avatar
WhoCares
Posts: 312
Joined: Mon Feb 13, 2017 11:28 pm

Action Ready map pack and MapModder script

Post by WhoCares »

Action Ready [AR] Map Pack

Hello Commanders,

As some of you pointed out it is not easy to have a good set of map ready to play when you need particular settings like the competitive players (1V1, 2V2, 3V3). In order to remedy to that situation, i took the initiative to create a consequent map pack of 82 maps in 4 categories :
  • Competitive 1V1 : All the map that have been chosen in RAGL from Season 1 to Season 8 minus few of them plus some other good maps.
  • Competitive 2V2 :
  • Competitive 3V3
  • Casual : 4v4 and more with casual settings.
The Action Ready map pack features :
  • Lobby's options locked : Main options that are always the same, are locked, only engineer, speed and bounty are left accessible. difference between casual and competitive is crate on/off
  • ERCC refinery 1.3 by FRenzy and Widow. The Refinery can be accessed by all directions or crossed by any unit
  • Link to openra official discord server and ORAacademy discord server so more player can be aware.
  • Additional info : each ragl map is specified wich season it was part of.
  • An overlay to distinguish it from original maps
  • A proper category to filter them in the map selection AR 1V1, AR 2V2, AR 3V3, AR Casual
=================================================================================================
Image
=================================================================================================

[AR] Map Pack's direct download link .7z or [AR] Map Pack's direct download link .zip

In order to make such a map pack, I created 2 things to facilitate my life and the life of other map-modder :
  1. A cleaned map pack of "original maps"
    • All maps have been renamed both file name and title to be consistent : Behind-the-Veil.oramap -> title : Behind The Veil
    • They are ready to receive your additional files, yaml mod and overlay
  2. A script that will automate the modification of a file .oramap ; the "MapModder" script. But that is the next half of the topic.
I took some liberty in term of version i have chosen or naming to constitute the original map pack. I have a huge respect for the map-maker and I'm willing to listen and act toward any complaint if any is emitted. I just hope this map pack will allow your creations to live once again or keep their current success. I hereby thank you all (the mapmakers) for all the tremendous work you have done in openra.

MapModder script

For those who made by the past, modifications on maps to test some models, principles or just other game rules (balance changes) in yaml, you know how tedious it can be to apply your changes to 1 and even more tedious several files. In order to make your life (and mine) easier, i coded a tools that allows you to apply your modifications to a bunch of maps. Without further due, here a screenshot of the GUI before jumping in explanations :
=================================================================================================
Image
=================================================================================================



This script will update all the maps you selected in the map folder according to the parameters chosen in the other fields. Result will be found in the result folder.

  1. Click on the "Select your map folder" button to select the folder where the map you wish to modify is located. By default the script is in "x\mapmodder_script\map"
  2. Click on the "Select your map files" button to select the folder where the map you wish to modify is located. By default the script is in "x\mapmodder_script\files"
    • If no files are present or chosen, the script will not add any file to your .oramap and will proceed without issue
  3. Data in the "Rules" field will be appended to the end of the map.yaml file
    • If left empty, nothing will be appended and the script will proceed without issue
  4. Data in the "Title" field will be appended to the file name and the original title in the map.yaml
    • Example : if "Title" is filled with " [AR] ", Blitz.oramap will become Blitz[AR].oramap and the title line in the map.yaml will become: "Title : Blitz[AR]"
    • If left empty, Title and filename will remain the same and the script will proceed without issue
  5. Data in "Category" field will replace the category in the map.yaml
    • Example : if "Category" is filled with " AR 1V1 " then, in the map.yaml, "Category : conquest" will become "Category : AR 1V1"
    • If left empty, "Category" will remain the same and the script will proceed without issue
  6. The script is able to resize and merge an overlay file with the original map.png
    • In order to do so, you will need to create an overlay first. It is recommended to use a transparent background or you will just replace the original image.
    • Once you have your overlay ready, no matter the size (recommended 200x200 for processing purpose) you can select it with the "Select your map preview overlay file" box
    • The script will automatically display it. It will also resize and overlay it on the preview of the Blitz map to give you a visual of example of how your overlay will look on other maps.
    • If an overlay file is selected then once the "Run script" button pressed, it will be applied to all of the map.png images of your map pack
    • If no overlay is chosen, the script will proceed without issue
  7. - Once you are happy with your settings, hit "Run Script" and let the magic happen
    • At any time you can hit one of the 2 cancel buttons - one will allow you to keep the files already processed, the other will delete everything and start again.
  8. On the MapModder forum topic, there is a link of a full map pack of virgin maps ready to be "modded", feel free to download and use it as a base for your future wonders
=============================================================

Mapmodder script direct download link

The script is made with AutoHotkey

The script is a portable compiled version. It is composed of :
  • An AHK script compiled in a .exe : That's the file you have to launch
  • Two additional ahk library in a folder
  • The main script under its AHK form in case you know what you are doing and not afraid of my poor quality coding
  • A portable version of imagemagick the script will call for all image processing.
  • A portable version of 7z the script will call for all archive management.
  • Some png files the script will use.
  • Some folders for file processing.
Disclaimer :

I didn't reinvent the wheel here. I'm just sharing something what originally was just supposed to be for my own use. My coding skills are very limited and I always feel very little the moment i open topics with big boys scripting when i look around to solve my baby-coding issues. Nevertheless, despite it's limitations, this script helped me a lot and I hope it will do the same for you.

I remain at your disposal for any question, sugestions or anything else.

WhoCares.
Last edited by WhoCares on Thu Feb 20, 2020 11:04 pm, edited 1 time in total.

User avatar
WhoCares
Posts: 312
Joined: Mon Feb 13, 2017 11:28 pm

Re: Action Ready map pack and MapModder script

Post by WhoCares »

First update :

2 Maps added by SarahSicaria's request :
Image
Winter Wonderland[AR]
Image
Climax 3x3 Even Spawns[AR]

Rekampamboon
Posts: 12
Joined: Mon Aug 05, 2019 2:05 pm

Re: Action Ready map pack and MapModder script

Post by Rekampamboon »

Woah man, this is feckin awesome!

User avatar
WhoCares
Posts: 312
Joined: Mon Feb 13, 2017 11:28 pm

Re: Action Ready map pack and MapModder script

Post by WhoCares »

Thx,

1 Maps added by Wippie's request :
Image
Sonora[AR]
Last edited by WhoCares on Wed Jan 01, 2020 8:47 am, edited 1 time in total.

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: Action Ready map pack and MapModder script

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 8:04 pm, edited 1 time in total.

User avatar
WhoCares
Posts: 312
Joined: Mon Feb 13, 2017 11:28 pm

Re: Action Ready map pack and MapModder script

Post by WhoCares »

Your welcome,


3 competitive 2v2 Maps added :

Image
Jankai[AR]
Image
Nevermore[AR]
Image
Seventh Woods[AR]

Happy new year

davc0n

Re: Action Ready map pack and MapModder script

Post by davc0n »

Code: Select all

Failed to load map: River-Crossing[AR].oramap
Details: ICSharpCode.SharpZipLib.Zip.ZipException: Cannot find central directory
  at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries () [0x00045] in <852fb8680c794f2d87e382bd7f61825a>:0 
  at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.IO.Stream stream) [0x00076] in <852fb8680c794f2d87e382bd7f61825a>:0 
  at OpenRA.FileSystem.ZipFileLoader+ReadWriteZipFile..ctor (System.String filename, System.Boolean create) [0x00057] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.FileSystem.ZipFileLoader.TryParseReadWritePackage (System.String filename, OpenRA.FileSystem.IReadWritePackage& package) [0x0002a] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.FileSystem.Folder.OpenPackage (System.String filename, OpenRA.FileSystem.FileSystem context) [0x00021] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.MapCache.LoadMaps () [0x00141] in <41ea05b7ed284beb982b402d91ea028d>:0

User avatar
WhoCares
Posts: 312
Joined: Mon Feb 13, 2017 11:28 pm

Re: Action Ready map pack and MapModder script

Post by WhoCares »

Strange, it works for me

3 Maps added :
Image
Ysmir 2v2[AR]
Image
Agenda 2v2[AR]
Image
Duel-Islands[AR]

davc0n

Re: Action Ready map pack and MapModder script

Post by davc0n »

WhoCares wrote:
Sun Jan 05, 2020 4:18 pm
Strange, it works for me
River Crossing II works, same for the other maps in the pack (got the link from the first post).

River Crossing doesn't even show up in the map selection window, and the error that I posted appeares in console (launch OpenRA from a terminal to check it out).

I noticed something strange exploring the map folder as well, in fact the archive looks different from the others

Image

Maybe the .oramap archive in the map pack got corrupted somehow. May you send me the link for this map in OpenRA Resource Center ?

User avatar
mooleshacat
Posts: 1
Joined: Tue Jul 26, 2022 5:11 pm

Re: Action Ready map pack and MapModder script

Post by mooleshacat »

I can't seem to get the game to recognize the maps... Are these Tiberian Dawn or RA?

C:\Users\DESKTOP\AppData\Roaming\OpenRA\maps\cnc (I assume this is Tiberian Dawn?)
C:\Users\DESKTOP\AppData\Roaming\OpenRA\maps\ra (I assume this is Red Alert?)

Inside both those directories is a folder:
release-20210321

Do I make a separate folder beside it to put all the maps in? Or do they go inside the release folder?

User avatar
milkman
Posts: 25
Joined: Thu Dec 16, 2021 5:33 pm

Re: Action Ready map pack and MapModder script

Post by milkman »

Maps go in the release folder then you need to restart the game for the maps to show up. Your assumptions about ra/cnc being short for Red Alert and Tiberian Dawn are correct.

Post Reply