Author Topic: Updated AprQ2 for Mac and Linux users  (Read 50921 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: 2290
  • 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:

 

-Unh0ly-

March 18, 2024, 03:51:45 AM

https://www.youtube.com/watch?v=NjGjxwHT6ok

played guitar drums bass and sang cuz everyone too lame to start a band with me

0rbisson

March 14, 2024, 04:29:08 AM
HT1 or whatever the stupid map name is instant server killer. the map is trash, Everyone leaves
 

Costigan_Q2

March 10, 2024, 04:00:02 PM
This is my fave TS post.

And quadz posted it - some ppl must haaate that. :)
 

-Unh0ly-

February 29, 2024, 08:35:47 AM
MONDAY NIGHT RAILWARZ GAMES   74.91.120.171:27910 -- BIG FUCKIN GAMES.... LETS GO!!!!!!!
 

|iR|Focalor

February 29, 2024, 01:19:58 AM
 

|iR|Focalor

February 27, 2024, 12:23:01 AM

0rbisson

February 26, 2024, 11:38:19 AM
player "shogun" known hacker back on ts servers. http://forum.tastyspleen.net/quake/index.php?topic=21160.msg201752#msg201752
 

|iR|Focalor

February 17, 2024, 10:11:59 PM
 

Costigan_Q2

February 16, 2024, 07:45:01 AM
Almost 4 months ey? that's a new record.

Last accepted: profile;u=7126
Date Registered:17-10-2023
WaKy-FeLa

Last registered: profile;u=7150
Date Registered:09-02-2024
damsonpharmacy

0rbisson

February 14, 2024, 10:51:18 PM
pings back up to 400+ on dm

Show 50 latest
Welcome, Guest. Please login or register.
March 29, 2024, 12:24:15 AM

Login with username, password and session length