All praise the genius of turtlebackgoofy, can't wait to see the new update!! Any ETA to throw to us worshippers?it already boots up with mono 6.12.0.206 and loads a scene, but there are still some minor issues with paths and so on. The great thing about unity is they didnt write anything themselfs and basicaly just lifted regular mono runtime with minor modifications they were legaly obliged to open source. Since C# is very portable you can just run the old unity engine on newest mono. Once I got everything working I can just turn on llvm bytecode optimization and let it rip. That way even custom unityscripts from all addons on this site should become blazing fast.
a unity game is built like this:
[vam.exe] <- process layer
[mono.dll] [unityplayer.dll] [mscorlib.dll] <- runtime and unity engine
[assembly-csharp.dll] <- the game itself
[all other scripts] <- dynamicaly loaded code
just had to built the correct mono.dll and add a few unity patches. I might also release an option with mono debugging enabled so you can just attach dnspyex to vam and step through your scripts.
man, you are truely a biological compiler... respect! and looking forward to your next patch version, sounds amazing what you have stated in your progress update. keep up the good work & many thanks!Current progress: custom unityscripts (cs files in vars) are working and I get a HIGHER fps in the default scene (350 fps) WITHOUT any other patches except setting CPU affinity in task manager. It appears the newest mono and the newest bdwgc already makes the c# skinmesh code of vam as fast as my native code plugin. This is BEFORE LLVM optimizations, those are yet to come and will be a huge deal. Afaik LLVM optimizations arent even in the newest unity engine.
If you dont see a fps difference, then you are probably gpu bottlenecked. Your strongest 2 cores might be different than what you copied over in engineaffinity, but if they were those cores:is anyone using ryzen 7 5800x3d ? and if so what settings pls?
i added the patch but sadly i cant see the improvement and its also a little worse with frame hangups... :?
what am i doing wrong...pls
I believe this is for me: I copied it into Adjust SkinMeshPartDLL.ini:
[threadsVR]
computeColliders=8
skinmeshPart=8
applyMorphs=8
skinmeshPartMaxPerChar=8
applyMorphMaxPerChar=8
affinity=1,3,5,7,9,11,13,15
engineAffinity=1,3
[profiler]
enabled=0
ill see if it helps...
![]()