Auto download maps

7 replies [Last post]
robsons6
User offline. Last seen 5 years 25 weeks ago. Offline
Joined: 2008-05-04
Posts: 60

Hi. Can you make a auto download maps when client hasn't the map

unC0Rr
unC0Rr's picture
User offline. Last seen 6 days 5 hours ago. Offline
Joined: 2006-11-27
Posts: 572

We could implement such feature, but there's a trouble with choosing into which directory to download. We cannot use installation dir, and the game doesn't support using home dir to keep maps or any other game data there

superfly86
User offline. Last seen 8 years 4 weeks ago. Offline
Joined: 2008-07-06
Posts: 40

you may create new folder in game dir
Hedgewars 0.9.4\share\hedgewars\Data
like Download
or DownloadedMaps
or CustomMaps etc.

unC0Rr
unC0Rr's picture
User offline. Last seen 6 days 5 hours ago. Offline
Joined: 2006-11-27
Posts: 572

No, we cannot. It's bad practice and it won't work when you have no permissions to write to installation folder.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 8 years 36 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

And if you use the .hedgewars directory?I don't know, with a control when map is not found if it can be downloaded in .hedgewars/download else throw error. Does it really needs installation directory for maps?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 6 days 5 hours ago. Offline
Joined: 2006-11-27
Posts: 572

That's better solution, but requires some support from frontend. If anyone volunteer for frontend, then we could have that implemented.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 8 years 36 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

I would like to help, but I'm studying for exams right now. If you give me some documentation for the frontend I'll read it and do my best to help.

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

superfly86
User offline. Last seen 8 years 4 weeks ago. Offline
Joined: 2008-07-06
Posts: 40

unC0Rr allegedly wrote:
No, we cannot. It's bad practice and it won't work when you have no permissions to write to installation folder.

it's not our problem if someone don't have access to the folder, only administrator should play/install the game hmm

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]