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

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 #90 on: July 12, 2011, 12:19:25 PM »
bump
  • 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 #91 on: July 12, 2011, 07:14:40 PM »
Bump what?  I think I answered all of the questions folks had, no?

 :???:

I haven't worked on this in a little while now.. had some major life events go on.  I'll probably get back to this port, and Quake2World, in the late autumn / winter.

Jay

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 #92 on: July 13, 2011, 02:34:32 AM »
it was a page back :) and i linked some one to it
  • 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 soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #93 on: June 24, 2012, 10:41:15 PM »
Quote
quake2world.net/aprq2/trunk aprq2

Looks like this is broken. Where can I get the aprq2 source????

At least, isn't that where you're supposed to start in order to build the game with 'make'?
  • 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 #94 on: June 25, 2012, 08:54:29 PM »
You need to do an svn checkout to pull the code down.

Code: [Select]
svn co svn://quake2world.net/aprq2/trunk aprq2

That will checkout the code so that you can compile it. Follow the rest of the instructions mentioned in the INSTALL file:
http://jdolan.dyndns.org/trac/browser/aprq2/trunk/INSTALL

Basically, after you compile it, you just need to place it (and the game*.so file) in your Quake2 directory. After running `make`, the binaries will be in the release* folder, where * is your architecture (e.g. i686, x64, etc..). The INSTALL file walks you through it.

Edit: Ya know, enough people have had trouble compiling this.. and I've learned how to build packages for both OSX and Linux in doing the Quake2World BETA.. so I'll just go ahead and create packages for AprQ2. I've started on this tonight and will finish it this week sometime. At that point, you'll be able to just download something, drop a couple .pak files into it, and click "AprQ2".
« Last Edit: June 25, 2012, 09:31:35 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 soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #95 on: June 26, 2012, 05:34:11 AM »
You need to do an svn checkout to pull the code down.

Code: [Select]
svn co svn://quake2world.net/aprq2/trunk aprq2

That will checkout the code so that you can compile it. Follow the rest of the instructions mentioned in the INSTALL file:
http://jdolan.dyndns.org/trac/browser/aprq2/trunk/INSTALL

Basically, after you compile it, you just need to place it (and the game*.so file) in your Quake2 directory. After running `make`, the binaries will be in the release* folder, where * is your architecture (e.g. i686, x64, etc..). The INSTALL file walks you through it.

Edit: Ya know, enough people have had trouble compiling this.. and I've learned how to build packages for both OSX and Linux in doing the Quake2World BETA.. so I'll just go ahead and create packages for AprQ2. I've started on this tonight and will finish it this week sometime. At that point, you'll be able to just download something, drop a couple .pak files into it, and click "AprQ2".

I have aprq2 in the home folder. So, I did the parent directory for .quake2 in the home folder too. And then, when I run make:

Code: [Select]
~/aprq2/src $ make -j3
make: *** No targets specified and no makefile found.  Stop.


 says this. So, what is going on???

 I think I installed the dependencies correctly... did I?





« Last Edit: June 26, 2012, 06:16:13 AM by Escher »
  • 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 yahoo

  • Opulent Member
  • *
  • Posts: 2291
  • Quake II | Powered by SMF 1.0.9.
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #96 on: June 26, 2012, 05:48:24 AM »
did you did a ./configure
  • 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
Quake II | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

Offline soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #97 on: June 26, 2012, 06:16:27 AM »
Where do I do that?
  • 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 #98 on: June 27, 2012, 07:51:42 AM »
There is no `./configure` necessary for AprQ2 -- it uses standard Makefiles, not Autotools.

I still don't think you've actually checked out the source code. Do you have Subversion installed? Can you run `svn` at the terminal? If not, go install Subversion.

First, setup a Quake2 directory that can serve as your install. It should look something like this:

Quake2
--baseq2
----pak0.pak
----pak1.pak
----pak2.pak

Then do this (and seriously, just copy and paste it):
Code: [Select]
cd ~/
svn co svn://quake2world.net/aprq2/trunk aprq2-source
cd aprq2-source
make -j3
install bin/aq2 ~/Quake2
install bin/game.so ~/Quake2/baseq2

And then run the game:
Code: [Select]
cd ~/Quake2
./aq2

Lastly, like I said, I've started working on binary packages for AprQ2. I will likely have them done this week or next at the latest. I have a lot of personal stuff and fundraising to do (http://www.pmc.org/profile/JD0369), but these packages shouldn't take that long since I can reuse much of what I did for Quake2World.

