Author Topic: Building r1q2ded-old from Source  (Read 3376 times)

Offline QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1366
    • View Profile
  • Rated:
Building r1q2ded-old from Source
« on: April 29, 2017, 03:35:45 PM »
The last archive of r1q2 source code is here:
https://github.com/tastyspleen/r1q2-archive

I have been asked a couple of times now this year how to build r1q2ded-old but I don't have the answer. It's probably staring me in the face and I can build r1q2ded b8012 without much trouble but I'm not sure how to do it with the existing source. All the links in the readme.txt file are dead.

If it's possible to do it I'd like to document it here or in the TS repository for historical purposes.

QW
  • 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 quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • View Profile
  • Rated:
Re: Building r1q2ded-old from Source
« Reply #1 on: April 29, 2017, 04:50:25 PM »
Hmm. I don't recall ever having built r1q2ded-old.

I'd thought it was identical to regular r1q2ded, except for linking with an older libc or somesuch.

However, I'm not seeing much difference, apart from the omission of libgcc_s.so.1 in the non-old case:

$ ldd ./r1q2ded-old
        linux-gate.so.1 =>  (0xf2e9a000)
        libm.so.6 => /lib32/libm.so.6 (0xf2e64000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf2e4f000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf2e4b000)
        libc.so.6 => /lib32/libc.so.6 (0xf2cf9000)
        /lib/ld-linux.so.2 (0xf2e9b000)

$ ldd ./r1q2ded
        linux-gate.so.1 =>  (0xece62000)
        libm.so.6 => /lib32/libm.so.6 (0xece2c000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xece17000)
        libdl.so.2 => /lib32/libdl.so.2 (0xece13000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xece06000)
        libc.so.6 => /lib32/libc.so.6 (0xeccb3000)
        /lib/ld-linux.so.2 (0xece63000)


So, unfortunately I'm not sure what needs to be changed in order to build the *-old version.

: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 QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1366
    • View Profile
  • Rated:
Re: Building r1q2ded-old from Source
« Reply #2 on: October 04, 2017, 07:53:21 AM »
I've identified the main difference: the old game DLLs had a different set of exported functions. This is where the "Loaded Game DLL, version 3" comes into play. Old mods used a different set of exported functions in GetGameAPI and it looks like the only difference between v2 and v3 was the addition of the ServerCommand function.

The r1q2 sources I have for b7904 and b8012 don't seem to have switches for the -old capability. Presumably, r1ch never published the source for r1q2ded-old.

I'm experimenting with modifying an old v2 game into a v3 DLL and will report results once I am successful. This might allow someone to port source from an old game into a new game
  • 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:

 

rikwad

Today at 07:57:21 PM
Sorry, I couldn't resist my inner asshole.
 

Costigan_Q2

Today at 01:35:05 PM
Et tu rikwad?

Please don't feed the degenerate lies of a sexually-perverted devil-worshipping barking dog like Focalor.
 

RyU

Today at 07:21:23 AM
lol
Been here since 2006


But I don’t mean you personally

By you I meant WE all suck at Q2
I guess I was just trying to be funny …

 
 

Costigan_Q2

October 08, 2024, 06:16:31 PM
Who the fuck are you?

Stop feeding degenerate lies, there are too many liberals and commies in this filthy rotting husk of a gaming community as it is.
 

RyU

October 08, 2024, 06:18:00 AM
whether you want to be a man a woman, a women that wants to be a man, a man that wants to be a woman,
a broom,
a mop,
Or even a horse,
Just know you still suck at Q2 ..  ;)
 

RyU

October 08, 2024, 02:38:09 AM
Some funny shit  :D
 

Costigan_Q2

October 06, 2024, 03:09:02 PM
Members
Total Members: 2921
Latest: provider
Date Registered: March 20, 2024

Members
Total Members: 2922
Latest: Shihan
Date Registered: August 28, 2024

'2921'

'2922'

http://forum.tastyspleen.net/quake/index.php?action=profile;u=####

Nice try.
 

|iR|Focalor

September 26, 2024, 05:49:19 PM
 

|iR|Focalor

September 26, 2024, 05:22:51 PM
No, YOU are the liar, Erica had nothing to do with it. YOU sent pictures to everyone in IRC and YOU propagated the story, no one else.

What suffering are you talking about? Are YOU suffering? Is that why you keep coming here being an asshole posting dumb shit like that? Are you the victim?

Show 50 latest
Welcome, Guest. Please login or register.
October 09, 2024, 11:28:09 PM

Login with username, password and session length