Author Topic: Updated AprQ2 for Mac and Linux users  (Read 54209 times)

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #30 on: February 27, 2011, 09:30:49 PM »
So I have run into a snag.  I followed the link to download the Java Developer Package, installed that, and then opened the Macports-1.9.2.pkg and I get this error message:

EDIT by Reflex:  Cropped pic as it showed both your work and home ip's.





« Last Edit: February 28, 2011, 07:26:24 AM by [BTF] Reflex »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1372
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #31 on: February 27, 2011, 11:10:50 PM »
You must also install the Xcode developer tools. Use your Snow Leopard DVD to install the optional Xcode tools and the command line tools. It's not normally installed on systems.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #32 on: February 28, 2011, 04:23:38 AM »
That involves a bit of dumping out my desk drawers.  I'll have to work on that when I get home from work today :(

Nevermind, I found it in 20 seconds.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #33 on: February 28, 2011, 04:48:33 AM »
Looks like I have everything installed now, but I have run out of time and have to go to work :(  I'll have to try to build the game when I get home.

Jay, I'll keep you updated so you don't have to waste any of your free time!
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #34 on: February 28, 2011, 04:50:21 AM »
Sorry this is kind of involved / technical, erik.  On the bright side, MacPorts will open up access to hundreds of other software packages you might potentially find useful.  Granted, the majority of them are kind of "development" related, but there also some others that are pretty sweet:

- GIMP
- Alien Arena
- FFMpeg

Etc.. And having MacPorts installed will also enable you to build Quake2World rather easily, if you were interested in checking that out too :)

Good luck!

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #35 on: February 28, 2011, 03:43:18 PM »
Okay so I think I need you to hold my hand through this process, because I have no idea what I am doing.

I have the choice of Cocoa Application; Cocoa-AppleScript Application; Quartz Composer Application; Command Line Tool.

I have all the tools necessary but I don't know how to use them. :(
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4498
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #36 on: February 28, 2011, 04:02:22 PM »
well on the bright side when alls said and done youll have learned something about your mac you never knew before :P

AND aprq2 will kick the shit out of the half broken horrid mac client youve been running
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #37 on: February 28, 2011, 04:07:10 PM »
Oh, you don't need to *use* XCode at all.  Installing XCode is simply the easiest (only?) way to install the GNU C compiler and other related tools that building AprQ2 requires.

It sounds like you've installed XCode, then.  So have you also installed MacPorts?  You can download a small .dmg file from here: http://www.macports.org/install.php

Install that sucker, and then type the following at the command line:

sudo port selfupdate
sudo port install libsdl_mixer libsdl_image curl

This will take a while (half hour?).  Then "checkout" the AprQ2 code:

cd ~/
svn co svn://quake2world.net/aprq2/trunk aprq2

Then build it:

cd aprq2
make

Then install it.  Assuming you already have a Quake2 install at /path/to/quake2, run the following:

cd /path/to/quake2
ln -s ~/aprq2/releasei386/aq2 .
cd baseq2
ln -s ~/aprq2/releasei386/gamei386.so .
cd ..

Then run it:
./aq2

Should work.  Good luck!

« Last Edit: February 28, 2011, 04:11:31 PM by Jay Dolan »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #38 on: February 28, 2011, 04:19:24 PM »
I couldn't figure out where the hell to enter these commands for the longest time.  I knew what I was looking for, but I didn't remember that it was called "terminal."

I'll keep you updated on the process.  Will you be on here for a while, or is there an easier way for me to get ahold of you?  IM?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #39 on: February 28, 2011, 04:22:22 PM »
And Reflex, thanks for looking out.  The thought never crossed my mind that they were even visible from the screenshot, nor that someone would actually do anything malicious, but I appreciate it nonetheless.  I did for whatever reason activate my computer's firewall the same night that I posted that, but who knows if it would actually keep anyone out that really wanted to get in.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #40 on: February 28, 2011, 04:51:00 PM »
well on the bright side when alls said and done youll have learned something about your mac you never knew before :P

AND aprq2 will kick the shit out of the half broken horrid mac client youve been running

