Max sim speed?

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Max sim speed?

Postby RocketRooster » 02 Jun 2017, 10:24

Hi guys,

Is there a way to completely unconstrain the engine so that it runs at maximum possible sim speed all the time?

My idea being to use recorded game playbacks (say, using 10 AI) for timedemo benchmarking. In other words, at the start of the game you engage yer stopwatch and see how long it takes for the PC to power through the playback.

Thanks,
Ryan
RocketRooster
Avatar-of-War
 
Posts: 294
Joined: 08 Apr 2016, 11:29
Has liked: 29 times
Been liked: 52 times
FAF User Name: RocketRooster

Re: Max sim speed?

Postby speed2 » 02 Jun 2017, 11:43

Theres a console command for that
Code: Select all
wld_RunWithTheWind
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Max sim speed?

Postby RocketRooster » 02 Jun 2017, 18:31

Brilliant. Exactly what I need!

I have one more question - is it possible to invoke this command when loading a replay, either via the command line or a custom config file?

Thanks again, much appreciated!
RocketRooster
Avatar-of-War
 
Posts: 294
Joined: 08 Apr 2016, 11:29
Has liked: 29 times
Been liked: 52 times
FAF User Name: RocketRooster

Re: Max sim speed?

Postby speed2 » 02 Jun 2017, 19:42

Mod that executes the command once the replay loads should do the trick.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Max sim speed?

Postby speed2 » 02 Jun 2017, 19:59

Try this
Attachments
ReplayMaxSimSpeed.zip
(1.53 KiB) Downloaded 50 times
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Max sim speed?

Postby IceDreamer » 03 Jun 2017, 17:12

I already have a benchmarking map as well, which pits thousands of asfs againt each other and logs the completion time. Can share if you want, I use it for testing a lobg term WIP lua optimisation branch
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: Max sim speed?

Postby RocketRooster » 03 Jun 2017, 18:54

By all means, share it.
RocketRooster
Avatar-of-War
 
Posts: 294
Joined: 08 Apr 2016, 11:29
Has liked: 29 times
Been liked: 52 times
FAF User Name: RocketRooster

Re: Max sim speed?

Postby IceDreamer » 03 Jun 2017, 19:35

Here you go. Launch it with /EnableDiskWatch /nomovie /windowed 1024 768 /nointro /showlog /perf as command line args for best results.
Attachments
PerfTest.zip
(11.61 KiB) Downloaded 50 times
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron