Maprelease

From MechWarrior: Living Legends Wiki
Revision as of 12:30, 16 June 2018 by Fire-hound (talk | contribs) (Folder structure and hierarchy)
Jump to: navigation, search

Maprelease

Release stages

Releasing a map is essentially providing public access to it. To release a map we have two actual stages.

Testing Release

For a map to be considered released for testing it has to be publicly accessible to, at least, the test players, if not everyone.
For this to be the case the map is usually uploaded to a public storage service and the link is to be posted on our forum or Discord.
However, for the map to be acceptable to be spun on an community server, there are a few guidelines to be followed. Those assure the process is as streamlined and stress free for all the parties involved.

Public Gaming release

For a map to be considered public it has to be present on the repositories for automatic map download.
Being clear of test release, we assume the map already conforms to the release guidelines.

Endorsed Maps

If an map shows outstanding performance or holds essential assets to the game (or both preferably) the map can undergo being endorsed to the MW:LL release.
Further constraints might ensue then. Details are to be determined, by the developer team in this case.

Guidelines

First of all the map is to be an authors work, and if it's derived work, the due credit is to be shown.

Naming conventions

There is no co-relation of the map's cry file and the map folder whatsoever. Yet, it is highly recommended to name those two the same, as well as the accompanying XML file. To avoid any undue confusion down the road. (And it's an long road - note that.)
It is customary to version the community maps so it is loud and clear which map is older and what archive it's coming from. The versioning process is somewhat meticulous and arduous, but we have a most streamlined guide for it below.

Folder structure and hierarchy

It is advised to follow the folder structure from the first steps in the Sandbox2 editor all the way - they are not that cumbersome - but once accustomed to them many a headache will be saved later on.
Map-File-structure.png
Notice the redundant path component "Multiplayer\TC\ that occur twice : This provides for two goals:

  1. To remain able to work on more maps while releasing one then the other.
  2. To be able to keep the map in the Mods/MWLL/Game/Levels/Multiplayer/ file tree - where it belongs.


To zip a map up:

  1. move the map folder that's ready to be released to the 2nd Multiplayer\TC\.
  2. prune all the sandbox content leaving only the play files - as shown on the image

Released-map.png

  1. just select the last Multiplayer folder and zip it up.
  2. rename the archive to the exact map folder name - TC_Warresst_R6.zip in our example.


This way you assure your published map will automagically land in the players folder when auto-downloaded from the map repository once it's hosted there.

Release Version Increment

The following are the steps occurring in the process of synchronizing content to the incremented version of the map name.
Prerequisites (apps used):

  1. 7zip file manager (part of the 7zip free download)
  2. WinRAR (trial ware file manager)
  3. Geany (free GPL licensed advanced code editor/IDE)


1. begin by 7z-ipping the sources and the whole folder in the TC or TSA branch. To have a point of return should anything go bork.
1. 7zip-file-manager.png
2. Rename the folder to reflect the increment of the release.
2. renaming.png
3. Proceed with renaming the files inside the folder
3. more-renaming.png
4. rename the cry file to associate it with WinRAR as shown
4. prepare-for-winzip.png
5. once opened, double click the level.editor_xml - at firts you will be prompted to associate it. Do so for your favorite advanced text editor (mine is Geany)
5. open-with-winRAR.png
6. in the file, seek and replace ([ctrl]+[h] in Geany) all the references from to old folder name to the updated one. Geany does that on single click.
6. edit-with-associated-advanced-editor.png
7. this can be uses as well for endorsing alien art into ones self map. Once all is updated, save the file and exit the editor. When prompted to update the zip archive - allow for it.
7. save-and-update-archive.png
8. remember to restore back all the extensions you changes for the edits to occur.
8. restore-extension.png
9. update the maps XML file as well (Display Name field will be shown in game on the map browser) 9. update-XML.png
10. Find and and open all the material files in the map folder at once in the advanced editor (drag and drop works really well for this)
10. mass-open-all-mtl-files.png
11. Seek and update all the references to point to the just updated folder name (in session means in all currently open files)
11. rename-all-instances.png
12. It goes without saying - all files are to be saved - Geany has save all icon handy.
12. save-all-files.png
13. The final test is the Sandbox 2 editor - open it and load the newly renamed map.
13. run-check-in-sandbox2.png
Now on you are ready to work on and apply the further tweaks and modifications to the map - and the release it afterwards.