Welcome,
Guest
. Please
login
or
register
.
November 25, 2024, 08:03:22 PM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Trouble Shooting
»
R1Q2 troubles
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: R1Q2 troubles (Read 2368 times)
tripps
Newbie
Posts: 1
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!!!
Logged
X'tyfe
Phenomenally Prodigious Member
Posts: 3587
Yep
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
Logged
QwazyWabbit
Carpal Tunnel Member
Posts: 1373
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.
Logged
X'tyfe
Phenomenally Prodigious Member
Posts: 3587
Yep
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?
Logged
QwazyWabbit
Carpal Tunnel Member
Posts: 1373
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Trouble Shooting
»
R1Q2 troubles
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
User
Welcome,
Guest
. Please
login
or
register
.
November 25, 2024, 08:03:22 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search