This is a little Python script I whipped up which
takes the name of the map you want to package, and
Sauerbraten's base directory, and makes a directory
structure with your map, cfg file, readme, and screenshot.
It then mashes the lot into a compressed .zip
archive, and deletes the original folders.
It *should* be cross-platform, because I use os (.path)
methods, but I've only tested it on Windows.
Simply run the script, follow instructions, and you will
have a compressed .zip archive with the name of your map
sitting in your current directory. So all you have to do is
post it on Quadropolis. No newbies getting their nodes
deleted, and no admins angry at bad directory structure!
We're all happy.
Windows users: There is an exe in there for you, so don't
panic if you don't have Python installed.
*UPDATE*: Added support for Blood Frontier, SVN version
*UPDATE TWO*: Added zip file support, cleaned up code a lot
*UPDATE THREE*: Added compression support, made exe for Windows users
*UPDATE FOUR*: [I think] I've fixed all MeatROme's tips (hope you can revise your rating!)
Added .exe for Windows users, attachment for linux users. README goes into more detail
Attachment | Size |
---|---|
linux.zip | 1.97 KB |