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

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #120 on: August 24, 2012, 07:08:49 PM »
Just an update, new builds are up that enable HTTP downloading. Enjoy.

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #121 on: November 06, 2012, 03:06:55 AM »
I still get a black screen on 10.6.8.
Video issue. sound etc works ok, I just see nothing.
  • 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 #122 on: November 09, 2012, 12:08:25 PM »
Weird! Can you start it from the terminal and get some console output for me? Also have you tried windowed mode?

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #123 on: November 18, 2012, 02:04:15 AM »
In windowed mode it works fine. But really isn't that fun. You aren't really "in" the game then.

but not in full screen.
in console I get these message:
18/11/12 10:55:10   /Applications/Quake II.app/Contents/MacOS/aq2[24654]   CPSGetCurrentProcess(): This call is deprecated and should not be called anymore.
18/11/12 10:55:10   /Applications/Quake II.app/Contents/MacOS/aq2[24654]   CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore.

Opening it in terminal "open -a /Applications/Quake\ II.app" just opens the app the same way as double clicking. nothing else is displayed in the terminal
  • 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 #124 on: November 18, 2012, 03:43:02 PM »
Code: [Select]
cd /Applications/Quake\ II.app/Contents/MacOS
./quake2

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #125 on: November 18, 2012, 10:56:48 PM »
Code: [Select]
Full Screen mode:

./aq2
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak0.pak' (3307 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak1.pak' (279 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak2.pak' (2 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak3.pak' (8 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak9.pak' (1655 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak10.pak' (1106 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak0.pak' (3307 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak1.pak' (279 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak2.pak' (2 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak3.pak' (8 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak9.pak' (1655 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak10.pak' (1106 files).
using /Users/xxx/.quake2/baseq2/ for writing
execing default.cfg
execing aprconfig.cfg
Console initialized.

------- sound initialization -------
Starting SDL audio callback...
SDL audio initialized.
sound sampling rate: 22050
------------------------------------
--------- [Loading Renderer] ---------
Using /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib for OpenGL...setting mode 8: 1280 960
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 5870 OpenGL Engine
GL_VERSION: 2.1 ATI-1.6.36
...enabling GL_EXT_compiled_vertex_array
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...GL_SGIS_multitexture not found
...using GL_EXT_texture_rectangle
...ignoring GL_SGIS_generate_mipmap
...ignoring GL_ARB_texture_compression
...enabling GL_EXT_texture_filter_anisotropic
Maximum Anisotropy: 16.0
Maximum Texture Size: 16384x16384
------------------------------------
====== Quake II (Quake2World.net) Initialized ======




Windowed mode :

./aq2
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak0.pak' (3307 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak1.pak' (279 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak2.pak' (2 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak3.pak' (8 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak9.pak' (1655 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak10.pak' (1106 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak0.pak' (3307 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak1.pak' (279 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak2.pak' (2 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak3.pak' (8 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak9.pak' (1655 files).
Added pakfile '/Applications/Quake II.app/Contents/Resources/baseq2/pak10.pak' (1106 files).
using /Users/xxx/.quake2/baseq2/ for writing
execing default.cfg
execing aprconfig.cfg
Console initialized.

------- sound initialization -------
Starting SDL audio callback...
SDL audio initialized.
sound sampling rate: 22050
------------------------------------
--------- [Loading Renderer] ---------
Using /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib for OpenGL...setting mode 8: 1280 960
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 5870 OpenGL Engine
GL_VERSION: 2.1 ATI-1.6.36
...enabling GL_EXT_compiled_vertex_array
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...GL_SGIS_multitexture not found
...using GL_EXT_texture_rectangle
...ignoring GL_SGIS_generate_mipmap
...ignoring GL_ARB_texture_compression
...enabling GL_EXT_texture_filter_anisotropic
Maximum Anisotropy: 16.0
Maximum Texture Size: 16384x16384
------------------------------------
====== Quake II (Quake2World.net) Initialized ======
  • 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 #126 on: November 19, 2012, 04:21:02 AM »
Is 1280x960 your actual full screen resolution? Try editing your config (~/.quake2/baseq2/config.cfg) and setting gl_mode to 3, or try setting r_custom_width and r_custom_height and then gl_mode -1.

I don't think this is a problem in Quake2, I think maybe libSDL and your video driver don't get along. You have the same problem with Quake2World, right? It's strange.. this code works fine on every other Mac, Linux and Windows, on every AMD, NVidia, or Intel chipset I've tested. It's just your machine that doesn't work at all.

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #127 on: November 19, 2012, 07:54:50 AM »
My real resolution is 1680/1050.
Setting gl_mode "3" and r_customwidth and r_customheight is the same problem.
If I put my display resolution to 1280/960 it is the same problem. (so resolution isn't the prob)
Indeed, Quake2world has the same problem when I try fullscreen it goes black.

I've read on http://portingteam.com/frontpage
that some of these Wine wrappers have the same problem with ATI cards, which they eventually solve bringing out a new wrapper.

So is it because I have an ATI/AMD card?

I guess I'll have to upgrade to 10.7?
  • 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 #128 on: November 20, 2012, 07:17:06 AM »
Hm. I was not explicitly requesting SDL_DOUBLEBUFFER from SDL_SetVideoMode, which, according to http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-May/055877.html might be a problem. Try dropping this binary into
Code: [Select]
Quake II.app/Contents/MacOS and running it:

http://jdolan.dyndns.org/tmp/quake2

If it works, please let me know and I'll release a new package.

Jay

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #129 on: November 20, 2012, 08:25:29 AM »
I downloaded the binary, named it aq2 like the old one, made it+x. Put it in the MacOS folder.
But when i run I get an error Quake II cannot be opened because of a problem
Under you find the whole error message "details"

There is nothing in /opt/local/lib , shouldn't it load /Applications/Quake II.app/Contents/Libraries/libSDL-1.2.0.dylib ?

Code: [Select]
Process:         aq2 [29280]
Path:            /Applications/Quake II.app/Contents/MacOS/aq2
Identifier:      net.quake2world.quake2.launcher
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [160]

Date/Time:       2012-11-20 17:20:49.771 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          35968713 sec
Crashes Since Last Report:           64
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      AB940F2E-5E4B-42EB-8ADC-A4327116CC88

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/lib/libSDL-1.2.0.dylib
  Referenced from: /Applications/Quake II.app/Contents/MacOS/aq2
  Reason: image not found

Binary Images:
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <486E6C61-1197-CC7C-2197-82CE505102D7> /usr/lib/dyld

Model: MacPro5,1, BootROM MP51.007F.B03, 4 processors, Quad-Core Intel Xeon, 2.8 GHz, 16 GB, SMC 1.39f11
Graphics: ATI Radeon HD 5870, ATI Radeon HD 5870, PCIe, 1024 MB
Memory Module: global_name
« Last Edit: November 20, 2012, 08:33:14 AM by Lilom »
  • 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 #130 on: November 20, 2012, 08:44:39 AM »
Whoops, you're right, I forgot to post-process the binary to alter the shared lib locations. Re-download and retry please.

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #131 on: November 20, 2012, 08:52:16 AM »
Something new:

Code: [Select]
Process:         aq2 [29418]
Path:            /Applications/Quake II.app/Contents/MacOS/aq2
Identifier:      net.quake2world.quake2.launcher
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [160]

Date/Time:       2012-11-20 17:51:29.174 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          35970550 sec
Crashes Since Last Report:           68
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      AB940F2E-5E4B-42EB-8ADC-A4327116CC88

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: @executable_path/../Libraries/libpng15.15.dylib
  Referenced from: /Applications/Quake II.app/Contents/MacOS/aq2
  Reason: image not found

Binary Images:
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <486E6C61-1197-CC7C-2197-82CE505102D7> /usr/lib/dyld
  • 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 #132 on: November 20, 2012, 09:02:04 AM »
Taking to IRC :)

Offline Lilom

  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Rated:
Re: Updated AprQ2 for Mac and Linux users
« Reply #133 on: November 22, 2012, 09:54:36 PM »
I upgraded to 10.7. Now it works fine in full screen.
It must've been a driver issue. It's so wrong Apple nor ATI/AMD release updated drivers for their "old" OS. (10.6 is what, 2 years old).

Finally I can play Quake II with high res textures , fast downloading,...

Thank you jdolan !
  • 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 #134 on: November 23, 2012, 12:51:01 PM »
 :yessign: :welcome:

 

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:25:22 AM

Login with username, password and session length