warbler / SharpMonoInjector

A tool for injecting assemblies into Mono embedded applications, commonly Unity Engine based games
MIT License
310 stars 108 forks source link

mono-2.0-bdwgc.dll #7

Closed davelyons-4ob closed 5 years ago

davelyons-4ob commented 5 years ago

Any idea how to get this to work with 'mono-2.0-bdwgc.dll'?

I've tried adjusting the dll it looks for but no avail and doesn't find any of the processes I'm looking for.

I fails on the line..

if (!Native.EnumProcessModulesEx( process.Handle, modulePointers, 0, out var bytesNeeded, ModuleFilter.LIST_MODULES_ALL))

and always returns 'IntPtr.Zero'.

I know this game uses 'mono-2.0-bdwgc.dll' as I've been temporarily using a stand alone injector until I can integrate this into my code.

warbler commented 5 years ago

Please try injecting with the latest release and let me know how it goes.

BennettStaley commented 5 years ago

Working on my end, Risk of Rain 2. Uses mono-2.0-bdwgc.dll.