These are chat archives for ZaneDubya/UltimaXNA

9th
Nov 2016
Toni Spets
@hifi
Nov 09 2016 16:11
anyone about?
with a build of UltimaXNA
Toni Spets
@hifi
Nov 09 2016 16:36
when someone shows up, could that someone please upload pre-built IsometricWorld.xnb somewhere? thanks
Zane Wagner
@ZaneDubya
Nov 09 2016 17:00
That's the debug version. Let me know if you need release as well.
Toni Spets
@hifi
Nov 09 2016 17:04
thanks, it seems to work fine
I'm trying to see if the FNA project would provide a better platform than MonoGame
it doesn't work straight out but I might try to upstream them some patches as well to see which one would be the better choice
MonoGame/MonoGame#5288 this was interesting since you depend on that
MG folks don't really want to be 100% XNA compatible and I would assume you don't want to reset the textures without a reason in UltimaXNA itself so I'm looking if I can get the same results with FNA
FNA definitely would accept a patch that matches XNA behavior
I might need to setup my windows vm with visual studio and xna to get some test cases, it has so little disk space and visual studio likes disk space
Zane Wagner
@ZaneDubya
Nov 09 2016 17:10
Ooof, yes it does.
Xamarin in particular.
Toni Spets
@hifi
Nov 09 2016 17:10
the shader seems to work with FNA but the texture format doesn't yet
I get a working world when I login but the colors are messed up like with monogame
except it's blue instead of red ;)
this is when I've removed most of my hacks from UltimaMono and rebuilt it against FNA
audio works fine as well, that's a bonus
Zane Wagner
@ZaneDubya
Nov 09 2016 17:11
Hm. I wonder why I use preserve contents.
Toni Spets
@hifi
Nov 09 2016 17:12
somehow the hit detection of buttons still causes native crashes on mono with GetData<short>
that's something I need to look at
Zane Wagner
@ZaneDubya
Nov 09 2016 17:12
Did you try exchanging the blue and red channels when you load the textures?
might be bgr instead of rgb.
Toni Spets
@hifi
Nov 09 2016 17:13
when I did the texture conversion to Bgra32 and used GetData<color> it worked fine
it probably is that, but it's a bug in the underlying implementation if your code doesn't work without changes
like that GetData<short> stuff with 16 bit textures like you use
it's a performance killer for sure to pull the texture from GPU to do hit detection and that's something I would probably rewrite anyway at some point
but it works so it should work on MonoGame/FNA
anyway, thanks for the xnb, I'll keep reporting bugs to these projects until they work without changes against your code
Zane Wagner
@ZaneDubya
Nov 09 2016 17:15
yw!
Jeff Boulanger
@jeffboulanger
Nov 09 2016 18:46
big endian vs little endian?
shouldnt be, but just a thought, not sure what os @hifi is using