Standard Way to Package/Install Extra Content

3 replies [Last post]
Hoggy_B
User offline. Last seen 3 years 3 weeks ago. Offline
Joined: 05/16/2010
Posts: 4

I think it would be good if there was a standard way to package user generated content so that it is easier to install. I suggest an archive containing folders that are in the hedgewars Data directory. eg.

tar tf emptycontentpackage.tar.gz
> /Fonts
> /Forts
> /Graphics
> /Locale
> /Maps
> /Missions
> /Music
> /Names
> /Sounds
> /Themes

Also, a program to install such files would be good.
I have a script that implements this in Linux (GUI works in GNOME and KDE):
https://docs.google.com/uc?id=0B6rUVOOZYu7qOTFmYzM2NWYtZWY3ZS00ODc2LTliZDctYTkxZDIxMjQ1ZTM4&export=download&hl=en_GB

Hoggy_B
User offline. Last seen 3 years 3 weeks ago. Offline
Joined: 05/16/2010
Posts: 4

I've started a project to try to fulfil this functionality: http://code.google.com/p/hedgewars-content-manager/

nemo
User offline. Last seen 4 hours 29 min ago. Offline
Joined: 01/28/2009
Posts: 1018

Seems it'd be more useful if you worked on integrating this into the frontend, as Smaxx is doing already.

Bertram
User offline. Last seen 2 years 51 weeks ago. Offline
Joined: 01/13/2010
Posts: 1

What about using PhysFS?

content package could simply stay in compressed files, and PhysFs would manage automatically where the file should virtually be.

Just a thought.

regards.

Copyright © 2004-2013 Hedgewars Project. All rights reserved.