FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Supcom/Moho engine rewrite

    Scheduled Pinned Locked Moved Contribution
    81 Posts 38 Posters 4.7k Views 12 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SlightlyGrilled @D4rkstalker
      last edited by

      @D4rkstalker oh wow!!! thank you very much for testing!

      can you try again with the latest release i just posted above, it should be a bit faster ~10-30%, which might lift that -1 to real time 🙂

      but also could you explain to me how you run those mods? i found that rks explosions doesn't work with the latest faf?

      I've also fixed some bugs i had when running m28 ai, and some of the other mods you mentioned.

      Also another favour if you don't mind 🙂 could you run the stress test with your bleeding fast 9800x3d! i would love to know how that cpu does!

      1 Reply Last reply Reply Quote 0
      • S Offline
        SlightlyGrilled @cychwa_klaymberg
        last edited by

        @cychwa_klaymberg Hello! so mods and maps should just work if they are in your faf folders, of course any that don't please tell me the issues and i will have a look 🙂 but the aim is they should just work.

        1 Reply Last reply Reply Quote 1
        • S Offline
          SlightlyGrilled @RavenCurow
          last edited by

          @RavenCurow Hello, in the post just above, I've listed how i managed to get nomads working.

          you can pass an --init script in to the engine.

          i briefly played a bit with nomads, but its been ages and ages since i played it, and Im not really sure what works and what doesn't, have a play and let me know 🙂 happy to help.

          R 1 Reply Last reply Reply Quote 0
          • S Offline
            SlightlyGrilled @Korbah
            last edited by

            @Korbah Thank you very much 🙂 yes my hope is to allow supcom to push beyond it's current limits.

            on the transports, I'm happy to improve on anything in the game, at the moment I've been trying to mimic the current game as close as possible baring a few things. (like unit intel only really updating once a second, now its 10/s)

            how would you see transports improving? what would you like?

            1 Reply Last reply Reply Quote 0
            • R Offline
              RavenCurow @SlightlyGrilled
              last edited by

              @SlightlyGrilled Nice, I was actually able to get my own custom faction working with it. It plays quite well. I look forward to seeing how things progress.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Sprouto
                last edited by

                At present, it appears to be working normally with LOUD - but there's no Steam connectivity (which LOUD utilizes for it's multiplayer hosting).

                There are some odd sound issues, with some units being excessive - but I haven't identified which units. Total Mayhem is a likely culprit, as they routinely overmodulated their audio files.

                Overall performance, based on the saturation tests I normally run for LOUD, indicates that the saturation point (where the SIM can no longer hold onto +10) is about 10% higher than the STEAM based EXE. Which appears to match what you're seeing from games with other AI.

                I haven't as of yet, pushed out to the memory limit, which would be something LOUD users would be greatly interested in, as games with 10k units, on 40/80k maps, are fairly common. I'll try to arrange that testing at my next opportunity.

                S 1 Reply Last reply Reply Quote 2
                • J Offline
                  jobi82
                  last edited by

                  Would it be possible to add single player? I'd love to replay the campaigns.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    SlightlyGrilled
                    last edited by SlightlyGrilled

                    Now with benchmarking!
                    https://github.com/ThomasMonkman/rts-core-engine/releases/tag/v0.3.2

                    You can now run some benchmarks to see how your system handles the game

                    this will also output some pretty graphs, it runs 4 benches
                    63k land
                    63k air
                    10k v 10k air
                    4v4 standard ai 1 hour on setons

                    rts-core-engine.exe --bench all --bench-graph all.html
                    

                    the graphs break down where time was spent, along with ram and cpu usage.

                    Along with some more fixes for LOUD

                    • alt f2 cheat menu now works
                    • implemented GetEntitiesInRect, which was a stub before

                    The graph outputs of that benchmark command

                    Screen Shot 2026-11-30 at 22.23.06.png
                    Screen Shot 2026-11-30 at 22.23.03.png
                    Screen Shot 2026-11-30 at 22.23.00.png
                    Screen Shot 2026-11-30 at 22.22.53.png

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SlightlyGrilled @Sprouto
                      last edited by SlightlyGrilled

                      @Sprouto Thank you for testing!

                      So I would benchmark the game at when it hits a sim speed of 0, instead of +10 as i don't start splitting things off to other cores/threads until certain amount of work is hit (as there is overhead to using the threadpool, you might not be seeing this until below 10+, what i would expect is my version is able to handle staying above or at realtime for longer than the base game.

                      As well as scaling to more units, projectiles, effects, etc...

                      Of course i can't do anything about lua overhead that must be serial.

                      It may also be that those thread offloading thresholds need tweaking for other machines.

                      For me when I'm pushing the engine as far as i can, i get to an average cpu usage between 2-5 cores, depending on the work load, high refresh screens and second monitor will add further core usage. As you can see in the screenshot from the ai benchmark above.

                      I would be keen on you running the benchmark i have posted, and seeing what results you get on your hardware, i can also set this up to run a LOUD benchmark.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SlightlyGrilled @jobi82
                        last edited by

                        @jobi82 Hello!

                        I can certainly look in to it, currently I'm just going off fafs lua, which has the campaigns disabled as broken, or something to that effect, (although its been ages and ages since i double checked that 🙂 and i could be completely wrong )

                        However i will check they work against the base game 🙂 is that your intension?

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          SlightlyGrilled @RavenCurow
                          last edited by

                          @RavenCurow Very cool! let me know if you have any issues and i will gladly help.

                          Did you see the vscode debugging I posted higher up? I wonder if that is useful or not? 🙂 🐛

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            SlightlyGrilled @D4rkstalker
                            last edited by

                            @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?

                            1 Reply Last reply Reply Quote 0

                            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
                            • First post
                              Last post