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

Offline Cheaters-r-Scum

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #60 on: March 04, 2011, 06:14:08 AM »
- Added cl_draw_playername, cl_draw_playername_x, cl_draw_playername_y from Q2PRO (view player names by pointing at them in game)

Personally, I have had cl_draw_playernames for years now in my modifications to the AprQ2 sources. :-)
Very nice feature indeed and works flawlessly (in Linux and Windows).


Regards, CRS
  • 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 toecutter

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #61 on: March 11, 2011, 12:29:19 AM »
Hi All,
Just wanted to jump in as another Mac gamer. I didn't play q2 for ages now, but came across AprQ2 when looking for a new engine - strangely there seems to be more Q1 engines in development now.
Having to build the AprQ2 app yourself seems to be a bit of an ask. Is it not possible to distribute a binary?
  • 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 #62 on: March 11, 2011, 05:24:39 AM »
Anything's possible  ;)  I'd just have to spend a few hours figuring out how to produce a statically linked binary.  The main reason it requires folks to compile it on their own right now is that it is dynamically linked against libsdl, libpng, libcurl, .. On Windows, I could just distribute those .dll files alongside the binary and Windows would figure it out.  It doesn't work that way on Mac, unfortunately.

In the next week or two, I'll try to carve out a little time to fix the mouse bug and produce a static bin.

Offline quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #63 on: March 11, 2011, 05:59:15 AM »
The main reason it requires folks to compile it on their own right now is that it is dynamically linked against libsdl, libpng, libcurl, .. On Windows, I could just distribute those .dll files alongside the binary and Windows would figure it out.  It doesn't work that way on Mac, unfortunately.

BTW, there's a way to modify the library path embedded in the binary to make the load path relative to your app.  We do this with libsdl on OS X because we can't statically link to it.  (LGPL vs. closed-source app)

It's been years since I've dealt with this, I'll try to recall the procedure...


 :exqueezeme:

  • 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
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #64 on: March 11, 2011, 01:34:37 PM »
BTW, there's a way to modify the library path embedded in the binary to make the load path relative to your app.  We do this with libsdl on OS X because we can't statically link to it.  (LGPL vs. closed-source app)

It's been years since I've dealt with this, I'll try to recall the procedure...

Here's a HOWTO + discussion:

http://www.cocoadev.com/index.pl?MoreOnEmbeddingFrameworks

Wow, several people there had more trouble with it than I recall having.

But we don't rename the framework like they did, so for us it was pretty much just:

Quote
# select Settings/Simple View/ Installation Settings
# Change the "Path:" to "@executable_path/../Frameworks"
# Build the framework


 :shifteyes:
  • 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
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #65 on: March 12, 2011, 05:22:20 AM »
Thanks quadz.  I'll give the static build a shot, and if I hit any roadblocks I'll try this.

Offline toecutter

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #66 on: March 12, 2011, 05:39:25 AM »
That would be very cool, Jay. I'll key an eye out for updates.
  • 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 #67 on: March 12, 2011, 07:58:36 PM »
I'm just waiting for the mouse bug fix :)

I haven't played q2 since I installed aprq2....worked 60 hours this week.  No 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 [BTF] Reflex

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5324
  • !
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #68 on: March 13, 2011, 08:28:37 AM »
I actually had a dream about this last night.  I had a mac for some reason,  and the mouse bug was really messing me up.  I could turn like 45 degrees left or right. 

Felt so real.
  • 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
Sometimes I think it’s a sin when I feel like I’m winnin’ when I’m losin’ again

Offline QuakeDuke

  • Swanky Member
  • *****
  • Posts: 672
  • Spring 2010
    • View Profile
    • Where to find me.
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #69 on: March 13, 2011, 02:38:12 PM »
I actually had a dream about this last night.  I had a mac for some reason,  and the mouse bug was really messing me up.  I could turn like 45 degrees left or right. 

Felt so real.

It was all a dream Reflex. Remember, there is no 45 degree angles only 1 90 degree divided by 2. wait! there are no 2's only 0's and 1's.... HELP!!! BENDER!!!!!

 
  • 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
