Clientside workaround for coop replaysSee original GitHub issue
This is a a sort of mini-guide on how to launch coop replays manually. I’m creating this as a github issue because I think it should be pretty simple to get the client to do this automatically. In the mean time people will need to do the set up themselves.
Why don’t coop replays work?
Coop maps are not stored in the vault like regular maps. This means that the replay server doesn’t recognize coop map names, and instead just write
none into the
fafreplay header. When the client goes to download the map we see an exception like this:
How to launch coop replays manually
First off, you will want to have the legacy client installed as it will handle updating to the correct version of FA for the replay: https://github.com/FAForever/client/releases
Download the replay from the vault. An easy way to do this is to hit the “play” button on the coop tab, and cancel when you see the error, just be aware that it is downloaded into
Change the replay extension from
.coop.fafreplay. This will tell the legacy client that it should update for the
Right click the replay and open it with the legacy client. It is probably called
Forged Alliance Forever - Lobby Client. The legacy client should now update the necessary files, but it will most likely fail with an error message like “Map not found” or a timeout error.
Start the replay from the command line. Open
powershelland paste in the following command:
C:\ProgramData\FAForever\bin\ForgedAlliance.exe /init init_coop.lua /nobugreport /log C:\ProgramData\FAForever\logs\game.log /replay C:\ProgramData\FAForever\cache\temp.scfareplay
I think we should modify the replay launching code so that it skips the map download for coop maps. That way the user can set up their maps directory manually before launching the replay. We should also make sure that the client downloads the correct version of the FA for the replay, as it stands I think it tries to always download the most recent version (the legacy client handles this correctly).
Criteria for closing this issue
I want to be able to click the “play” button on the coop leaderboard and have the client download and successfully launch the replay. The client should update the
faf featured mod to the correct version, but may assume that:
- The map is already present and at the right version
coopfeatured mod is at the right version
sheikah45 has been rewarded.
Backers (Total: $10.00)
- askaholic ($10.00)
Submitted pull Requests
- Created 3 years ago
- Comments:7 (5 by maintainers)