Offline soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #99 on: June 27, 2012, 03:26:12 PM »
I did install svn... long time ago. And I'm telling you Jay, every time I type make -j3 in the command line it says this :'(:

Code: [Select]
~/aprq2 $ make: sdl-config: Command not found
make targets CFLAGS="-funsigned-char -pipe  -DGL_QUAKE -DUSE_SDL -g -Wall"
make[1]: Entering directory `/home/walah/aprq2'
 [CC] cl_cin.o
 [CC] cl_demo.o
 [CC] cl_draw.o
In file included from src/client/../qcommon/qcommon.h:23:0,
                 from src/client/ref.h:23,
                 from src/client/client.h:24,
                 from src/client/cl_cin.c:20:
src/client/../qcommon/../game/q_shared.h:34:19: fatal error: zlib.h: No such file or directory
compilation terminated.
In file included from src/client/../qcommon/qcommon.h:23:0,
                 from src/client/ref.h:23,
                 from src/client/client.h:24,
                 from src/client/cl_demo.c:21:
src/client/../qcommon/../game/q_shared.h:34:19: fatal error: zlib.h: No such file or directory
compilation terminated.
In file included from src/client/../qcommon/qcommon.h:23:0,
                 from src/client/ref.h:23,
                 from src/client/client.h:24,
                 from src/client/cl_draw.c:19:
src/client/../qcommon/../game/q_shared.h:34:19: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [src/client/cl_cin.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [src/client/cl_draw.o] Error 1
make[1]: *** [src/client/cl_demo.o] Error 1
make[1]: Leaving directory `/home/walah/aprq2'
make: *** [debug] Error 2
  • 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 #100 on: June 27, 2012, 04:33:12 PM »
Clearly that is not the same error you've been posting. You are missing zlib.h. Install zlib-dev. Or just wait a few more days and use my binary builds  :beer:

Offline soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #101 on: June 27, 2012, 06:19:26 PM »
There is a list of them when I search for it.

Which one would it be?
  • 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 #102 on: June 27, 2012, 06:56:50 PM »
Clearly that is not the same error you've been posting. You are missing zlib.h. Install zlib-dev. Or just wait a few more days and use my binary builds  :beer:

your making binary builds!? :D

hate compiling from source on a binary distro.... always fucks me up somehow... binaries would be lovely
  • 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 soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1253
  • "Wir müssen wissen, wir werden wissen"
    • View Profile
    • Escher Site
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #103 on: June 27, 2012, 07:39:41 PM »
Would be a good idea for binaries.

 Wondering what is going on here though

Code: [Select]
~/aprq2 $ make -j3
make targets CFLAGS="-funsigned-char -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DGL_QUAKE -DUSE_SDL -g -Wall"
make[1]: Entering directory `/home/walah/aprq2'
 [CC] gl_image.o
 [CC] g_misc.o
 [CC] g_monster.o
src/ref_gl/gl_image.c:23:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
 [CC] g_phys.o
 [CC] g_save.o
src/game/g_save.c: In function ‘WriteField2’:
src/game/g_save.c:303:11: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadField’:
src/game/g_save.c:328:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘WriteClient’:
src/game/g_save.c:411:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadClient’:
src/game/g_save.c:442:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘WriteGame’:
src/game/g_save.c:471:9: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadGame’:
src/game/g_save.c:499:9: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘WriteEdict’:
src/game/g_save.c:539:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘WriteLevelLocals’:
src/game/g_save.c:572:11: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadEdict’:
src/game/g_save.c:604:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadLevelLocals’:
src/game/g_save.c:624:11: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘WriteLevel’:
src/game/g_save.c:646:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
src/game/g_save.c: In function ‘ReadLevel’:
src/game/g_save.c:702:9: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
make[1]: *** [src/ref_gl/gl_image.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/walah/aprq2'
make: *** [debug] Error 2
  • 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 #104 on: June 27, 2012, 08:50:02 PM »
Binary builds are up here:

http://jdolan.dyndns.org/trac/wiki/Quake2

You are missing libjpeg-dev, Escher. But try the Linux binary build. I made it on Debian Testing, so .. I can see that you're on Ubuntu; if it's 12.04, you should be all set.

 

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, 07:03:27 AM

Login with username, password and session length