Standard Way to Package/Install Extra Content
Sun, 2010-05-16 20:28
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
I've started a project to try to fulfil this functionality: http://code.google.com/p/hedgewars-content-manager/
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
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.