Author Topic: EDITOR PLUGIN: AGSExportPlugin  (Read 7016 times)

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
EDITOR PLUGIN: AGSExportPlugin
« on: 10 Oct 2009, 22:48 »
[Edit: 18th Jan 2018] The AGS Export Plugin has now been open sourced:

What better way to spend a Saturday night than writing my very first AGS Editor plugin?  This plugin is based upon the RoomXML exporter code by Denzil Quixode.

NOTE:  The second stage of the conversion requires XAGE Editor v0.5, which has not yet been released to the public (so it's pretty useless to most people at the moment).

Usage:  This plugin prepares AGS game files in a way that is suitable for conversion to the Xna Adventure Game Engine (XAGE), in order to play them on the Xbox360 or via a web browser.  It is designed to be as straightforward as possible, so the instructions should hopefully be self-explanatory.  After copying AGS.Plugin.ExportToXAGE.dll to the AGS Editor executable directory, a new option should appear on the toolbar, 'Export -> Prepare game for XAGE':





If selected, the plugin will then launch XAGE Editor and automatically begin the second stage of the conversion process. 



Download:  ExportToXage v0.4.zip

Changelog:
  v0.5 - Released Source Code (22nd Dec 2012).
  v0.4 - FIXED - Rooms with no description & View subfolder warning.
  v0.3 - FIXED - Uses relative rather than absolute paths.
  v0.2 - ADDED - Extracts Hotspots, Regions, WalkAreas, WalkBehinds as PNG.
  v0.1 - Initial version.  Automates extraction of Room XML, sprites and room background images.
« Last Edit: 18 Jan 2018, 21:13 by Clarvalon »
XAGE - Cross-Platform Adventure Game Engine (alpha)

arj0n

  • Mittens Vassal
  • Posts: 2,850
  • art consists in drawing a line somewhere
    • arj0n worked on a game that was nominated for an AGS Award!
Re: EDITOR PLUGIN: "Export to XAGE" v0.1
« Reply #1 on: 11 Oct 2009, 14:58 »
Amazing & awesome job your doing with this AGS -> XAGE project clarvalon! :D
Hope you get supported with enough useful sources from ags gamemakers
so you can work it all out to a 100% finished and stable version ;)
I'll keep an eye on this project for sure.
Good luck!

Denzil Quixode

  • Posts: 182
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: "Export to XAGE" v0.1
« Reply #2 on: 12 Oct 2009, 12:27 »
Cool! I'm glad to see you're getting use out of that code already :)

One thing though, do I need a box.net account or something to download it? The URL doesn't seem to give me any obvious option to download the file, I just see a generic landing page

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: "Export to XAGE" v0.1
« Reply #3 on: 12 Oct 2009, 15:49 »
Whoops, I cocked up the URL.  Fixed now.
XAGE - Cross-Platform Adventure Game Engine (alpha)

Dualnames

  • Local Moderator
  • Posts: 7,166
  • Pretty Badass
    • Dualnames worked on a game that was nominated for an AGS Award!
      Dualnames worked on a game that won an AGS Award!
Re: EDITOR PLUGIN: "Export to XAGE" v0.1
« Reply #4 on: 13 Oct 2009, 15:40 »
I'm waiting for you to post a linky on XAGE Version 0.5! Why the tease?!!! :D
No more military army stuff. I'm alive and back.

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: "Export to XAGE" v0.1
« Reply #5 on: 13 Oct 2009, 18:00 »
But waiting is fun!  Sometimes I like to just sit and stare at my enormous ToDo list and happily twiddle my thumbs.
XAGE - Cross-Platform Adventure Game Engine (alpha)

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: "Export to XAGE" v0.2
« Reply #6 on: 13 Oct 2009, 23:59 »
Cracked it - All masks are now being extracted as PNG images.  AGS Hotspots are now successfully being extracted and converted into XAGE objects.  WalkBehinds should be fairly straightforward.  Regions and WalkableAreas are going to prove much trickier.  Plugin updated to v0.2.
XAGE - Cross-Platform Adventure Game Engine (alpha)

Dualnames

  • Local Moderator
  • Posts: 7,166
  • Pretty Badass
    • Dualnames worked on a game that was nominated for an AGS Award!
      Dualnames worked on a game that won an AGS Award!
Re: EDITOR PLUGIN: "Export to XAGE" v0.2
« Reply #7 on: 14 Oct 2009, 07:08 »
Cracked it - All masks are now being extracted as PNG images.  AGS Hotspots are now successfully being extracted and converted into XAGE objects.  WalkBehinds should be fairly straightforward.  Regions and WalkableAreas are going to prove much trickier.  Plugin updated to v0.2.

Great, still can't see it, but greatness so far.. :D
No more military army stuff. I'm alive and back.

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: "Export to XAGE" v0.3
« Reply #8 on: 12 Jan 2010, 13:57 »
Plugin updated to v0.3 (paths now stored as relative rather than absolute to make it easier to move or share conversion projects).
XAGE - Cross-Platform Adventure Game Engine (alpha)

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #9 on: 18 Jan 2010, 23:26 »
Plugin updated to v0.4 (rooms without a description were not being correctly converted, also added a warning to ensure all views are in the base folder rather than organised into subfolders, as the game.agf deserializer cannot cope with recursive types in the xml).
XAGE - Cross-Platform Adventure Game Engine (alpha)

Dualnames

  • Local Moderator
  • Posts: 7,166
  • Pretty Badass
    • Dualnames worked on a game that was nominated for an AGS Award!
      Dualnames worked on a game that won an AGS Award!
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #10 on: 19 Jan 2010, 19:50 »
Cool! Two updates so fast! Still need the ... thing missing (:P)..
No more military army stuff. I'm alive and back.

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #11 on: 19 Jan 2010, 20:00 »
Chances are the XAGE v0.5 alpha will be released once I'm done with Awakener, but I may sit on it a few weeks longer to work on the GUI stuff, to help more games convert to a playable state.  Not too long now  :)
XAGE - Cross-Platform Adventure Game Engine (alpha)

Dualnames

  • Local Moderator
  • Posts: 7,166
  • Pretty Badass
    • Dualnames worked on a game that was nominated for an AGS Award!
      Dualnames worked on a game that won an AGS Award!
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #12 on: 19 Jan 2010, 20:15 »
Chances are the XAGE v0.5 alpha will be released once I'm done with Awakener, but I may sit on it a few weeks longer to work on the GUI stuff, to help more games convert to a playable state.  Not too long now  :)

No worries, I don't think I'll be able to convert HHGTG anyway.. :D
No more military army stuff. I'm alive and back.

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #13 on: 22 Dec 2012, 14:01 »
I was asked for the source code so here it is in case anyone else can make use of it:  Clicky

Warning - hastily written, badly maintained code alert!
XAGE - Cross-Platform Adventure Game Engine (alpha)

Freidenker01

  • Posts: 15
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #14 on: 16 May 2013, 08:00 »
Hey there XAGE sounds very cool!!!!

I'm highly interested and wanted to give it a try...but...I couldn't find a working download of v0.4 (the download link on your blogspot page seems to be dead) Would be cool if you (or somebody else, who's reading this post) could give us a working download ;-)

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: Export to XAGE v0.4
« Reply #15 on: 16 May 2013, 20:05 »
XAGE has been offline for a long while now as I've been re-working some of the core parts, and the supporting tools need work to bring them in line with the new approach (heavy Visual Studio integration).  The compiled exporter plugin is available here:  AGS.Plugin.ExportToXAGE.dll
XAGE - Cross-Platform Adventure Game Engine (alpha)

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: AGSExportPlugin
« Reply #16 on: 18 Jan 2018, 21:13 »
This plugin has now been open sourced - see edit to original post.
XAGE - Cross-Platform Adventure Game Engine (alpha)

bx83

  • Posts: 258
  • Get 'Er Doooooone
Re: EDITOR PLUGIN: AGSExportPlugin
« Reply #17 on: 09 Apr 2018, 12:17 »
Hi, is v0.2 (export backgrounds to png format) still around? All I can find is v0.6, which exports to .alpha
Btw which compiler do you use for the plugin? Visual C? I’m not versed in anything but AGS but I’ll recompile if I absolutely have to :p

Clarvalon

  • Posts: 149
    • Best Innovation Award Winner 2010, for their efforts to help AGS games cross over platforms
Re: EDITOR PLUGIN: AGSExportPlugin
« Reply #18 on: 09 Apr 2018, 15:20 »
Not sure of the specific version but here's one I found on my dropbox dated 2013 - Link.

I've also compiled it from source, the very last version before the output format was changed to .apha (pre github repo) - Link.

If the output from either isn't suitable then next step would be to fork the repo on github and change to whatever format you need.  This is an AGS Editor plugin so uses C#.
XAGE - Cross-Platform Adventure Game Engine (alpha)

bx83

  • Posts: 258
  • Get 'Er Doooooone
Re: EDITOR PLUGIN: AGSExportPlugin
« Reply #19 on: 09 Apr 2018, 20:13 »
Thank you :D