Jump to content

Map making support and conversion tool: post-Atlas


Recommended Posts

Thanks @Asher for your kind offer! Possibly if you could test the conversion of old maps (pmp version 5 or so). I am currently preparing another version 1.6.0 of post-Atlas that includes 

(1) the capability to randomly turn trees so they look less uniform as implemented by @vladislavbelov as a standalone Python script in 

https://wildfiregames.com/forum/topic/109382-atlas-scenario-editor-random-facing-direction-for-trees-on-placement/

(2) when converting an old map where there are units and other elements that cannot be anymore found (due to renaming, regrouping etc.)  off er choosing an alternate elemetn from the currently available lsit.

  • Like 1
Link to comment
Share on other sites

11 hours ago, Grautvornix said:

of old maps (pmp version 5 or so).

Do you have any suggestions? I am not so familiar with the pmp versioning, so if you know of any, and could point me to them, that would be great! Or I could just look through the forum a little :). Do you know what year pmp 5 was?

Link to comment
Share on other sites

Here are a couple of older maps I was able to collect form the forum. Some (that I played in the past already) are pretty awesome like Fall of Constantinople, Alesia, or TheLegendofMali. The others will most probably also be interesting. I'd suggest you look into one map and verify if it can be converted and is still palyable, if you like.

That would be very helpful!!!

Thank you so much!

alesia.zip Athens.zip Alpine Settlement 0,1.zip Epiphany_v5.pmp Epiphany_v5.xml Fall Of Constantinople.pmp Fall Of Constantinople.xml Halicarnassus.pmp Halicarnassus.xml TheLegendofMaliSecondVersion.pmp TheLegendofMaliSecondVersion.xml

  • Like 1
Link to comment
Share on other sites

4 hours ago, Grautvornix said:

Here are a couple of older maps I was able to collect form the forum. Some (that I played in the past already) are pretty awesome like Fall of Constantinople, Alesia, or TheLegendofMali. The others will most probably also be interesting. I'd suggest you look into one map and verify if it can be converted and is still palyable, if you like.

That would be very helpful!!!

Thank you so much!

Thanks! That is very helpful. I probably won't do it today, but probably tomorrow :) One thing, can you make it so you can convert one map, and not all of the skirmishes or scenarios (this may be a feature already, sorry if it is and I just don't know about it). If you could make it where you select the individual maps on the setup page maybe?

Link to comment
Share on other sites

@AsherIf you select only one map at a time then only that map is converted. When this is however a map pack, the entire pack is converted map by map but into the same folder, same as its source.

Sorry, could not help it - just made another release 1.8.0 that provides better entity conversion support including automatic suggestion of most likely replacement and a few other improvements (e.g. @vladislavbelov's tree randomization script).

One new architectural thing is that I extracted a common code package that will be also used by other ATLAS-related tools that I am preparing.

 

Please find the latest release 1.8.0 in the top message of this thread (with updated screenshots)

  • Like 1
Link to comment
Share on other sites

image.png.610b31657b3f320901424fb5d4be4a0c.pngSo, I was getting this. It isn't letting me pick a replacement template for certain ones. Also, could you have it when you double click on a warning or error in the findings tab, that it opens the fix selected menu, instead of going to the analyze tab

Link to comment
Share on other sites

@Asher Thanks for the testing! 

2 hours ago, Asher said:

It isn't letting me pick a replacement template for certain ones.

Oh! Which type of templates are these? Any specific or just some?

 

2 hours ago, Asher said:

Also, could you have it when you double click on a warning or error in the findings tab, that it opens the fix selected menu, instead of going to the analyze tab

Good point! Will change that!

Link to comment
Share on other sites

58 minutes ago, Grautvornix said:

Oh! Which type of templates are these? Any specific or just some?

I don't the the tool likes these "|". So if the template is actor|flora/trees/pine_animated.xml, it says "manual edit in atlas"

Also, the big button says "Output" in the convert tab. Is that intentional?

Link to comment
Share on other sites

2 minutes ago, Asher said:

I don't the the tool likes these "|". So if the template is actor|flora/trees/pine_animated.xml, it says "manual edit in atlas"

Tried to have it fixed in the next release. Here is what Claude commented: "Isn't letting me pick a replacement". Most likely those templates are supplied by another mod installed on the tester's machine. Then they aren't missing: they show up as one "N templates … come from mod X" finding, and there was nothing to replace. Choose replacements…, and a double-click on that finding, now offer to replace them with the game's own templates, chosen one by one in the usual table. The other possible case is an actor (a model placed directly, actor|…): the message now names those and says to replace them in Atlas. It's still worth asking the tester which mods they have installed.

3 minutes ago, Asher said:

Also, the big button says "Output" in the convert tab. Is that intentional?

Yes, indeed, switching from Findings to Convert means pushing the convert button (or selecting the tab or the menu). Finally, when everything is finished, there is the output button (I don't like that button labelmyself but was not able to come up with anything better yet. "Do it" doesn't look so fancy and repeating "Convert" might be confusing)

  • Like 1
Link to comment
Share on other sites

post-Atlas V. 1.9.0 is now available (please refer to the top of this thread to download).

  • Fixed interlock between post-Atlas and the game when accessing the same archives
  • Analyze tab:
    • Player balancing information (staritng resources per player)
    • fixed map enlarged preview
  • Findings tab:
    • fixed more replacement rules now also including actors and props
    • double click to open "fix selected" window (thanks @Asher!)
    • a mod's templates can be replaced with the game's own. (thanks @Asher!

Please let me know if you find any bugs, or if you have more ideas and suggestions

 

 

  • Like 1
Link to comment
Share on other sites

Like this? (next release will have it) 

===============================================================================
== isles-r28  <- pack.zip
   output: C:\x\mods\isles-r28, 12 files copied
   mod.json: ...
   ----------------------------------------------------------------------------
   maps/scenarios/greek_isles.xml
      renamed gaia/flora_tree_oak -> gaia/tree/oak  (3x, r27)
   ----------------------------------------------------------------------------
   maps/scenarios/delta.xml
      renamed gaia/flora_tree_oak -> gaia/tree/oak  (3x, r27)
   ----------------------------------------------------------------------------
   2 maps: 2 changed, 0 needed nothing; ...

===============================================================================
Result: no failures left - ...

  • Like 1
Link to comment
Share on other sites

4 hours ago, Grautvornix said:

Like this? (next release will have it) 

===============================================================================
== isles-r28  <- pack.zip
   output: C:\x\mods\isles-r28, 12 files copied
   mod.json: ...
   ----------------------------------------------------------------------------
   maps/scenarios/greek_isles.xml
      renamed gaia/flora_tree_oak -> gaia/tree/oak  (3x, r27)
   ----------------------------------------------------------------------------
   maps/scenarios/delta.xml
      renamed gaia/flora_tree_oak -> gaia/tree/oak  (3x, r27)
   ----------------------------------------------------------------------------
   2 maps: 2 changed, 0 needed nothing; ...

===============================================================================
Result: no failures left - ...

Yes :)

Link to comment
Share on other sites

@Asher Please see the latest release 1.9.1 in the first message of this thread (the onyl functional change).

There are other changes inside as I am also preparing a second tool to prepare, support, manipulate and visualize Atlas maps.  The two tools post-atlas and the new one share common components hence the update of atlas-common 1.4.0 package (I actually should rename that to make clear this is not linked to the actual atlas tool in 0AD).

I'll publish a first version of the new tool shortly in this part of the forum. 

Link to comment
Share on other sites

44 minutes ago, Grautvornix said:

There are other changes inside as I am also preparing a second tool to prepare, support, manipulate and visualize Atlas maps.  The two tools post-atlas and the new one share common components hence the update of atlas-common 1.4.0 package (I actually should rename that to make clear this is not linked to the actual atlas tool in 0AD).

Like your own version of Atlas?

Link to comment
Share on other sites

I added a replacements for things on a map, then I went to the convert tab, and clicked output, and it said there were fails. I then go back to the findings tab, and it undid all the replacements I put in

Link to comment
Share on other sites

8 minutes ago, Asher said:

Like your own version of Atlas?

No, that would be far too complex - what I have in mind is more a wrapper tool that helps defining the map/game/player characteristics, then hand over to the real Atlas for terrain sculpting, but then help placing entities, particularly walls and palisades (as a start) and visualizes that in 2D and a simplified 3D map. I am trying to use the new tool with Atlas in a kind of "pair-editing" (the tool only looking at and manipulating xml, Atlas basically everything). Atlas is very powerful but appears complex to me. The new tool is an attempt  trying to reduce complexity where possibly without actually taking away Atlas powerful capabilities. A delivate  

18 minutes ago, Asher said:

I added a replacements for things on a map, then I went to the convert tab, and clicked output, and it said there were fails. I then go back to the findings tab, and it undid all the replacements I put in

Confirmed: convert_again deletes the copy and regenerates it from the untouched source, wiping any replacements.:angry: Please wait for a yet another version 1.9.2 .... (also saw a lot of documentation flaws that needed fixing). (thus demonstrating why short release cycles can be dangerous even with a lot of (automated) testing.)

Link to comment
Share on other sites

Thanks @Asher for testing and finding this out: despite an already converted copy existed, outputting it again converted it again, i.e. it deleted the copy and made it afresh from the untouched source. (there was supposed to be a warning ("Anything you changed inside it is lost") but bueried into a longer warnign text that nobody reads (I wouldn't , so your replacements went with the old copy.

The new release 1.9.2  (QUICKFIX) now will make sure:

  • Every change made in a copy is now recorded inside the copy, so the record survives a restart.
  • Output over a changed copy says "the converted copy is your output", lists the changes map by map, and keeps them by default (Esc keeps them too).
  • Only "Convert again, losing them" converts again.

Frankly, this developed into an unecessarily complex "slideshow" of confirmation windows and a lot of bloat text. For the time being it works, but I have to look into the logic a bit and try simplifying it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...