Standard Way to Package/Install Extra Content

3 replies [Last post]
Hoggy_B
User offline. Last seen 13 years 48 weeks ago. Offline
Joined: 2010-05-16
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 13 years 48 weeks ago. Offline
Joined: 2010-05-16
Posts: 4

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

nemo
nemo's picture
User offline. Last seen 3 weeks 21 hours ago. Offline
Joined: 2009-01-28
Posts: 1861

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

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Bertram
User offline. Last seen 13 years 44 weeks ago. Offline
Joined: 2010-01-13
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.

User login

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