Opened 9 years ago

Last modified 8 years ago

#51 new defect

Map Preview Issue

Reported by: shadow Owned by: mseifert
Priority: major Milestone:
Component: sc2replay Version: 0.8
Keywords: Cc:
Blocked By: Blocking:


It seems there might be an issue with the getMapPreview() function. Everytime I try to access a map preview ( using different replays) I get a null return value.

Is this normal ?

Change History (4)

comment:1 Changed 9 years ago by shadow

it seems this issue only happens with recent replays.
With older replays I can access the preview.

comment:2 Changed 9 years ago by mseifert

Component: coresc2replay

Thanks for writing tickets, by the way! This really help documenting the progress of development and ensures systematic improvements of the API.

As far as I know, the map preview was only included in replay files up to version 0.10.0. Hopefully this proves wrong :)

I already thought of asking for the Starcraft 2 installation path. That way, one could extract the map previews directly from the Starcraft 2 folder and maintain this feature.
Users who do not own the game can still download the maps or just have to renounce seeing a preview.

comment:3 Changed 9 years ago by shadow

I'm not sure if I understood what you said but the replay with which I managed to get the preview file was versioned :
It could be that after version 0.10.0, the map preview is no longer available.
That may be why I get a null value.

comment:4 Changed 8 years ago by mseifert

Milestone: version 0.9
Note: See TracTickets for help on using tickets.