Benjamin Moir

Results 66 comments of Benjamin Moir

@animetrics The file would read without errors, but when attempting to access values within the file, any non-ANSI characters would appear as garbage. Reading/writing the file without any modifications would...

@animetrics I believe he meant that I had to manually widen the string to get it to work. I ended up using the nowide::widen() function from Boost.Nowide on the returned...

@QiuShiHuang I was using something similar earlier, but it's probably not a good idea to use that because it's not cross-platform friendly, that will only work on Windows. Boost.Nowide does...

It's a bit of a gross hack, but a workaround I found is to create a wrapper `ParameterInfo` class that overrides the APIs used by `NullabilityInfoContext.Create`, but returns `ParameterType.GetElementType()`: ```cs...

@EliotVU DNF merges Core.dll and Render.dll into Engine.dll, so it's all in one big binary. Keep in mind that the Engine.dll the game ships with has CEG applied to it,...

Nice! You got that going impressively fast. If you want some more samples but don't own the game, the demo version of DNF is available for download [here](https://duke4ever.altervista.org/files.html). You'll need...

Wow, I never thought I'd see the day. Awesome work! > DNF has also extended UnrealScript's features (or at least how it's compiled), those features have also been implemented, but...

Alternatively, the ability to use Reflexil as a general-purpose C# library could work too, if that isn't supported already @Splamy That certainly looks cool, looks like it doesn't have enough...

I ended up just writing my own program using Mono.Cecil to get the job done, but if I ever need to do something much more complex I'll definitely take a...

As of Unity 2019.3 there's a new `SetPixelData` API that may come in handy for this, figured it would be useful to point out: https://docs.unity3d.com/2019.3/Documentation/ScriptReference/Texture2D.SetPixelData.html