How get the map to work in Nexuiz?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Sun Apr 15, 2007 7:31 pm

  • I've made a map of sorts, and now I'm trying to get ti to run in Nexuiz. The .pk3 is a .zipped archive of the following folders: "levelshots" (which is currently empty), "maps" (which contains a .bsp file), and "textures" (which contains lots of new textures in .jpg-format).

    I can get the map to run in Quake 3, but then only by typing in the name in the console. However, none of the new textures show, and everything is covered with those ugly black-and-white squeres. Don't get any shading either.

    In Nexuiz, however, the level won't open at all.

    Could the problem be that I'm making the maps with Radiant set for Q3? Or am I doing something else wrong?
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Sun Apr 15, 2007 7:57 pm

  • The map should also work in Nexuiz, when you enter "map <mapname>" in the console. As for the missing textures: if you used textures that ship with nexuiz, you won't see them in q3.

    To get your map in the menu, you need a mapcfg file and a textfile with a description. Nexuiz/Docs/mapping.txt should explain everything you need to know.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sun Apr 15, 2007 9:37 pm

  • KadaverJack wrote:The map should also work in Nexuiz, when you enter "map <mapname>" in the console.

    Not in my case...
    As for the missing textures: if you used textures that ship with nexuiz, you won't see them in q3.

    I used custom textures - decided it was easier to slap together some new textures than to hunt down ones that looked the way I wanted.. ;)
    To get your map in the menu, you need a mapcfg file and a textfile with a description. Nexuiz/Docs/mapping.txt should explain everything you need to know.

    Adding a mapcfg didn't make any difference, but I'll take a look at the file you mentioned and see if that clears things up.

    Oh, and hte map is supposed to go in the "data" folder, right? Cuz that's where all the other maps are...
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Sun Apr 15, 2007 9:47 pm

  • Clueless Newbie wrote:
    KadaverJack wrote:The map should also work in Nexuiz, when you enter "map <mapname>" in the console.

    Not in my case...

    weird... could you post a link for your map?

    Oh, and hte map is supposed to go in the "data" folder, right? Cuz that's where all the other maps are...

    the pk3 is supposed to go there. if you don't zip it, the bsp needs to be in data/maps/
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sun Apr 15, 2007 11:21 pm

  • [quote="KadaverJack"]
    weird... could you post a link for your map?

    Sure:

    http://www.notam02.no/~clund/q3/GreatDevide.pk3

    Note that this map is a work in progress. So don't anybody host it on a server. Not yet anyway.. ;)
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 1:39 am

  • Nexuiz does not like you pk3 file for some reason. From the log:
    Added packfile /home/esteel/.nexuiz/data/GreatDevide.pk3 (0 files)

    I just extracted it and repacked it and it worked then. Not sure yet whats wrong with your file though. What program did you use to zip it up?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Apr 16, 2007 6:47 am

  • esteel wrote:Nexuiz does not like you pk3 file for some reason. From the log:
    Added packfile /home/esteel/.nexuiz/data/GreatDevide.pk3 (0 files)

    I just extracted it and repacked it and it worked then. Not sure yet whats wrong with your file though. What program did you use to zip it up?

    I used the built-in archiving function in OS X.

    And that does not work? Hmm.. this could be problematic...
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 7:43 am

  • esteel wrote:Nexuiz does not like you pk3 file for some reason. From the log:
    Added packfile /home/esteel/.nexuiz/data/GreatDevide.pk3 (0 files)

    I just extracted it and repacked it and it worked then. Not sure yet whats wrong with your file though. What program did you use to zip it up?
    After fidlling around some, I figured out how to zip categories through Terminal (the *nix CLI of OS X). This time I got a map that actually loaded in Nexuiz - and if showed up in the menu. But Nexuiz couldn't figure out that it was a CTF map, and the custom textures didn't show at all. IOW I got a map full of white surfaces. So I'm obviously still doing something wrong. Did you get the custom textures when you loaded the map?

    I've replaced the previous version with a new one - same name and location

    http://www.notam02.no/~clund/q3/GreatDevide.pk3

    Does this work in Nex for you? Do you see the custom textures or is it all white?
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 12:12 pm

  • Your have to move your textures from textures into textures/chl then you will see them.
    Also the command map GreatDevide really just load the map (the bsp file). If you would use the menu or the command chmap GreatDevine then both use the GreatDevine.mapcfg file and THEN its ctf just fine. KadaverJack just mentioned the map command as back then you did not yet have a mapcfg file..

    Oh can you please recreate the pk3 file with the mac gui and give it to us (you replaced the old download) so we can look if we maybe can fix it?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Apr 16, 2007 1:52 pm

  • esteel wrote:Your have to move your textures from textures into textures/chl then you will see them.

    Hmm.. not there yet.. I'll have to tinker with this some more.
    Oh can you please recreate the pk3 file with the mac gui and give it to us (you replaced the old download) so we can look if we maybe can fix it?

    Sure. It's here:

    http://www.notam02.no/~clund/q3/GreatBleh.pk3

    BTW: I've just dicovered that the Nex characters are taller than the Q3 characters. Which means I'll have to raise all the roofs in the map.. ;)
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 6:19 pm

