Avicus Archive

Avicus YAML to XML Converter by Hacktivism May 3, 2015 at 12:05 AM UTC

YAML to XML Converter

Use Avicus maps with SporkPGM or any other scrimmage plugin.

Beta URL

While Avicus maps use YAML, Overcast scrim servers, and most other scrimmage plugins, use XML to run maps. Previously, this lead to players having to convert the YAML code to XML by hand, and was a hassle and not very reliable. It also took a long time for each map. Well, I started working on this a few days ago, and decided to release this in beta, to see what the public thinks about it and whether I should continue on this.

The end goal for this was to be able to convert any YAML module combination into valid XML code that Spork can run. Right now, I'd give the beta an estimate of being around 50% complete. It currently supports loadouts, spawns, teams, monuments, and other general information about the map. It does not, however, support regions yet, and that's the next thing I'm working on.

I do not have a Github repository for this yet, but I'll be making one shortly. If any maps don't work, please let me know.

I hope my HTML worked :3

Zintenka May 3, 2015 at 12:05 AM UTC

I know how to convert maps to XML. I can offer my services to anyone willing to embrace my services :)

Posighdun May 3, 2015 at 12:05 AM UTC

Nice i having been looking for something like this for ages.

Zintenka May 3, 2015 at 12:05 AM UTC

How do i get it to convert?

MangoSmoothie_ May 3, 2015 at 8:05 AM UTC

This is a great project! Thank you for doing it!

resepignev May 3, 2015 at 9:05 AM UTC

Yes indeed. Your HTML worked :D
Oh and nice project!

Another use for this converter is that avicus mapmakers can post their maps on overcast without learning how to XML xD

RightSide May 3, 2015 at 10:05 AM UTC

It didn't work for me :/

Hacktivism May 3, 2015 at 10:05 AM UTC

It didn't work for me :/
Could you elaborate?

RightSide May 3, 2015 at 10:05 AM UTC

Could you elaborate?
I pasted the YML into the left hand side and nothing like came out :)

Hacktivism May 3, 2015 at 10:05 AM UTC

I pasted the YML into the left hand side and nothing like came out :)
What YML did you use?

RightSide May 3, 2015 at 10:05 AM UTC

What YML did you use?
Oh its working now :)

RightSide May 3, 2015 at 10:05 AM UTC

Doesn't work for https://github.com/jozzmcozz/xmlyml/blob/master/YML/forsaken.yaml

Hacktivism May 3, 2015 at 10:05 AM UTC

The YML wasn't written correctly. As you can see, lines 78 through 86 are indented too far out.

RightSide May 3, 2015 at 11:05 AM UTC

The YML wasn't written correctly. As you can see, lines 78 through 86 are indented too far out.
Can you fix it please?

ViceTechnicolour May 3, 2015 at 12:05 PM UTC

Holy. Crap.

I love you so much for this.

Javipepe May 3, 2015 at 5:05 PM UTC

Could you please provide an yml which works? I can't find any of them working.

ViceTechnicolour May 3, 2015 at 5:05 PM UTC

Could you please provide an yml which works? I can't find any of them working.
Here, try a simple one: http://maps.avicus.net/Nebula/DTM/Consilium/map.yml

Zintenka May 3, 2015 at 6:05 PM UTC

I can confirm that this works. Tried it with one of my YAMLs and it worked.

But the thing is that it has to be DTM YAML in order to work. Plus converting YAML regions to XML regions is hard as XML regions are more defined and so complex.

YAML: Flags, triggers

XML: Filters, <> </> etc.

Hacktivism May 3, 2015 at 6:05 PM UTC

Can you fix it please?
Here you go! http://pastebin.com/tgDAEZby

Thrasillias August 31, 2015 at 10:08 AM UTC

is Not working for meh

AtditC August 31, 2015 at 10:08 AM UTC

Yes you removed the website files... Please bring them back JK ;(

DaFrozenBlaze August 31, 2015 at 11:08 AM UTC

Yes you removed the website files... Please bring them back JK ;(
Spam his skype

HotAndCrunch August 31, 2015 at 11:08 AM UTC

If this doesn't work for you then tell me and I might bring back my thread

BmB August 31, 2015 at 11:08 AM UTC

If this can be perfected we can add Avicus maps to private scrim servers and then we won't need to 1, face Avicus lag and 2, be able to scrim at anytime without booking, this could really help Avicus' competitive scene.

DaFrozenBlaze August 31, 2015 at 1:08 PM UTC

If this can be perfected we can add Avicus maps to private scrim servers and then we won't need to 1, face Avicus lag and 2, be able to scrim at anytime without booking, this could really help Avicus' competitive scene.
But tourneys are probably going to be held on Avicus anyway

HotAndCrunch August 31, 2015 at 1:08 PM UTC

If this can be perfected we can add Avicus maps to private scrim servers and then we won't need to 1, face Avicus lag and 2, be able to scrim at anytime without booking, this could really help Avicus' competitive scene.
https://avicus.net/forums/66cc0d13b

AtditC August 31, 2015 at 2:08 PM UTC

If this can be perfected we can add Avicus maps to private scrim servers and then we won't need to 1, face Avicus lag and 2, be able to scrim at anytime without booking, this could really help Avicus' competitive scene.
xD If it's not perfected, a map dev still can easily convert xml to yml..
JK left Avicus so we don't know if he will put the online program back or if he deleted it

DaFrozenBlaze August 31, 2015 at 2:08 PM UTC

xD If it's not perfected, a map dev still can easily convert xml to yml..
JK left Avicus so we don't know if he will put the online program back or if he deleted it
He occasionally comes back, get him at the right time.