Coder Social home page Coder Social logo

Comments (7)

ladyhavoc avatar ladyhavoc commented on August 11, 2024

Quake mods that lack default.cfg in their quake.rc already broke in stock quake, there's no change in behavior here other than some engine defaults possibly not triggering, so why was that mod made broken to begin with?

from darkplaces.

Baker7 avatar Baker7 commented on August 11, 2024

The Quake Remaster doesn't exec default.cfg either.

from darkplaces.

Baker7 avatar Baker7 commented on August 11, 2024

This is what I said when I realized the cause ...


The smej quake.rc file is at fault.

It does not run default.cfg

And it is supposed to.

But I thought about it, and I had to decide whether or not I wanted every mod with this issue to malfunction or if I just wanted it "to work".

from darkplaces.

ladyhavoc avatar ladyhavoc commented on August 11, 2024

I think the best strategy is to run default.cfg and post a warning (in red text perhaps?) in the console saying the engine is working around a bug in the mod as exec default.cfg is required for normal operation, if you really want to avoid default.cfg then please make an empty one.

from darkplaces.

Baker7 avatar Baker7 commented on August 11, 2024

I think not executing a default.cfg is the "new normal".

Consider this ...

  1. Johnny has "Quake Remastered".
  2. Johnny installs a gamedir mod with only a progs.dat and a map.
  3. Since "Quake Remastered" does not execute default.cfg and the mod with a progs.dat does not supply a quake.rc

Where is the "exec default.cfg" supposed to come from?

Because it isn't in Quake Remastered -- and for some people that is the "new Quake".
And the mod is just a progs.dat

from darkplaces.

ladyhavoc avatar ladyhavoc commented on August 11, 2024

But if there is no quake.rc in a mod, it still runs the quake.rc in id1, as it falls back to that one, and quake.rc is what specifies the startdemos command, which is the only way to trigger that on startup. The fact that quake.rc also contains the stuffcmds (which runs the commandline options beginning with +) is more of a curiosity. So a lot of mods include a quake.rc specifically to remove the startdemos command because they have no demos to show, but they intend to have all other behaviors in place.

from darkplaces.

Baker7 avatar Baker7 commented on August 11, 2024

I don't know. Thinking about it more, it really is a smej "issue".

I just opened the re-release folder and looked around. It does have a quake.rc and it does exec default.cfg, it just does not come with a default.cfg (go figure.)

[Yes it is true, Quake Remastered does not have a default.cfg -- Quakespasm overcomes this by providing its own default.cfg in the engine.]

My goal was to document and share the details of the investigation into the solid cobwebs and solid waterwall, because it was very difficult to unravel.

from darkplaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.