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

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4489
    • 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
i can now freely admit that I AM in fact, A Shitty player.  The weight has been lifted. long time coming too

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 604
    • View Profile
    • Q u a k e 2 W o r l d . n e t
  • 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: 4489
    • 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
i can now freely admit that I AM in fact, A Shitty player.  The weight has been lifted. long time coming too

Offline soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1248
  • "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: 604
    • View Profile
    • Q u a k e 2 W o r l d . n e t
  • 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: 1248
  • "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: 2058
  • 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: 1248
  • "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: 604
    • View Profile
    • Q u a k e 2 W o r l d . n e t
  • 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: 1248
  • "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: 604
    • View Profile
    • Q u a k e 2 W o r l d . n e t
  • 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: 1248
  • "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: 4489
    • 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
i can now freely admit that I AM in fact, A Shitty player.  The weight has been lifted. long time coming too

Offline soh

  • Carpal Tunnel Member
  • ******
  • Posts: 1248
  • "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: 604
    • View Profile
    • Q u a k e 2 W o r l d . n e t
  • 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:

 

quadz

Today at 11:00:26 AM
Happy Quakesgiving!

fdrjk

November 26, 2014, 07:31:46 PM
ruiner wants my D
 

herbski

November 26, 2014, 06:06:45 PM
Any tdm tonight? Just wondering if anybody wants to get some fun team games going.....  ;)

sonny

November 25, 2014, 10:40:39 PM

MRE

November 25, 2014, 09:43:18 AM
I would but I don't have a computer that'll play it right now I'll be on later though probably next yea I played all last yea and about half of this yea. Oh yea look on Quakecomm.co.nr it's me and Optica on there so far. Alright later. I think that's what started his silent treatment. Ggs later
 

beaver{KEA}

November 24, 2014, 08:20:11 PM
sup man KEA has a facebook page most guys are playing BF4.. are you into CTF? or Railz CTF? RA2? let me know we been having some great games lately.. got a instagib CTF tournament coming up you are welcome to sign up

MRE

November 24, 2014, 07:43:41 PM
sup beaver it's me thab0$${kea}
 

2d

November 21, 2014, 08:14:49 PM
Ra2 Friday?! If u got the time, join in!

cse

November 20, 2014, 12:05:06 AM
 

beaver{KEA}

November 16, 2014, 10:14:41 PM
RA2 join us we have 6

Show 50 latest
Welcome, Guest. Please login or register.
November 27, 2014, 03:58:40 PM

Login with username, password and session length