Mar 12
2
After a whole year I finally decided to remove half implemented features and to upload a "final Release". The setup which caused problems on some machines has been replaced by a ClickOnce-Setup. A few further changes are:
As for now, this is the last Version of the Content Compiler as it seems that there is not that much need anymore. If there is more demand in the future, I might continue working on it. You can find the newest Version on the Downloads page.
Jan 12
1
We wish you out there a happy new Year! Although it got pretty quiet here this year,I hope that somebody is still reading this. We are looking back on an unordinary year. On one side Microsofts way into the mobile market with WP7 and the glorious Nokia Lumia event featuring deadmau5 and on the other hand the surprise of Windows 8 and it’s Metro-Apps pushing the .NET-Framework and XNA in the back, and of course, the sudden death of Apple founde Steve Jobs whose products have shown a weak spot in the IT-World until now. The User Interface or User Interaction. We also decided to put an eye on that.
What I was wondering about after the Content Compiler 3 Beta Release was the very thin Feedback. Sure, I got some Feedback from the guys over at the german XNA forum XNA.mag, which I honestly appreciate but I was hoping for more. It leaves the impression on me that such a Content Compiler is not really needed. So the motivation dropped almost to level zero. But recently some people asked for it and then proposed to put it up as Codeplex project. I will take care of that this year, I promise
A happy new year,
Florian
There are three famous Apples in human history:
One had tempted Eve,
Another one had inspired Newton,
and the one that Steve Jobs had created.
These all represent the path of human (r)evolution – Temptation, Inspiration, Creation.
In the last article you were told where you find and how you add the Content Compiler Libraries to your Project. In this article you will learn how to use the Content Compiler, shown by a little demo app. (The following Code is based on an empty Consoleapp Template in Visual STudio 2010)
using System;
using System.Diagnostics;
using System.Windows.Forms;
using EES.ContentCompiler.Core.Providers;
using EES.ContentCompiler.Xna;
namespace ConsoleApplication1
{
class Program
{
[STAThread]
static void Main(string[] args)
{
//Create a new OpenFileDialog, set its initial Selection to My Computer and enable multi selection
var openFile = new OpenFileDialog
{
Multiselect = true,
InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer)
};
//Display the Dialog to the User and in case of a chosen file compile it.
if (openFile.ShowDialog() == DialogResult.OK)
{
//Create a new instance of the XnaContentCompiler from namespace EES.ContentCompiler.Xna
//and set its Output to a location (for example a temporary location)
var xnaCompiler = new XnaContentCompiler(Application.UserAppDataPath)
{
//Set the platform we want to compiler for
Platform = XnaPlatform.Windows,
//Xna Version you want to use
XnaVersion = XnaVersion.FourZero,
//If you want to use XNA 4 you also have to set the XnaProfile. Default is Reach.
XnaProfile = XnaProfile.Reach
};
//Add the files to the Compiler
foreach (var fileName in openFile.FileNames)
{
//Some Sample Compiler Options for a Texture. Options are the same like in VS but without spaces.
var compilerOptions = new SerializableDictionary<string, object>
{
{"GenerateMipmaps", false},
{"ResizeToPowerOfTwo", true},
{"TextureFormat", "DxtCompressed"}
};
//Create a new FileObject and add it to the compiler
var file = new File(fileName, compilerOptions);
xnaCompiler.Files.Add(file);
}
//Now its time for some Compiler Magic!
//Compile and Write Errors to output
Console.WriteLine(xnaCompiler.Build("test.ccuild"));
Console.WriteLine("Done. Waiting for Input...");
//Wait for Keyboard Input to close App and open Explorer.
Console.ReadKey();
Process.Start(Application.UserAppDataPath);
}
}
}
}
So, now you’ve downloaded the Content Compiler Developer Tools, double-clicked it and a window appeared for some time and then vanished again. Now you might think: What? That was it?! No, of course not! If you start Visual Studio next time, you’ll see that inside the "Add Reference"-Window four new Entries appeared. You see, there did something happen! Now you can add a reference to the compiler libraries quickly to your project. But you have to care about the Runtime versions of the Libraries! Runtime version 2.0 for XNA 3 and Runtime version 4.0 for XNA 4!
In the next Article you’ll learn how to use the Content Compiler Developer Tools.
Apr 11
18
After the fact that our last Site was more like a interim solution, we decided to look for a new design and a whole new system. Joomla isn’t the best for this, so we use a new CMS now that is also for us easier to administrate. Now you can find our products in the top bar above the featured content. Oh, and, uhm, the Featured Content on the old site wasn’t dynamic. The new one is
So you stay informed about our newest Project!