-- There's a reason I live on a hill.....

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 #70 on: March 14, 2011, 10:22:31 AM »
I had the most horrible dream... Ones and zeros everywhere! And i thought i saw a two...
  • 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 #71 on: March 14, 2011, 02:46:00 PM »
Update....I deleted the aprconfig.cfg generated by the game and then started the game up.  Full mouse movement.  Quit the game, and then edited gl_modulate, gl_mode, and vid_gamma in the aprconfig.cfg that was automatically generated.  Started the game up, and joined dm/mutant servers, full mouse movement.

Joined tourney4, mouse movement restricted. 

Is there anything special that I need to do to not get the mouse movement to be restricted on tourney4?  Is there something about that mod that is different than dm/mutant that would require a vid_restart or whatever causes the mouse bug in the first place?

  • 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

b0yce

  • Guest
Re: Updated AprQ2 for Mac and Linux users
« Reply #72 on: March 14, 2011, 02:57:10 PM »
i was at a mates place last night and he uses lucid linux the new one, it looks pretty good and simple, he gave me the cd i was thinking of givng it a go. he showed me how to do most things on it, seems simple enough, but i am still not sure about loading q2 on linux, like how hard is it? will i still be able to use my paks and configs? am i only able to use aprq2 instead of r1q2?
  • 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 #73 on: March 14, 2011, 03:45:33 PM »
Update....I deleted the aprconfig.cfg generated by the game and then started the game up.  Full mouse movement.  Quit the game, and then edited gl_modulate, gl_mode, and vid_gamma in the aprconfig.cfg that was automatically generated.  Started the game up, and joined dm/mutant servers, full mouse movement.

Joined tourney4, mouse movement restricted. 

Is there anything special that I need to do to not get the mouse movement to be restricted on tourney4?  Is there something about that mod that is different than dm/mutant that would require a vid_restart or whatever causes the mouse bug in the first place?

There's a bug somewhere in the SDL -> OpenGL context management code where the mouse gets screwed up after its already been initialized once.  Haven't tracked it down yet.  Honestly, I haven't even looked for it yet -- been pretty heads-down on work work and Quake2World stuff.

I did take a stab at building a statically linked executable and it went fine up until gcc tried to link it against Apple's C runtime -- then it blew up saying that it couldn't find libcrt.so.0, which is odd.. I dunno.

I'll try to look into the mouse thing soon.  It doesn't happen on Linux, which is odd.  But Quake2World does not exhibit this behaviour on OS X so I know that I have some good code I can borrow (my own  ;D) if need be.

Offline erik

  • Full Member
  • ***
  • Posts: 187
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #74 on: March 14, 2011, 05:37:16 PM »
set game "opentdm" in aprconfig.cfg allows me to play on any of the tourney servers.

I guess for now I can just do that when I know I will be playing on an opentdm server.
  • 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:

 

RyU

September 03, 2024, 05:15:49 PM
And wow Derrick is still playing lol
 

RyU

September 03, 2024, 05:15:15 PM
Just know yesterday is gone and soon tomorrow will be gone too  :)
 

Lejionator

August 08, 2024, 07:28:01 PM
It's tiem to QuakeCon!!!  ;)

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

ImperiusDamian

July 26, 2024, 09:34:53 PM
In nomine Quake II et Id Software et Spiritus John Carmack, Amen.
 

QuakeDuke

July 26, 2024, 05:10:30 PM
Hey, shout, summertime blues
Jump up and down in you blue suede shoes
Hey, did you rock and roll? Rock on!!  ...QD
 

Yotematoi

July 24, 2024, 01:31:20 PM
Ayer me mato 5 veces para robarme en la vida real hará lo mismo? [img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&amp;show_text=true&amp;width=500
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&show_text=true&width=500" width="500"
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text
 

-Unh0ly-

July 05, 2024, 05:20:36 AM

Show 50 latest
Welcome, Guest. Please login or register.
September 19, 2024, 02:38:14 PM

Login with username, password and session length