Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about using Rogue game.dll for BaseQ2 #1104

Closed
Q3BFG10K opened this issue Apr 30, 2024 · 7 comments
Closed

Question about using Rogue game.dll for BaseQ2 #1104

Q3BFG10K opened this issue Apr 30, 2024 · 7 comments

Comments

@Q3BFG10K
Copy link

If you drop Rogue game.dll into baseq2 folder, you get enhanced AI in the original game.

This works fine until the first Iron Maiden enemy, which is rendered as a small brown triangle. I assume it's because the Rogue version has no code for this monster.

Is this a bug that can be corrected, or is it something that's not supported?

@protocultor
Copy link
Contributor

DLLs from expansion packs are not supposed to replace each other or the one from the base game (baseq2), they just support the proper expansion. So, if an enemy that doesn't appear in the expansion (or base) is present in a map, the behaviour of the game is completely undefined, and basically depends on luck. This is the behaviour of original Quake 2 and most source ports I know (KMQuake2 unified Xatrix and Rogue, but I doubt that DLL supports the base game). There was no support for "cross-expansions". As you say, there's no code for monsters not present in the expansion, so it's not a bug.

I believe you are confused because the rerelease/remaster has all expansions unified into one. It's convenient, but it means work has been done to support all expansion packs at the same time, work that should have to be replicated in this source port.
Just in case, for the rerelease there's this, and Q2Pro has also been working in a rerelease version.

@Q3BFG10K
Copy link
Author

Q3BFG10K commented Apr 30, 2024

I believe you are confused because the rerelease/remaster has all expansions unified into one.

No, Quake2 wiki mentioned this trick years ago with the original release. But they do it by starting Ground Zero and then typing "map base1" to play the main campaign. I don't get their crash @ Big Gun, but they don't mention any issues with the Iron Maiden.

I assume doing it their way would have the same problem with Iron Maiden, because it still doesn't load game.dll from the base game?

@0lvin
Copy link
Contributor

0lvin commented Apr 30, 2024

For this case issues related to different name of iron maiden model, bitch2 vs bitch. Solution could be add required model or add hacks for replace model on fly like in https://github.com/yquake2/yquake2remaster/blob/master/src/client/refresh/files/models.c#L3065

@0lvin
Copy link
Contributor

0lvin commented Apr 30, 2024

Note: if a game library does not have some monster, game will mention it in logs as error with entity and such monster will not appear in any form in the game.

@Q3BFG10K
Copy link
Author

Q3BFG10K commented May 1, 2024

@0lvin, you're right.

Console

Without touching the source code, can this be worked around, such as using map entities instead?

@BjossiAlfreds
Copy link
Contributor

BjossiAlfreds commented May 2, 2024

You could simply load rogue normally and then execute map base1 from the console. This starts a new game in the base campaign.

@Q3BFG10K
Copy link
Author

Closing this one as I don't think anything more can be done here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants