Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[script] mapz2packz v0.5-- Right click auto-package in Gnome (Ubuntu)
04-14-2009, 05:55 PM (This post was last modified: 04-14-2009 08:11 PM by -z-.)
Post: #1
[script] mapz2packz v0.5-- Right click auto-package in Gnome (Ubuntu)
Stemming from the first two scripts I wrote earlier, I challenged myself to start work on an automatic map packager. All, you have to do is right click a bsp and the script will do the rest...

This release is early alpha as it only packages things that go in the maps folder in the package (save waypoints which I'll get to later :-P).

Read the usage notes for a quick how-to. It's all automated... you right click a bsp in your maps folder, "Create New Map Package" and it'll do the rest.

It opens up nexuiz and does a bunch of stuff to create the screenshot, mapinfo and radar files. It will automatically quit but if you see that it's done creating the image radar, you can press f10. gedit will then pop up for you to edit the mapinfo. After you close gedit, it will package the map and drop it in your ~/.nexuiz/data directory.

This script relies on ImageMagick for resizing and cropping the screenshot.

sudo apt-get install imagemagick

[size=x-large]SCREENCAST HERE[/size]

High res: [url][/url]

[size=x-large]DOWNLOAD HERE[/size]


[size=x-large]How-to Install[/size]
Extract to your home directory then,
chmod +x ~/.gnome2/nautilus-scripts/Create\ New\ Map\ Package

read the usage notes in the top of this script and configure your Nexuiz directory / binary:
gedit ~/.gnome2/nautilus-scripts/Create\ New\ Map\ Package
Inspire your neighbor, they'll inspire you back.

[url=]maps.nn[/url] | [url=]pics.nn[/url] | [url=]chat.nn[/url] | [url=]2.5 cvar browser[/url]
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

Contact Us | Nexuiz Ninjaz Home | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication