Questions tagged [content-pipeline]

The XNA Content Pipeline. Usually invoked as part of an "XNA Content Project" (*.contentproj) in Visual Studio (or MSBuild). Imports assets, processes them, and outputs binary files (*.xnb) to be loaded by XNA's `ContentManager` class.

The XNA Content Pipeline is invoked as part of an XNA Content Project (.contentproj) in Visual Studio (or MSBuild). Imports assets, processes them, and outputs binary files (.xnb) to be loaded by XNA's ContentManager class.

The Content Pipeline is designed to be extended by the developer to incorporate new file formats into the pipeline, but most developers do not need to do this because the Content Pipeline supports the most common formats.

39 questions
6
votes
1 answer

Loading Textures from a reference to built content in an XML file

Goal I'm trying to load a custom class that contains a Texture2D from an xml file using the default importer (XML Content), with no processor. Approach Lots of research online and a lot of dealing with other errors lead me to this XML:
George Duckett
  • 31,770
  • 9
  • 95
  • 162
6
votes
4 answers

Getting Monogame content pipeline to work with Visual studio 2013 in windows 8

I've got monogame working in VS 2013 but I can't get the content pipeline to work. When I try to import an existing Content pipeline Project I get the following error. And I can't create a new project since the templates arent installed in…
JensB
  • 6,663
  • 2
  • 55
  • 94
5
votes
1 answer

Custom content pipelines in XNA, how to set diffuse textures manually?

XNA is the bee's knees but I still can't wrap my head completely around custom content pipelines. Some basic samples like MSDN's normal map sample shows you how to assign normal map keys from opaque data from an .fbx file to the appropriate normal…
Chris C
  • 2,003
  • 15
  • 18
5
votes
2 answers

Error: Cannot find 'freetype6.dll'

Recently I had some troubles with the MonoGame Content Pipeline tool, not loading textures. The error message said 'freeimage.dll' could not be found. I checked the MonoGame forums for a solution and ended up downloading the 64-bit version of Visual…
GHC
  • 339
  • 4
  • 13
5
votes
2 answers

Linking Content Project (XNA) to a non XNA project

Can I reference a Content Project to a Non-XNA project (MonoGame, if it's important)?
Gilad Naaman
  • 6,390
  • 15
  • 52
  • 82
4
votes
1 answer

Xna Content Pipeline Extension - Loading other content within custom processor

I'm currently experimenting with Xna Content Pipeline extensions. Within that experimentation, I'm trying to load a file that contains another 'content item' that is in need of loading. For example: public class CustomItem { public string Name; …
Samuel Slade
  • 8,405
  • 6
  • 33
  • 55
3
votes
1 answer

Serialize Texture2D programmatically in XNA

I am building a game editor for an XNA game that I'm building that would accept JPEG/PNG, and output a XNB file that has Texture2D content in it. I have my custom serializers for my custom etc and I'm dug everything down into invoking…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
3
votes
2 answers

Using XNA Content Pipeline in a C# Form

I'm trying to create a game editor using a C# form, and I've run into a problem when it comes to deserializing; I can't use the content pipeline in a forms application as I don't even have the option to add any content reference to the project. How…
Jamie
  • 1,607
  • 3
  • 17
  • 25
3
votes
1 answer

Realtime Resource Updating in XNA

I'm looking for a way to update textures and other content files at runtime in XNA, such that if it's modified outside of the application, it will automatically update in the game when it regains focus. This seems to be possible with Texture2D and…
Kleptine
  • 5,089
  • 16
  • 58
  • 81
2
votes
1 answer

Setting CultureInfo before compilation and always resetting after

I am trying to execute a task which changes the locale/culture used at compile time for a XNA content pipeline project, and restores the original after the compilation ended. The intention is to allow proper parsing of floats in non-English…
Elideb
  • 11,660
  • 1
  • 16
  • 16
2
votes
1 answer

Custom ContentPipeline with Browse facility

I'm writing a Custom ContentPipeline and I've added some Normal and Specular Map properties. Everything compiles fine and works as expected. What I'd like to do now is have the Normal and Specular properties be "browsable" when the user clicks in…
Neil Knight
  • 47,437
  • 25
  • 129
  • 188
2
votes
1 answer

Monogame Content Pipeline has stopped working

The other day I started up my monogame project and started it up to do a quick play test. It wouldn't work. I was getting 2 errors. Error 1 The command "SETX MONOGAME_PLATFORM "PSM" > NUL" exited with code 9009. GameName1 Error 2 Metadata file…
2
votes
2 answers

XNA Content Pipeline Load .wav Files At Runtime

I'm trying to load a song at runtime using XNA Game Studio. However, it isn't in a .xnb format unless it was in the Content Project folder when the program was first compiled. As I want to retrieve the file from anywhere on the computer and load it…
2
votes
1 answer

Which types are supported by XNA's Automatic XNB Serialization?

I've read Shawn Harvgreave's blog entry about automatic serialization and the MSDN article on an overview of the content pipeline, but I couldn't find a list of the types supported. Quoting MSDN: Starting with XNA Game Studio 3.1, the serialization…
Justin Skiles
  • 9,373
  • 6
  • 50
  • 61
1
vote
1 answer

Writing via content pipeline in Xbox game project

I'm creating an Xbox application and I have this problem with the content pipeline. Loading .xnb files is not a problem but I can't seem to find any helpful tutorials on writing via the content pipeline. I want to write an XML whenever the user…
DenEddy
  • 23
  • 1
  • 3
1
2 3