Mac install problem

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sun Nov 05, 2006 12:21 pm

  • I downloaded the .zip file, extracted it to a folder, dropped the folder in the Applications folder and double click on the mac Nexuiz icon and I get an error saying it can't find the info and that I need to set a -basedir/path stuff.. but I don't know how to set a command line with the mac.. and why does it need this, since it's a default location relative to the executable?

    Please help

    btw I have a 12" Powerbook running a GeForce FX 5200 1.5ghz G4 OSX Tiger
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Sun Nov 05, 2006 1:58 pm

  • Sorry, you can't do that...

    the problem is that the Nexuiz package is made for all platforms, not just Mac - so we couldn't put the data in the engine binary.

    That means for you: you cannot copy/move the Nexuiz icon to the Applications folder. You need to create a link and need to keep the Nexuiz directory around. And of course, you do not NEED to put it in the Applications folder - you can already double click the Nexuiz or Nexuiz-SDL binaries without doing that.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sun Nov 05, 2006 9:14 pm

  • divVerent wrote:Sorry, you can't do that...

    the problem is that the Nexuiz package is made for all platforms, not just Mac - so we couldn't put the data in the engine binary.

    That means for you: you cannot copy/move the Nexuiz icon to the Applications folder. You need to create a link and need to keep the Nexuiz directory around. And of course, you do not NEED to put it in the Applications folder - you can already double click the Nexuiz or Nexuiz-SDL binaries without doing that.



    I think you misunderstood.. I have the whole folder in there, pc and linux executables and all.. I unzipped everything into a folder (and it has subdirectories like data and such) and moved the whole thing into the apps folder, which shouldn't be a problem. I didn't move the mac executable either, it's still at the base of nexuiz folder. (applications/nexuiz/)

    Just to be sure Nexuiz wasn't different than other mac applications, I moved the entire folder out of the applications folder and into documents.. and double clicked the app there.. and it still ran, then gave me an error saying the same thing.

    The mac nexuiz executable can't find the data needed to load the content even though I see .pk3 files in applications/nexuiz/data folder.
    Last edited by Hawkslayer on Sun Nov 05, 2006 9:21 pm, edited 1 time in total.
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Sun Nov 05, 2006 9:21 pm

  • Which .pk3 files do you see in your Nexuiz/data folder?

    Which are the very first console messages (when you scroll up) - there should be something about libz. Do you find that?
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sun Nov 05, 2006 9:22 pm

  • wow quick reply.. I'll check right now.
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Sun Nov 05, 2006 9:25 pm

  • data20060905.pk3
    common-spog.pk3
    are the files in nexuiz/data folder

    First errors in console say couldn't exec quake.rc, default.cfg, autoexec.cfg

    I didn't notice anything about libz, but the console is hard to read since the "northeast" and "southwest" corners of the screen are all white (background image?)
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Mon Nov 06, 2006 10:36 am

  • Hawkslayer wrote:I didn't move the mac executable either, it's still at the base of nexuiz folder. (applications/nexuiz/)

    I have no real clue about macs but just to remove a bit confusion.. The Mac executable is NOT in the Nexuiz base dir, the two versions (native and sdl) are inside the Nexuiz/Nexuiz.app and Nexuiz/Nexuiz-SDL.app directories. The binary in the Nexuiz basedir is just the dedicated server.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Nov 06, 2006 10:45 am

  • Try using the Page Up key to find out if it complained about not loadable libraries.

    Which exact version of OS X are you using?

    The PK3s you named are the correct ones.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Nov 06, 2006 8:12 pm

  • esteel wrote:I have no real clue about macs but just to remove a bit confusion.. The Mac executable is NOT in the Nexuiz base dir, the two versions (native and sdl) are inside the Nexuiz/Nexuiz.app and Nexuiz/Nexuiz-SDL.app directories. The binary in the Nexuiz basedir is just the dedicated server.


    I'm pretty sure Mac OSX treats the Nexuiz.app and Nexuiz-SDL.app folders as binaries.

    The problem definitely sounds like a zlib/libz problem.
    Unfortunately, zlib/libz is initialized before the client, so it won't show up in your console, and the condump/savelog command didn't make it into the engine until after the last major release.

    Is it possible for you to launch the game from a terminal with the option -condebug ? (IE: ./Nexuiz(.app) -condebug [sorry, I really am not very familiar with macs]?
    This would create a file named qconsole.log in your Nexuiz/data dir which would indicated if zlib/libz is failing or not.
    --Willis
    User avatar
    Willis
    Site Admin
     
    Posts: 168
    Joined: Tue Feb 28, 2006 7:00 pm
    Location: Wisconsin, USA

Mon Nov 06, 2006 11:29 pm

  • To check for that, open Terminal.app, "cd" into the Nexuiz directory and run ./nexuiz-osx-ppc-dedicated. Look at the first lines it wrote.

    BTW... I would really like to remove the -ppc- from the binary names because they are universal binaries since 2.0, but I can't because if I did that, installing a patch would keep the old engine around...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Nov 07, 2006 10:38 am

  • Well we have had a similar problem with the nexuiz-linux*.sh scripts. Up to 2.0 there was only one, in 2.1 there are two + the old one in case of a patched system. Granted those were only wrappers and the real binaries got replaced nevertheless but do you really think there are much mac servers? And how many of those admins will run into problems when changing the filename? I do not think this is a problem that should hold back such a name change.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Nov 07, 2006 11:17 am

  • No, the binaries always have "ppc" in their names... simply because 1.5 had no universal binaries.

    Of course, functionality wise it doesn't matter... but I certainly do NOT want to keep the old dedicated server around when updating.

    Symlinks would fix that, but they would mean more files when extracting, plus I don't know how Windows archive programs handle symlinks in ZIP files...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Nov 21, 2006 10:56 pm

  • Sad to say, I still haven't gotten this to work on my OSX 1.4 Mac. (12" 1.5ghz G4 Powerbook)

    I'm new to the Mac, so all the common windows commandline stuff is all unix type stuff here, and I'm not a unix guy. I bought a mac for it to be simple and reliable, not harder than windows to run stuff *sigh*

    Do you have any OSX users in-house for you guys to test the release, or are we assuming since it built that it runs?

    I really don't wanna come on here and complain, especially since it's a free download, yet this has been pretty frustrating trying to get working and if someone who knows how to get this running can help out, I'd really appreciate it. I'd be suprised if this is an uncommon thing for OSX users, but perhaps I messed something up when I unzipped the download.

    It looks like a cool game and I'd love to get past the installation process and check out your creation! :)

    I'm still at the same error stuff listed above. I booted terminal to try and add silly commandline paramaters to it, and typing nexuiz-osx-ppc-agl-bin in /applications/nexuiz/nexuiz.app/contents/macos directory doesn't run the game, even though when I double click on it, it runs. I tried opening the file in texedit to see if it is some kind of script, and it looks like a binary.. and there is no "show package contents" option so it looks like this is the file to run.. so I need to know what to do next.
    Last edited by Hawkslayer on Tue Nov 21, 2006 11:04 pm, edited 1 time in total.
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Tue Nov 21, 2006 11:04 pm

  • Hawkslayer wrote:Do you have any OSX users in-house for you guys to test the release, or are we assuming since it built that it runs?

    Actually, on the Darkplaces page (the engine the game uses) it does say that there haven't been any Mac releases of Darkplaces recently because Lord Havoc's friend's Mac is out of commission. So, no, it doesn't get tested as thoroughly as other platforms.
    Laters losers.
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Tue Nov 21, 2006 11:07 pm

  • Ah, ok.. I only checked out the nexuiz part so I didn't see that.

    I'd be happy to try stuff out if someone wants to get this running and maybe improve the next release or documentation somehow for any others who have this situation.

    Do you all have any confirmed OSX users out there?

    I'm willing to help figure this out, if you all wanna guide me though some tests.
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Tue Nov 21, 2006 11:19 pm

  • divVerent wrote:To check for that, open Terminal.app, "cd" into the Nexuiz directory and run ./nexuiz-osx-ppc-dedicated. Look at the first lines it wrote.


    I missed this part.. (the ./ before the executable fixed me not able to run the binary)

    I ran the dedicated and got this:

    Nexuiz Mac OS X 22:16:34 Sep 5 2006
    Trying to load library... "libz.dylib" - loaded.
    Compressed files support enabled
    Added packfile data/common-spog.pk3 (26 files)
    data/data20060905.pk3 is not a valid PK3 file
    unable to load pak "data/data20060905.pk3"
    Trying to load library... "libcurl.3.dylib" - loaded.
    cURL support enabled
    couldn't exec quake.rc
    couldn't exec default.cfg
    couldn't exec autoexec.cfg
    Couldn't load map maps/start.bsp

    So.. it seems my pk3 might be corrupted.. so I'm gonna re-download and post my results.
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Tue Nov 21, 2006 11:25 pm

  • From my map dowload server's logs, I can conclude we do have Mac users... but I cannot conclude how many. A rough guess would be about 10 to 30 users (given from how often the same maps were downloaded).
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Nov 21, 2006 11:42 pm

  • Cool, it looks like it could be as simple as a bad download on my end.. *doh*

    Hope it is just that. I sure don't wanna have to figure out how to make a batch file to run the app with special command line switches. :)
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Tue Nov 21, 2006 11:52 pm

  • Hawkslayer wrote:data/data20060905.pk3 is not a valid PK3 file
    unable to load pak "data/data20060905.pk3"

    So.. it seems my pk3 might be corrupted.. so I'm gonna re-download and post my results.

    Yes indeed this error message looks like a download error. Though actually your zip program should have complained about this when you tried to extract Nexuiz :)
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Nov 22, 2006 12:41 am

  • Well, it seems I ran out of disk space when it was unzipping and I didn't notice.. because while the binaries worked, the .pk3 file was corrupt/incomplete.

    All is well, thanks!

    Runs nice, actually. :)

    Off to polish up my DM skills..
    Hawkslayer
    Member
     
    Posts: 10
    Joined: Sun Nov 05, 2006 12:18 pm

Wed Nov 22, 2006 8:24 am

Fri Mar 14, 2008 11:27 am

  • I think my pk3 files are corruped too. But i have no ways to re-download all arhive. Can you give me only common-spog.pk3 and data20080229pro.pk3 files ? Thanks.
    Vilatrix
    Newbie
     
    Posts: 5
    Joined: Thu Mar 13, 2008 5:36 pm
    Location: Russia

Fri Mar 14, 2008 12:18 pm

  • Now have got me confused.. are you using windows (in the other thread you talked about exe files) or an mac? Then could you please try to explain what you DID and what files you are using?
    Like did you extract nexuiz-24.zip and doubleclicked on nexuiz.exe? Are you sure the extraction was ok? Do you have a Nexuiz/data directory with a large file 'data20080229.pk3' ?

    PS. that pk3 file is ALMOST as big as the full download (it contains all the game data) so if someone were to send you this file you could also download the whole thing :)

    Regards
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Fri Mar 14, 2008 2:23 pm

  • :D
    Vilatrix
    Newbie
     
    Posts: 5
    Joined: Thu Mar 13, 2008 5:36 pm
    Location: Russia

Fri Mar 14, 2008 2:52 pm



Return to Nexuiz - Support / Bugs




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