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

Support vanilla OGRE 13 (without special CMake flags) #119

Open
ThibaultLemaire opened this issue Jan 17, 2023 · 3 comments
Open

Support vanilla OGRE 13 (without special CMake flags) #119

ThibaultLemaire opened this issue Jan 17, 2023 · 3 comments

Comments

@ThibaultLemaire
Copy link

ThibaultLemaire commented Jan 17, 2023

So the wiki currently states that SR >=2.7 requires a version of OGRE compiled with

OGRE_RESOURCEMANAGER_STRICT=0
OGRE_NODELESS_POSITIONING=ON

Would it be possible to support OGRE 13 without those flags?

Context:
I'm packaging SR 2.7 for Nixpkgs, and having a different version of OGRE means compiling twice and keeping twice the binaries in the caches. We try to keep duplication to a minimum within a single version of Nixpkgs. (See NixOS/nixpkgs#211152)

P.S.: Thanks for the great game, I've been playing on and off since 2017 and I'm looking forward to discovering that 2.7!

@cryham
Copy link
Member

cryham commented Jan 18, 2023

Hi.
For OGRE_NODELESS_POSITIONING it should be rather easy.
But for OGRE_RESOURCEMANAGER_STRICT I tried and it was difficult in SR 2.7, I resigned from that.
Are you sure those are set by default? I was told it depends.
I'm also focused on stuntrally3 and won't really do much in SR 2.7.

@ThibaultLemaire
Copy link
Author

Are you sure those are set by default?

I'm not sure what you mean. SR 2.7 does not compile with the version of OGRE packaged in nixpkgs. I have had to make a slightly different OGRE package with OGRE_NODELESS_POSITIONING=ON (and OGRE_RESOURCEMANAGER_STRICT=0 without which the game compiles but textures are broken) which is what I mean by "duplication".

I'm only a small contributor to nixpkgs so I don't know how much of an issue that duplication is for nixpkgs maintainers. I just wanted to let you know, and have an issue to track in case that is a problem.

I think what matters is that we converge on the long run, and it's okay if that's never fixed for 2.7.

@cryham
Copy link
Member

cryham commented Jan 20, 2023

Ok thanks. Yes I wanted to make sure you need both settings to build SR 2.7 there.

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

2 participants