Crafter1024
Trainer
Basically, I want to make a content pack, but I don't know how to do that with .xnb files. I renamed one to .png, planning to turn it back, and paint.net wouldn't load it. here's the error I got.
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
at PaintDotNet.Data.PngFileType.OnLoad(Stream input) in d:\src\pdn\paintdotnet\src\PaintDotNet\Data\PngFileType.cs:line 118
at PaintDotNet.FileType.Load(Stream input) in d:\src\pdn\paintdotnet\src\Data\FileType.cs:line 477
at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 158
Can someone either show me a default content pack or give me a tutorial on how to edit the sprites in a .xnb file that's not too complicated?
Thanks.

System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
at PaintDotNet.Data.PngFileType.OnLoad(Stream input) in d:\src\pdn\paintdotnet\src\PaintDotNet\Data\PngFileType.cs:line 118
at PaintDotNet.FileType.Load(Stream input) in d:\src\pdn\paintdotnet\src\Data\FileType.cs:line 477
at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 158
Can someone either show me a default content pack or give me a tutorial on how to edit the sprites in a .xnb file that's not too complicated?
Thanks.
