A pretty important part of Abiathar Live Studio is the ability to actually publish the level to Keen Modding Live without the friction of going to the web site and picking the files. Today I implemented the Publish feature, which prompts for the level title, the zone, and the description, then uploads all the necessary files. On subsequent publications of the same level, it doesn't prompt for anything and instead uploads a new version. I think this is pretty slick.
It was a little tricky to implement the POST upload because .NET 4.0 doesn't seem to have a way to do multipart/form-data requests without crafting the entire body manually, which I really didn't want to deal with. .NET 4.5 makes this pretty easy, but Abiathar targets .NET 4.0 so that it can run on Windows XP. I discovered today, though, that loading a higher-targeted DLL at runtime actually works fine if the system has the more updated Framework. Abiathar Live Studio is now targeting .NET 4.5, but can still be loaded by Abiathar on Windows Vista and newer.
No comments:
Post a Comment