Jump to content


Photo

The .gmx format


  • Please log in to reply
12 replies to this topic

#1 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 16 October 2011 - 02:22 PM

Well, it was bound to be done at some point, so I decided to be the person to do it. As the gmx format contains a series of XML files, it was easier than normal to figure out what each tag did and how it all fitted together. Because of the way it works, it would be very possible to create a complete GUI/Engine for making games and just using GM:HTML5 to compile it to the web, which could be very interesting indeed...

I've split the documentation into a series of files. One notes the actual gmx format and how everything is laid out inside the folder. The others cover the separate files for different resources (like sprites, objects, rooms, etc.).
There are just a few problems. Firstly, I didn't know how to format it, so I need ideas for that. Secondly, there were a few tags that I couldn't understand, but hopefully others will be able to figure them out.

Hopefully, with this work, we'll see lots of projects that allow use to externally edit the gmx files, which is a very powerful possibility.

So, at the moment, it's very messy and unclear in parts, but as soon as I have ideas about how to format it, it should be a lot easier to read.
And, without further ado, here are the files:
GMX Format (ZIP)

Please give me feedback!
  • 5
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#2 Gamer_Dude64

Gamer_Dude64

    GM Html5 Programmer

  • GMC Member
  • 169 posts
  • Version:GM:Studio

Posted 16 October 2011 - 04:48 PM

this is great, i quite like the format you wrote the documentation in actually, what are the tags you are unsure about?

Edited by Gamer_Dude64, 17 October 2011 - 10:17 PM.

  • 0

User of- [GameMaker 7 lite/GameMaker 8 Pro/GameMaker 8.1 Standard/GameMaker Studio Professional]

Check out GM:Studio .gmx documentation here written by Dark Matter.

 


#3 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 16 October 2011 - 05:18 PM

this is great, i quite like the format actually, what are the tags you are unsure about?

Mainly the <id> tags. I think there are a couple of others too. Basically, any tag that's in the format of:
<tag>?</tag> - ??? (or perhaps just one ?...)
I don't know its effect or use.
  • 2
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#4 Gamer_Dude64

Gamer_Dude64

    GM Html5 Programmer

  • GMC Member
  • 169 posts
  • Version:GM:Studio

Posted 16 October 2011 - 05:49 PM

I will post my findings in this post the rest of the time.

in objects, there is a tag "kind"- it is the kind for each action within the events.

"Next you must specify the Kind of the action. There are the following possibilities:

0-Normal A normal action (see below)
1-Begin Group The beginning of a group
2-End Group The end of a group
3-Else The else action
4-Exit The exit action
5-Repeat The repeat action
6-Variable The action to set a variable
7-Code The action to execute a piece of code
8- Placeholder A placeholder (will be replaced by nothing to create empty spots)
9- Separator Will not show in Game Maker; can be used for separating groups of actions
10- Label Prints the name of the action as a label"

this is quoted from the library maker documentation so some may not be used(i dont know)... from what ive checked it looks like it matches up

-----------------------------

in the event tag, when it is a collision event enum is not there and ename replaces it, ename is the name of the object for the collision event.


Edited by Gamer_Dude64, 16 October 2011 - 07:06 PM.

  • 0

User of- [GameMaker 7 lite/GameMaker 8 Pro/GameMaker 8.1 Standard/GameMaker Studio Professional]

Check out GM:Studio .gmx documentation here written by Dark Matter.

 


#5 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 16 October 2011 - 06:45 PM

Ah, thank you. That's very helpful. I'll update the files.
  • 2
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#6 OMGCarlos

OMGCarlos

    GMC Member

  • GMC Member
  • 329 posts
  • Version:GM:HTML5

Posted 16 October 2011 - 07:51 PM

Awesome work, this will come especially handy later on.
  • 0

#7 slam drago

slam drago

    The slam drag

  • New Member
  • 422 posts
  • Version:GM:Studio

Posted 24 October 2011 - 03:43 PM

Thank you Dark Matter.
  • 0
My newest website. Check it out!
I support Cryset Games. Make money playing and making games!
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
My avatar is best viewed in the lighter GMC theme.

#8 trianglegames

trianglegames

    GMC Member

  • GMC Member
  • 36 posts
  • Version:Mac

Posted 21 July 2012 - 05:03 PM

This is great work!
  • 0

#9 BlaXun

BlaXun

    Slime Online Creator

  • GMC Member
  • 2750 posts
  • Version:GM:Studio

Posted 21 May 2013 - 03:11 PM

Yikes. Interesting.

This seems quite old though.

 

Anybody got a up-to-date documentation on this format?


  • 1

iBNKRoX.png


#10 Jsleazy

Jsleazy

    GMC Member

  • GMC Member
  • 52 posts
  • Version:Unknown

Posted 12 January 2015 - 12:32 AM

Bump for updated documentation.  :)


  • 0

#11 Mobi.LeBean

Mobi.LeBean

    GMC Member

  • GMC Member
  • 68 posts
  • Version:GM:Studio

Posted 13 January 2015 - 07:23 PM

Bump for updated documentation.   :)


Where?
  • 0

#12 Jsleazy

Jsleazy

    GMC Member

  • GMC Member
  • 52 posts
  • Version:Unknown

Posted 17 January 2015 - 07:34 PM

Where?  As in what part of the .gmx file format?  In particular, I need info on <datafiles>.  But I seemed to have figured some of it out myself. 


  • 0

#13 Mobi.LeBean

Mobi.LeBean

    GMC Member

  • GMC Member
  • 68 posts
  • Version:GM:Studio

Posted 28 January 2015 - 10:11 PM

Where?  As in what part of the .gmx file format?  In particular, I need info on <datafiles>.  But I seemed to have figured some of it out myself. 

 

Oh, no I mean, I thought you meant that the documentation had been updated and that is why you were bumping the topic.  But I couldn't see anything in here as having been updated.


  • 0