s2prot icon indicating copy to clipboard operation
s2prot copied to clipboard

Opening Replay Error: "Unsupported replay version"

Open Kaszanas opened this issue 10 months ago • 6 comments

When I am attempting to open the following file: 1667cfec3200d1e0d5930c5407808d8c.SC2Replay I get this error"

{"fileName":"

[1667cfec3200d1e0d5930c5407808d8c.zip](https://github.com/user-attachments/files/19057232/1667cfec3200d1e0d5930c5407808d8c.zip)

.SC2Replay","reason":"rep.NewFromFile() failed"},

and

{"error":"Unsupported replay version","fields.file":"/app/processing/output/directory_flattener/2024_HomeStory_Cup_XXVI/f3e0d840e9c8ccaaceae2f4ae838bb6c.SC2Replay","file":"/app/dataproc/dataproc_pipeline.go:321","func":"github.com/Kaszanas/SC2InfoExtractorGo/dataproc.FileProcessingPipeline","level":"error","msg":"Failed to read file.","readError":true,"time":"2025-03-03T15:32:25Z"}

It seems that there was some update done by Blizzard which may not be reflected in the parser files. I attach the replay (rename to .SC2Replay).

1667cfec3200d1e0d5930c5407808d8c.zip

I am using version 1.5.2 of s2prot

Kaszanas avatar Mar 03 '25 17:03 Kaszanas

I'd be happy to contribute. Is there any instruction for getting the required files and placing them in: https://github.com/icza/s2prot/tree/master/build ?

Kaszanas avatar Mar 03 '25 17:03 Kaszanas

The tip of master supports this build, just not the latest release. Checkout the tip and you'll be good to go.

icza avatar Mar 03 '25 18:03 icza

To checkout the tip, use:

go get github.com/icza/s2prot@master

icza avatar Mar 03 '25 18:03 icza

The tip of master supports this build, just not the latest release. Checkout the tip and you'll be good to go.

Got it, any idea when it will be officially merged with semver?

Kaszanas avatar Mar 03 '25 18:03 Kaszanas

To checkout the tip, use:

go get github.com/icza/s2prot@master

Will do that, hopefully there are not much breaking changes happening as the entire github.com/Kaszanas/SC2InfoExtractorGo depends on it

Kaszanas avatar Mar 03 '25 18:03 Kaszanas

There are no breaking changes, just added support for newer builds, that's why I didn't make a new release.

icza avatar Mar 03 '25 18:03 icza

Can I please be added as a contributor? I have a PR ready with the newest versions.

FranciscoKurpiel avatar Jul 07 '25 17:07 FranciscoKurpiel

Just submit the PR and I'll merge it.

icza avatar Jul 07 '25 17:07 icza