Supcom/Moho engine rewrite
-
@D4rkstalker Do you think you could please run the benchmarking tool I just posted above? I would love to see how your 9800x3d shines!
And include the html output graphs?
-
@SlightlyGrilled I didn't even think about it but yes, it would be the base game then.
-
@slightlygrilled how do I conveniently upload the all.html file?

If you rename that to all.html then you have the visuals. Ran on a 7950x3d with 128gb of ram. I was using the computer for other things, like playing FAForever. I do get loads of these:
thread 'worker 16' (41112) panicked at /cargo/registry/25cdd57fae9f0462\full_moon-2.2.0\src\ast\parsers.rs:3709:37: called `Result::unwrap()` on an `Err` value: () 2026-12-01T20:56:46.308869Z ERROR panic: crashed: panicked at /cargo/registry/25cdd57fae9f0462\full_moon-2.2.0\src\ast\parsers.rs:3709:37: called `Result::unwrap()` on an `Err` value: () 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: <unknown> 10: <unknown> 11: <unknown> 12: <unknown> 13: <unknown> 14: <unknown> 15: <unknown> 16: <unknown> 17: <unknown> 18: <unknown> 19: <unknown> 20: <unknown> 21: <unknown> 22: <unknown> 23: <unknown> 24: <unknown> 25: <unknown> 26: <unknown> 27: <unknown> 28: <unknown> 29: <unknown> 30: <unknown> 31: <unknown> 32: <unknown> 33: <unknown> 34: <unknown> 35: <unknown> 36: <unknown> 37: <unknown> 38: <unknown> 39: <unknown> 40: <unknown> 41: <unknown> 42: <unknown> 43: <unknown> 44: <unknown> 45: <unknown> 46: <unknown> 47: <unknown> 48: <unknown> 49: <unknown> 50: <unknown> 51: <unknown> 52: <unknown> 53: <unknown> 54: <unknown> 55: <unknown> 56: <unknown> 57: <unknown> 58: <unknown> 59: <unknown> 60: <unknown> 61: <unknown> 62: <unknown> 63: <unknown> 64: <unknown> 65: <unknown> 66: <unknown> 67: <unknown> 68: <unknown> 69: <unknown> 70: <unknown> 71: <unknown> 72: <unknown> 73: <unknown> 74: <unknown> 75: <unknown> 76: <unknown> 77: <unknown> 78: <unknown> 79: <unknown> 80: <unknown> 81: <unknown> 82: <unknown> 83: <unknown> 84: <unknown> 85: <unknown> 86: <unknown> 87: <unknown> 88: <unknown> 89: <unknown> 90: <unknown> 91: <unknown> 92: <unknown> 93: <unknown> 94: <unknown> 95: <unknown> 96: <unknown> 97: BaseThreadInitThunk 98: RtlUserThreadStart thread="worker 19" thread 'worker 19' (4128) panicked at /cargo/registry/25cdd57fae9f0462\full_moon-2.2.0\src\ast\parsers.rs:3709:37: called `Result::unwrap()` on an `Err` value: () -
Interesting, my results seemed better with 5800X3D and 32 GB ram (slightly improved clocks/timings). Linux power? CPU usage seemed much more stable for me from the graphs, I had plenty of background stuff still open.
The first test mine on left, yours on right. Basically same the other tests, the last one the difference was a bit bigger even.

-
@Jip thanks! please could you give me the log for the game? It will be something like game.log
I think that will be a mod that my lua is failing to parse.
When you say running faf, do you mean the actual game? i imagine that will make the benchmark worse, as they will both be fighting over memory bandwidth etc...

-
@Giebmasse thank you!
yes I wonder if the result differ due to system load, as i would certainly expect the generation ahead to be faster, but it could just be linux!it could also be that, that 7950x3d only has the 3d cache on one of the 8 core chiplets, and my code is certainly not aware of cpu topography like that.
@jip you could try and limit it to one chiplet with Process Lasso, but i have never used one of those asymmetrical chips.
My mac has 6 perf cores, and 12 efficiency cores, and seems to do fine, with me simply giving the game full core access.you can also limit the cores it uses by setting an env before calling the bench, from powershell
$env:RTS_CORES=8; ./rts-core-engine.exe --bench all --bench-graph all.html -
@Jip thanks! please could you give me the log for the game? It will be something like game.log
I think that will be a mod that my lua is failing to parse.
When you say running faf, do you mean the actual game? i imagine that will make the benchmark worse, as they will both be fighting over memory bandwidth etc...

The computer was not saturated at all. CPU < 20%, RAM < 40%, GPU < 50%.
I just ran some tests again, these are the logs:
game.ai.txt
game.air.txt
game.air-duel.txt
game.land.txt
game.txtAnd the
all.*files: -
Are you running your memory with proper settings? Or the default slow SPD?
-
I opened a PR that adds the ability to manually capture screenshots using Ctrl + F.
https://github.com/ThomasMonkman/rts-core-engine/pull/151
This has a few advantages over the base game's implementation.
-
@slightlygrilled this is amazing. Just wanted to pop in and say thanks and extra thanks for adding cross-platform compatibility and hoping it will stay around, hard to believe I just got FA running on my Mac. Super excited to see where this will go, especially with improvements to the engine, graphics, controls, etc.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login