I am really, really hoping so.  I'll take some before and after screen shots to see if there is a noticeable difference.

If I build the game in the same quake2/baseq2 folder, will it reference the same config.cfg autoexec.cfg player skins, maps, etc?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #41 on: February 28, 2011, 05:48:18 PM »
--------- [Loading Renderer] ---------
Using /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib for OpenGL...setting mode 3: 640 480
Error: Couldn't load conchars.pcx
logout

[Process completed]


Also, I am having an issue extracting the z6_32bitclr_png_allmaps.7z file.  If I have it placed in aprq2/baseq2 is there a way I can extract it through terminal?

Was reading through the terminal and also came across this error message:
Last login: Mon Feb 28 21:36:02 on ttys000
erik-aaltos-mac-mini:~ eandm$ cd~/
-bash: cd~/: No such file or directory
erik-aaltos-mac-mini:~ eandm$ svn co svn://quake2world.net/aprq2/trunk aprq2
Checked out revision 942.
erik-aaltos-mac-mini:~ eandm$ cd aprq2
erik-aaltos-mac-mini:aprq2 eandm$ make
make targets BUILDDIR=releasei386 CFLAGS="-funsigned-char -pipe -D__APPLE__ -I/opt/local/include -DUSE_CURL -DUSE_SDL -Wall -O2 -DNDEBUG"
erik-aaltos-mac-mini:aprq2 eandm$ cd /path/to/quake2
-bash: cd: /path/to/quake2: No such file or directory
erik-aaltos-mac-mini:aprq2 eandm$


erik-aaltos-mac-mini:aprq2 eandm$ cd /path/to/quake2
-bash: cd: /path/to/quake2: No such file or directory
« Last Edit: February 28, 2011, 06:37:59 PM by erik »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1372
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #42 on: February 28, 2011, 08:15:30 PM »
General notes and advice:

The command is cd ~, not cd~/ you MUST have the space but you don't need the slash. The cd ~ command is a fast way in terminal to get to your home directory.
It looks like you have successfully built aq2 and the other libraries. Now you need to copy them to your quake2 folder and install the rest of quake2.

Now you need to copy all the other Quake2 game components from where ever you keep them into your Windows version. You can do all that by quitting the terminal window and using Finder to copy them from your archives into your eandm/quake2 folder.

The game won't launch properly until you have all the other content from idSoftware in place, in that folder tree.

Then do the following commands in terminal in this order:

cd ~
cp aprq2/releasei386/aq2 quake2/
cp aprq2/releasei386/*.so quake2/baseq2/

This puts the new aprq2 binaries in your ~/quake2 folder.

Now you should be able to start aq2 in the ~/quake2 folder by double-clicking the program.
« Last Edit: February 28, 2011, 08:29:35 PM by QwazyWabbit »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #43 on: February 28, 2011, 08:31:21 PM »
Yep, you're _really_ close now, erik.  Once you get the binaries and game data in the same location, you'll be good to go.

As for extracting R1CH's pak file, you can install both wget and 7zip with the following:

sudo port install wget p7zip

And then the rest of the commands I gave above will work.

You mentioned to me via PM that you're very short on hard drive space, but that you already have a Quake2 install directory.  The instructions I gave earlier for creating those symbolic links (`ln -s ~/aprq2/releasei386...`) will allow you to link the AprQ2 binaries right into your existing Quake2 directory.  You can safely add them there without fear of overriding your configs or breaking anything, and they will in fact pick up all of your existing maps and whatnot.

Good luck, you're almost there!

Btw, you can catch me on AIM as qu4k3w0r1d.

Offline QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1372
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #44 on: February 28, 2011, 08:55:14 PM »
There is one bug in aprq2 that will stop it from working.

Source file ~/aprq2/qcommon/files.c, line 1298 should read:


      int len = snprintf(gdir,sizeof(gdir),"%s/quake2/%s/", homedir, dir);

NOT


      int len = snprintf(gdir,sizeof(gdir),"%s/.quake2/%s/", homedir, dir);
« Last Edit: February 28, 2011, 09:07:28 PM by QwazyWabbit »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 01:20:33 AM

Login with username, password and session length