nguyenquyhy / Flight-Recorder

Record and replay flights in Microsoft Flight Simulator
https://flightsim.to/file/8163/flight-recorder
GNU General Public License v3.0
207 stars 21 forks source link

Stuttering when replay #114

Closed Elekesey closed 1 year ago

Elekesey commented 1 year ago

With any aircraft, when the software is playing the replay, graphism are stuttering. That's not related with loading terrain. As soon the software is closed, instantly graphism are smooth like usual.

nguyenquyhy commented 1 year ago

Can you please give me more information?

Elekesey commented 1 year ago

Thanks for your feedback.

Please check this video that I just made ; https://we.tl/t-QWrO4ABZ1C

Elekesey commented 1 year ago

I've found what caused the issue. I used Flight Recorder from another local network computer (with a special configuration of SimConnect). If I launch Flight Recorder on the same PC than MSFS 2020 to record & replay, that works fine.

nguyenquyhy commented 1 year ago

Interesting. Do you mind sharing your SimConnect setup for that? I was trying to look for that.

Elekesey commented 1 year ago

Yes, of course.

On the MSFS2020 (Steam Edition) PC, you need to add this section in "C:\Users\\AppData\Roaming\Microsoft Flight Simulator\SimConnect.xml" :

    <SimConnect.Comm>
        <Descr>Global IP Port</Descr>
        <Disabled>False</Disabled>
        <Protocol>IPv4</Protocol>
        <Scope>global</Scope>
        <Address>192.168.0.230</Address>
        <MaxClients>64</MaxClients>
        <Port>7421</Port>
        <MaxRecvSize>4096</MaxRecvSize>
        <DisableNagle>False</DisableNagle>
    </SimConnect.Comm>

On the remote PC, you need to replace the original SimConnect.dll file in the Flight Recorder's directory by this one in ZIP attachment and paste the file SimeConnect.cfg in the same directory. SimConnect.zip

Don't forget to change IP address and check firewall :)

nguyenquyhy commented 1 year ago

Thank you for sharing the setup. 😄