Friday, 9 October 2009

AGS to XAGE: Awakener

Ben Chandler was kind enough to send me a copy of the source code for his latest game, the excellent and rather sweet Awakener. Here's a short clip of it running on the Xbox360 under XAGE:



Discussion thread in the AGS Technical Forum. To anyone interested in converting their AGS games to the Xbox360 or to their internet browser - please lend your support to the feature request. It would make a monumental difference, and potentially save you hours and hours (and hours) of tedious legwork with your own future game conversions. Thanks!

EDIT: Denzil Quixode on the AGS forums has very quickly knocked up an AGS Editor Plugin that does exactly what I need. Cheers, Denzil!

EDIT2: I've expanded on the code and now built my first AGS Editor Plugin - Export to XAGE. It is largely useless to anyone else at the moment as XAGE Editor v0.5 has not yet been released, but it succeeds in simplifying, speeding up and improving the scope of the conversion process.

11 comments:

Dualnames said...

I'm screaming please here!! Definitely interested!

Eckyman said...

Very cool!

Cant wait to see how this progresses.. keep up the great work!

Crowbard said...

Impressive! I do not own an XBOX, but I am sure with the current framework mingling and everything, this could well help port AGS games to a browser, and from there to the world!

Matteo Schiavi said...

Hi, I'm really interested in your work here, especially this AGS-to-XAGE plugin. I followed the topic on AGS forum but, unfortunately, the v0.4 download link seems to be broken, could you please provide a working download link?

Clarvalon said...

Sure, the latest version is here: https://dl.dropbox.com/u/45815106/AGS.Plugin.ExportToXAGE.zip

Just deploy the .dll to the same directory as the AGS executable, and the new Export menu option should appear the next time you start AGS.

Matteo Schiavi said...

Thank you very much! ;-)

Matteo Schiavi said...

Hi again, I'm working a bit with your great plugin, but recently I noticed that there are some problems: exported WalkingAreas and Hotspots are always correct for a resolution of 320x200, but when I use something bigger like e.g. 640x480 the coordinates and the exported images aren't correct.

My question is: could you fix this feature or give me the source code of your plugin so I can fix it myself?

Clarvalon said...

I have a feeling this may be by design, perhaps something to do with how AGS applies scaling to certain bitmaps on higher resolution. Or, like you say, it may just be a bug with the Exporter code.

Here's the source - please regard it as public domain: https://dl.dropbox.com/u/45815106/AGSExportPluginSource.zip

Be warned - the Exporter Plugin was knocked up rather quickly and hasn't been touched much since, so the code is a bit messy!

Matteo Schiavi said...

Thank you, your help has been much appreciated! :-)
I'll look into your sources, if I am able to solve the problems I'll contact you on this blog.

Matteo Schiavi said...

I was looking into your code and it seems that something is missing: is there any "Global" directory that you haven't included in the source package?

Matteo Schiavi said...

Nevermind, I was able to compile. Now I'm trying to "fix" this resolution problem, I hope I'll succeed. ;-)