MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001080VCMIOtherpublic2012-09-20 17:422014-05-30 17:41
Reporterdouggie_m 
Assigned ToIvan 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.89b 
Target VersionFixed in Version0.9 
Summary0001080: Add support to load non-compressed maps
DescriptionThis is a request. Original LOKI maps are un-compressed at all. And VCMI cannot deal with them, it requires maps to be compressed.

I'm uploading all for one.h3m from LOKI distribution.
TagsNo tags attached.
Attached Files? file icon all for one.h3m [^] (130,076 bytes) 2012-09-20 17:42

- Relationships

-  Notes
(0003037)
douggie_m (reporter)
2012-09-20 18:08

VCMI currently prints:

> Warning: failed to load map MAPS/ALL FOR ONE: Decompression error!

and ignores the un-compressed map.

VCMI accepts only GNU zipped versions:

$ file /usr/share/vcmi/Maps/free\ for\ all.h3m
/usr/share/vcmi/Maps/free for all.h3m: gzip compressed data, was "free for all.h3m", from Unix, last modified: Sat Aug 11 12:25:25 2012
(0003038)
Ivan (developer)
2012-09-20 18:22

Interesting - I never noticed that LOKI maps are uncompressed.

Should be easy to implement - gzip have magic number in header that can be detected and it is always different from H3M header.
(0003049)
Ivan (developer)
2012-09-26 13:14

implemented in rev 2924

- Issue History
Date Modified Username Field Change
2012-09-20 17:42 douggie_m New Issue
2012-09-20 17:42 douggie_m File Added: all for one.h3m
2012-09-20 18:08 douggie_m Note Added: 0003037
2012-09-20 18:22 Ivan Note Added: 0003038
2012-09-26 11:57 Ivan Assigned To => Ivan
2012-09-26 11:57 Ivan Status new => assigned
2012-09-26 11:58 Ivan Severity minor => feature
2012-09-26 11:58 Ivan Reproducibility always => N/A
2012-09-26 13:14 Ivan Note Added: 0003049
2012-09-26 13:14 Ivan Status assigned => resolved
2012-09-26 13:14 Ivan Fixed in Version => 0.9
2012-09-26 13:14 Ivan Resolution open => fixed
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean