New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clientside workaround for coop replays #1676
Labels
🎁 Rewarded on Issuehunt
This issue has been rewarded on Issuehunt
Comments
@askaholic has funded $10.00 to this issue.
|
issuehunt-oss
bot
added
the
💵 Funded on Issuehunt
This issue has been funded on Issuehunt
label
Jun 1, 2020
Either I am stupid or I tried already to fix it |
I made a dialog that asks you to start replays even if the map can not be found |
Anybody that wants to try, go ahead |
1-alex98
pushed a commit
that referenced
this issue
Oct 4, 2020
Fixes coop replay parsing Reads in mapName from replay bytes if game type is coop. Updates FAF to correct version for replay. Parse replay bytes for map name for all replays Fixes #1676
@axel1200 has rewarded $9.00 to @sheikah45. See it on IssueHunt
|
issuehunt-oss
bot
added
🎁 Rewarded on Issuehunt
This issue has been rewarded on Issuehunt
and removed
💵 Funded on Issuehunt
This issue has been funded on Issuehunt
labels
Oct 4, 2020
Sheikah45
added a commit
that referenced
this issue
Nov 6, 2020
Fixes coop replay parsing Reads in mapName from replay bytes if game type is coop. Updates FAF to correct version for replay. Parse replay bytes for map name for all replays Fixes #1676
@axel1200 why did you reopen this? |
Closing for lack of response |
mrchris2000
pushed a commit
to mrchris2000/downlords-faf-client
that referenced
this issue
Apr 15, 2022
Fixes coop replay parsing Reads in mapName from replay bytes if game type is coop. Updates FAF to correct version for replay. Parse replay bytes for map name for all replays Fixes FAForever#1676
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Intro
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 thefafreplay
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
C:\ProgramData\FAForever\cache\temp.fafreplay
.Change the replay extension from
.fafreplay
to.coop.fafreplay
. This will tell the legacy client that it should update for thecoop
game mode.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
cmd
orpowershell
and paste in the following command:Client workaround
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:coop
featured mod is at the right versionWanna have the bug fixed quickly?
Visit Issue hunt...
IssueHunt Summary
sheikah45 has been rewarded.
Backers (Total: $10.00)
Submitted pull Requests
Tips
The text was updated successfully, but these errors were encountered: