Is there a map packer?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Atera
Posts: 18
Joined: Sat Apr 26, 2014 10:28 pm

Is there a map packer?

Post by Atera »

So getting close to finishing my map and I was wondering if there is a tool that can read a .map/.bsp and perhaps search your game director for the textures/shaders/models etc being used and then automatically make a folder/create a pk3 from that.



If there is such a thing: I would truly appreciate a link to download it.



If there is no such thing: Why hasn't anyone made it?
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: Is there a map packer?

Post by Bacon »

Mapacker
Mapacker v1.03 -- 14th December 2002


Equim -- equim@planetquake.com -- http://www.planetquake.com/equim
Example bat file:

Code: Select all

mapacker -basepath "C:\Quake III Arena\baseq3" -overwrite -includemd3 maps\mymap.map
Make sure you double check everything you want is in your pk3 after. Im not sure if when you use "usemd3" that it includes the textures for said model.

The .options file is self configured to not include anything from the following pk3s:

exclude pak?.pk3
exclude common-spog.pk3
exclude common-qer.pk3
exclude textures/radiant/*

You can edit that to your liking.
[b]CAPSLOCK IS ON[/b]
Atera
Posts: 18
Joined: Sat Apr 26, 2014 10:28 pm

Re: Is there a map packer?

Post by Atera »

Amazing! It doesn't seem to add shaders sadly.

And most if not all .PNG textures I have (which arent that many so no big deal). Atleast it makes the process in general a lot easier :D
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: Is there a map packer?

Post by Bacon »

Ah, you must be using ioquake3. This tool was made for vanilla quake 3, which doesn't support PNG textures. As for the shaders, i'm not sure why it's not incuding them. I just tested it on one of my maps and it packed the shader file with the pk3.
[b]CAPSLOCK IS ON[/b]
KittenIgnition
Posts: 252
Joined: Sun Nov 06, 2011 11:11 pm

Re: Is there a map packer?

Post by KittenIgnition »

More likely QL mapping.

As for the shaders, he might mean making a new .shader with just what's needed for the map?
Atera
Posts: 18
Joined: Sat Apr 26, 2014 10:28 pm

Re: Is there a map packer?

Post by Atera »

Im mapping in jedi academy.

Yeah kitten is right on the x.shader. Thats what I meant but I managed to add the rest in a matter of seconds. Thanks a ton for the helpful tool!
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: Is there a map packer?

Post by Bacon »

KittenIgnition wrote: As for the shaders, he might mean making a new .shader with just what's needed for the map?
I'm not sure what you mean by this. It adds all custom shaders for me that I made myself. Mabye it has problems with other games.
Atera wrote: Thanks a ton for the helpful tool!
It's indeed very useful. It's not perfect but like you said it saves a lot of time. I'd be screwed without it.
[b]CAPSLOCK IS ON[/b]
neoplan
Posts: 125
Joined: Thu Jun 05, 2008 9:47 pm

Re: Is there a map packer?

Post by neoplan »

There are several mappackers outside but none of them is really good.

If anyone feels fancy to code one, this would help a lot of mappers out there.
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Is there a map packer?

Post by Bliccer »

Just use a proper structure and you only have to copy 4 folders... textures/mymapname_decals, textures/mymapname_floor etc...
You should create an own shader for your map anyway if you want to be 100% sure that your textures are running nicely.
camel
Posts: 69
Joined: Sun Dec 06, 2009 9:58 pm

Re: Is there a map packer?

Post by camel »

The "Q3Map2Toolz" have build in the "Mapacker by Equim", it does its job pretty well, I mean, it search from the map what textures, sounds, models & shaders was used and put all into PK3 as a whole pack :)
AEon
Posts: 1816
Joined: Sun Apr 20, 2003 7:00 am

Re: Is there a map packer?

Post by AEon »

Wanted to suggest "Q3Map2Toolz", but had forgotten the name. You might need to clean up the shader file though, depending how much experimental shaders you created for the map.

(Been a while since I last used the tool though, but I do remember it working really well, and helping me get a complete working pk3 very early into the mapping process.)
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: Is there a map packer?

Post by Bacon »

Mapacker 1.03 is what q3map2toolz uses.
[b]CAPSLOCK IS ON[/b]
User avatar
Theftbot
Posts: 483
Joined: Thu Oct 08, 2009 4:03 am

Re: Is there a map packer?

Post by Theftbot »

WinRAR works well too!
Post Reply