MonoGame.Extended icon indicating copy to clipboard operation
MonoGame.Extended copied to clipboard

monogame update

Open ghost opened this issue 3 years ago • 9 comments

Hello

Monogame 3.8.1 is released recently. Would it be possible to update monogame extended so it works with 3.8.1?

Thank you

ghost avatar Jul 27 '22 23:07 ghost

What doesn't work for you? I tried on some of my projects with no issues so far.

Apostolique avatar Jul 28 '22 01:07 Apostolique

Hello @rocketpowergirl

Would it be possible to update monogame extended so it works with 3.8.1?

Thanks for pointing this out, I will do it this weekend when I have the time to do it justice.

lithiumtoast avatar Jul 28 '22 09:07 lithiumtoast

What doesn't work for you? I tried on some of my projects with no issues so far.

Because MonoGame 3.8.1 is using .NET 6.0 exclusively, I thought it would be good to update monogame extended because this is not using .NET 6.0 yet. Who knows what hidden problems otherwise could occur. But as you said, it seems to keep working.

ghost avatar Jul 28 '22 15:07 ghost

I recently updated my project to .NET 6.0, monogame 3.8.1, and the TiledMapProcessor doesn't work any more. Processor 'TiledMapProcessor' had unexpected failure!

Cloning this repo and updating the MonoGame.Extended.Content.Pipeline project to .NET 6.0 did the trick.

NikolasDN avatar Jul 31 '22 10:07 NikolasDN

Is this change part of the current stable release? I'm currently having issues with TiledMapProcessor expecting an older release of Monogame.

CodeRabbit957 avatar Aug 23 '22 21:08 CodeRabbit957

@CodeRabbit957 you can try the packages https://www.myget.org/feed/lithiumtoast/package/nuget/MonoGame.Extended using the NuGet source feed https://www.myget.org/F/lithiumtoast/api/v3/index.json

lithiumtoast avatar Aug 23 '22 22:08 lithiumtoast

Tried it, but it doesn't appear to be resolving the error. Maybe the issue I'm having is with the Tiled package rather than Extended? Or maybe Graphics.Effects?

This is the stack trace: at Microsoft.Xna.Framework.Graphics.Effect.ReadHeader(Byte[] effectCode, Int32 index) at Microsoft.Xna.Framework.Graphics.Effect..ctor(GraphicsDevice graphicsDevice, Byte[] effectCode, Int32 index, Int32 count) at MonoGame.Extended.Graphics.Effects.DefaultEffect..ctor(GraphicsDevice graphicsDevice) at MonoGame.Extended.Tiled.Renderers.TiledMapRenderer..ctor(GraphicsDevice graphicsDevice, TiledMap map) at GameNewTest2.Game1.Initialize() in C:\.........

CodeRabbit957 avatar Aug 23 '22 23:08 CodeRabbit957

Hey @ancientpharaoh

I have plans to rehaul MonoGame.Extended and keep it somewhat on track with the FNA work which is Katabasis.

To do so I need to upgrade the C2CS project which generates bindings for the all the C library dependencies of FNA automatically and other C dependencies I wish to bring in like Flecs. Having a solid foundation with C libraries with automation of generating bindings is critical for future paths of MonoGame/FNA/Katabasis and, in my opinion, is more worthy of my time than updating the NuGet package.

Your options:

  1. Fork/clone the MonoGame.Extended repository and build it from source; everything is reported to be working.
  2. Sponsor me by paying me money to fix the NuGet package and have it working correctly when it is uploaded to MyGet.org.
  3. Contribute with a fork which demonstrates how to fix the problem with a free NuGet feed like myget.org. I will gladly update the NuGet.org feed when I know everything works correctly first on a feed which can be deleted for development purposes. Once a package is pushed to MyGet.org it can't be deleted. It can be delisted but it still pollutes their servers with data.
  4. Wait until I'm ready to dump my time into this project when I'm already dumping my time outside of my 40 hours of week and my regular life into multiple projects.

Have a good day!

lithiumtoast avatar Nov 03 '22 02:11 lithiumtoast

Those are all amazing projects that you pointed out .. re: C2Cs does Silk .net have anything you can use? I monitor it along wi 20 other vaults and 100s of research papers, but it's slowing down a bit lately. They commit tons of generated code, it's not part of the build process to generate code, but seems like the way to bind these c and c++apis.

I think it's ok you have unmerged PRs.. combining those, peoplecan solve their own forks, as I could for wpf host.

Theres just too many options, trying to future proof it's overwhelming. but I think I have good enough tools and graphics tech now, w net7 mg 3.8.1 even if some parts are archived or legacy or fading.away, or could be 100x.faster , if I don't ship some. art physics game soon or I won't have a future lol

damian-666 avatar Nov 03 '22 02:11 damian-666