Mon Apr 16, 2007 7:01 pm

  • esteel wrote:
    Clueless Newbie wrote:
    esteel wrote:Your have to move your textures from textures into textures/chl then you will see them.

    Hmm.. not there yet.. I'll have to tinker with this some more.

    Works fine for me:
    http://esteel.planetnexuiz.de/nexuiz/mi ... 000969.jpg
    here compare that to your file..
    http://esteel.planetnexuiz.de/nexuiz/mi ... Devide.pk3

    Yeah - that works. Unlike the files I make.

    However, it seems like the glowmaps, bumpmaps, and gloosmaps don't work. Couldn't see them in your screenshot either. Not that they seem to work in any other of the maps either...
    People will look at that Bleh file.. But that gui program also seems to add some thumbnails.. that almost doubles the filesize. You really should use a REAL program to zip your stuff.. :P

    That would seem to be necessary. Making levels is hopeless if I need to send them to somebody esle to zip them for me.. ;p

    Know of any good freeware zipping apps for OS X?
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 7:21 pm

Mon Apr 16, 2007 8:03 pm

  • p7zip for macosx:
    http://homepage.mac.com/krmathis/

    got no mac - so I could not check if THIS version could do zip-files, the windows and linux-version can do
    ZyanKLee
    Alien
     
    Posts: 151
    Joined: Sun Feb 18, 2007 8:58 pm
    Location: Germany

Mon Apr 16, 2007 8:16 pm

  • ZyanKLee wrote:got no mac - so I could not check if THIS version could do zip-files, the windows and linux-version can do

    If it's just an osx port of p7zip: yes it can (it even compresses a bit better than infozip), but it's also a commandline tool.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Apr 16, 2007 9:14 pm

  • esteel wrote:That screenshot was taken at low settings.. i think they work though. See high settings here:
    http://esteel.planetnexuiz.de/nexuiz/mi ... 000970.jpg
    http://esteel.planetnexuiz.de/nexuiz/mi ... 000971.jpg

    Hmm.. I guess gloss and bumpmaps don't work on the OS X version of Nex then. Or maybe it's just my graphics card. The glowmaps seem to work though. Oh well.
    As for packaging your pk3 file.. why not just use the console zip?

    Well, it seems the Terminal zipper is only marginally better than the GUI zipper. The resulting files sometimes partially work, sometimes not... ;p
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 9:16 pm

  • ZyanKLee wrote:p7zip for macosx:
    http://homepage.mac.com/krmathis/

    got no mac - so I could not check if THIS version could do zip-files, the windows and linux-version can do

    Well, I downloaded it. Opened the .dmg. Read the installation procedure... went "huh"?

    I'll try again some other day. B)
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Apr 16, 2007 9:42 pm

  • Clueless Newbie wrote:Hmm.. I guess gloss and bumpmaps don't work on the OS X version of Nex then. Or maybe it's just my graphics card.

    They might require GLSL, which is disabled on osx, due to broken drivers...
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Apr 16, 2007 9:55 pm

  • Clueless Newbie wrote:Well, I downloaded it. Opened the .dmg. Read the installation procedure... went "huh"?

    I'll try again some other day. B)

    all you need to do is to cd into the directory that contains your files (maps/ and textures/ directories) and do:
    7z -tzip -mx=9 a myfile.pk3 .

    I'm not sure though is the program is also named 7z for you..
    -tzip tells it to make zip files, -mx=9 is maximum compression, a = add files, myfile.pk3 file name, and finaly . = all files and directories in the current dir
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am


  • Ok, I figured it out.

    The problem is that OS X stores a hidden file named ".DS_Store" in each and every folder. This contains information about how the window appears when it opens, and probably a lot of other stuff as well. All I have to do is remove all instances of .DS_Store in the map folders before zipping, and everything works just fine. 8)
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm


  • Clueless Newbie wrote:The problem is that OS X stores a hidden file named ".DS_Store" in each and every folder. This contains information about how the window appears when it opens, and probably a lot of other stuff as well. All I have to do is remove all instances of .DS_Store in the map folders before zipping, and everything works just fine. 8)

    The .DS_Store files are nasty, but shouldn't cause any problems with dp. However there is no need to delete them, you can tell 7z to exclude those files when creating an archive (-xr\!.DS_Store see http://fly.isti.cnr.it/doc/p7zip-full/DOCS/MANUAL/switches/exclude.htm)
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Tue Apr 17, 2007 10:39 am



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest