Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline saviilsy  
#1 Posted : Friday, November 11, 2011 8:00:05 AM(UTC)
saviilsy

Joined: 8/24/2011(UTC)
Posts: 95

Thanks: 6 times
Was thanked: 2 time(s) in 2 post(s)
If I'm correct DE works kinda like XNA where there are content "compilers" and such doing all the necessary stuff to process data for target platform.

Is there some tutorial/documentation/example how to do a custom content processor? I would like to do make a processor that converts TEF in text format to binary on compilation.

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Benjamin  
#2 Posted : Friday, November 11, 2011 9:11:27 AM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Originally Posted by: Santtu Syrjä Go to Quoted Post
If I'm correct DE works kinda like XNA where there are content "compilers" and such doing all the necessary stuff to process data for target platform.

Is there some tutorial/documentation/example how to do a custom content processor? I would like to do make a processor that converts TEF in text format to binary on compilation.


Sorry, we don't have much documentation public yet and it is not possible to change the content processor logic for each user yet either. But if you want to beta test it, you can get in touch with me and we can give you instructions how to do that. Basically you just need to derive from an interface called IContentProcessor, which has one method: Process. Next you can define a dynamic script for each incoming content file and platform, which is run for every conversion.

Other than the basic idea to have content processors there is nothing like in XNA. In the past we tried out local content processing and putting it all into Visual Studio, but that did not really work out well. So in SoulCraft we used custom tools to do this only once on one machine and in v0.9.0 we have improved that by doing everything in the cloud (but disabled most content formats since we are not done yet).

To get you started you could just write a simple test or console app that reads your TEF file and outputs a binary file (should be easy enough ^^).
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.042 seconds.