View Issue Details

IDProjectCategoryView StatusLast Update
0004018Spring engineGeneralpublic2017-08-31 22:39
Reportergajop Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Summary0004018: VFS.MapArchive requires that archives end in .sdz (.sd7 as well maybe?)
DescriptionVFS.MapArchive fails with a [VFS] Error: AddArchive: Failed to open archive 'abc.zip'. and similar, if the extension is not .sdz.

Can we have a parameter to specify the compression type, so we can use custom file extensions?
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2013-09-30 00:30

administrator   ~0011651

Last edited: 2013-09-30 00:31

hu? 7zip and zip are the only supported compressions...

why do you want to rename files? sdz and sd7 are container for spring engine files, why do you want to use a common file suffix? imo this will confuse users.

for example: if a user sees a .zip, he will try to unzip it for "installing".

gajop

2013-09-30 00:33

developer   ~0011652

because i'm zipping up some data (scenarios) and i think it would actually confuse people that they are mods/maps if they remain in .sdz/.sd7

anyhow, i think a better error message would be in order if this doesn't get implemented, e.g. "archive extension not supported" or something

abma

2013-09-30 00:59

administrator   ~0011653

https://github.com/spring/spring/blob/develop/rts/System/FileSystem/VFSHandler.cpp#L48

hm, you make mutators...

you should cry for a "scenario" or "mission" format ;)

Kloot

2017-08-31 22:39

developer   ~0018318

this seems silly

Issue History

Date Modified Username Field Change
2013-09-29 19:13 gajop New Issue
2013-09-30 00:30 abma Note Added: 0011651
2013-09-30 00:31 abma Note Edited: 0011651
2013-09-30 00:33 gajop Note Added: 0011652
2013-09-30 00:59 abma Note Added: 0011653
2017-08-31 22:39 Kloot Status new => closed
2017-08-31 22:39 Kloot Resolution open => no change required
2017-08-31 22:39 Kloot Note Added: 0018318