Author Topic: R1Q2 troubles  (Read 2494 times)

Offline tripps

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • Rated:
R1Q2 troubles
« on: August 02, 2008, 04:59:39 PM »
sup everyone.  Haven't been on Q2 in forever and fired up an old pc to play.  Saw the TastySpleen Railz CTF server and was ready to go.  Went to download the client and got this message:

 Current Path is too long.  Please move your Quake II Installation to a shorter path. 


What gives???  I played CTF for years with this path C:\Quake2 and never had issues.  Now under that, I have huge amounts of mods....but can't even begin to load R1Q2.  I am bummin man cause I need a CTF fix bad!!! 
  • 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 X'tyfe

  • Phenomenally Prodigious Member
  • **
  • Posts: 3587
  • Yep
    • View Profile
  • Rated:
Re: R1Q2 troubles
« Reply #1 on: August 02, 2008, 05:18:53 PM »
if your playing from C:\Quake2, you should not be having that issue
maybe r1ch has an explanation
  • 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 QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1375
    • View Profile
  • Rated:
Re: R1Q2 troubles
« Reply #2 on: August 02, 2008, 10:38:42 PM »
Install Quake2 in \quake2 on any drive. Don't install it in a deep path like c:\program files\idsoftware\quake2

The message is caused by a safety check of the path to your Quake2 installation to prevent buffer overflows.



There are two problems:
1
Quake2 defines MAX_OSPATH as 128 characters.
R1ch subtracts MAX_QPATH (64 bytes) from it to obtain 64 characters that he will allow for a path to the current directory of the game. This is needed to establish the buffer size for Quake 2 to access the file system and I suppose the 50/50 split was deemed reasonable.

2
All old mods and many current ones use this same 128 character limit from "q_shared.h" so the buffer must be fixed at that size or it could potentially break (crash) most mods.

The fundamental error is that under Windows NT systems: NT, XP, Vista, the true MAX_PATH constant defined for the OS is 260 characters and that is the constant that Quake 2 code should have used in the first place.

I believe the MAX_PATH for Windows 95/98 was 256 as that was the standard in C90/99 at that time.

To top it all off, Linux can use values from 256 to 4096 depending on flavor and vintage and it's called PATH_MAX in <linux/limits.h> with the additional limit that NAME_MAX is 255 or thereabouts.



Anyway, move your Quake 2 installation and you will be fine.


  • 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 X'tyfe

  • Phenomenally Prodigious Member
  • **
  • Posts: 3587
  • Yep
    • View Profile
  • Rated:
Re: R1Q2 troubles
« Reply #3 on: August 03, 2008, 06:50:41 AM »
He shouldn't have to move it if its at C:\Quake2 right?
  • 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 QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1375
    • View Profile
  • Rated:
Re: R1Q2 troubles
« Reply #4 on: August 03, 2008, 08:29:53 AM »
No.

Try this:

Put -nopathcheck on the command line you use to launch r1q2. This will require changing it in the program you use to launch it or in the desktop shortcut.
  • 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:

 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D
 

|iR|Focalor

April 02, 2025, 02:47:07 AM

Show 50 latest
Welcome, Guest. Please login or register.
June 09, 2025, 03:00:45 AM

Login with username, password and session length