Welcome,
Guest
. Please
login
or
register
.
April 26, 2024, 01:50:49 AM
News:
tastyspleen.net has a new discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Building r1q2ded-old from Source
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Building r1q2ded-old from Source (Read 3156 times)
QwazyWabbit
Carpal Tunnel Member
Posts: 1357
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
Logged
quadz
Loquaciously Multiloquent Member
Posts: 5352
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.
Logged
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."
QwazyWabbit
Carpal Tunnel Member
Posts: 1357
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Building r1q2ded-old from Source
El Box de Shoutamente
Last 10 Shouts:
|iR|Focalor
April 24, 2024, 10:55:53 AM
omlette du fromage?
Admin
April 24, 2024, 07:08:22 AM
fin.
|iR|Focalor
April 22, 2024, 04:27:07 PM
Now it's over. Because I say it's over.
|iR|Focalor
April 22, 2024, 12:39:29 PM
It's over when I say it's over.
|iR|Focalor
April 22, 2024, 11:34:16 AM
Costigan needs a tampon.
Costigan_Q2
April 22, 2024, 02:53:12 AM
This interaction is over.
Costigan_Q2
April 22, 2024, 02:51:20 AM
Will someone please muzzle and leash that barking dog? it's projections and delusions and now endless babbling are comically pitiable, just treat it like you would Beaver - that's what it deserves.
Costigan_Q2
April 22, 2024, 02:50:50 AM
Quake 2 needs a public square.
This is not a debate.
|iR|Focalor
April 21, 2024, 05:36:24 PM
If you were attached to reality, you'd realize that.
Quake 2 needs a private bathroom.
|iR|Focalor
April 21, 2024, 05:34:35 PM
I've never doxed anyone like he did or sent them 1000's of annoying whiny angry messages in all caps like you.
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
April 26, 2024, 01:50:49 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search