#58 posted by Mugwump on 2016/11/21 01:11:12
There's an issue with the Winquake version if you run in a window with the vertical resolution set the same as your screen height. Like if I run in an 800 x 600 window on my 1024 x 600 netbook. The HUD is chopped off at the bottom of the screen.
Something has crossed my mind about this: it feels like it should be normal Windows behavior. I never play in windowed mode so I'm not sure but it seems logical to me that setting a specific window resolution should work for the CONTENTS of the window, not for the window itself (that is, not counting the window's borders). If this is how Windows work, then it makes sense to have the bottom of the window chopped off. Is there a Windows expert around to confirm this?
#59 posted by mh on 2016/11/21 01:24:22
Some mods come with autoexecs in their PAK files. At that stage it's no longer possible for the user to control their own settings.
The intention of Quake is clear: default.cfg is for the mod defaults, config.cfg is for user-configurable stuff that is saved, autoexec.cfg is an override to both and can also contain stuff that's not saved.
Mod authors have in the past enforced their own preferences on users. You see video modes, key bindings, look-and-feel settings, all enforced in ways that users cannot control and on occasion even freely admitted as intentional by the author.
Not running the cfgs is an unfortunate compromise but seems the only sane thing to do.
#60 posted by dwere on 2016/11/21 01:27:58
Mods using autoexec.cfg to store their settings is only somewhat standart-ish because some mod developers aren't aware of this file's real purpose. This is player's territory.
If you need to force something in your mod, modifying quake.rc is a much better option.
With this in mind, executing only autoexec.cfg is very selective. It's not even supposed to be the most important part of the settings, even if sometimes it is.
As for whether to execute things when changing the game dir mid-session, I think it only makes sense for the behavior to be consistent with what's going on during startup. If the settings are questionable - well, blame the mod author(s).
#61 posted by mh on 2016/11/21 01:31:15
The chosen resolution in windowed modes is for what's called the client area of the window, in other words excluding the title bar and borders. Quake on startup calls AdjustWindowRect to add on the size of the title bar and borders, getting the actual window size.
This has been the behaviour of WinQuake and GLQuake from the beginning and is expected behaviour.
So Quake is just doing what you asked it to do: Create a window with a client area of 600 high, which will get another 30 to 40 or so pixels added after AdjustWindowRect, which will then push the status bar off screen.
The solution is to ask it for a smaller window.
#62 posted by Baker on 2016/11/21 01:35:27
MH for the win. Read his post carefully. Some mods come with autoexec.cfg in pak files and such.
Mod authors almost never intentionally did wrong things, they only sought to provide a good user experience for their mod.
Nonetheless, there are toxic quake.rc and autoexec.cfg files out there.
And playing single player release with the player in control of his settings is #1 for Mark V.
-----------
@ Gunter I'll soon be updating the version to build #1001 --- I believe will fix your DX8 issue. It only happened when a dynamic light was active, some lightmap fields needed cleared on map change. The DX8 wrapper reacted very negatively without those fields cleared.
#63 posted by dwere on 2016/11/21 01:37:54
You're still executing these "toxic" settings during startup. So I'm not sure what's being achieved here.
Little Bug
#64 posted by killpixel on 2016/11/21 01:53:18
after disabling smoothing in the preferences and restarting the game, lerp reverts to default though smoothstairs remains off. Currently using lerpmodels/move 0 in an autoxec as a workaround (which is fine, since I want smoothstairs on, anyway).
Really sweet port, getting my retro fix!
Also
#65 posted by killpixel on 2016/11/21 01:58:33
anyway to disable/adjust mips in the winquake fork? Using pixel quadrupling and the next mip level gets drawn when you're pretty close to the surface; it's a tad ugly/jarring.
again, minor gripes. I really am enjoying this port :D
@pulsar
#66 posted by Baker on 2016/11/21 01:59:08
Addressed that in upcoming build.
@dwere -- If I want to play something, I start up Quake and do "game warpspasm -quoth". And then start playing ... (the mods quake.rc or autoexec.cfg is never run).
@killpixel +10. And just at the right time too!
@killpixel
#67 posted by Baker on 2016/11/21 02:02:56
I understand what you say. I implemented what was easiest to do for approximate scaling solution in WinQuake build (stretch).
But yeah, I'd like to have full resolution pixels + scaled 320x240 or 640x480 HUD/Menu at same time --- but would take 3 weeks to write so ...
... maybe in the future.
/But notice it is separate option from GL Build automatic HUD scaling. Tells you I feel how you feel.
#68 posted by Gunter on 2016/11/21 02:02:57
Yeah, just as dwere said, I was going to point out that you are still running those files when mods are started by the standard, age-old method of "-game blah."
If a mod mod comes with an autoexec, generally it is is "part of the mod" that should be ran for the mod to function (as the author wanted). Of course, there can be "bad behaviors" from this, but any part of a mod is subject to such problems.
Though I suppose true "player in control of his settings" would allow a player to choose if he WANTS to disable the default Quake behavior of running an autoexec.cfg when starting a mod....
Build 1001
#69 posted by Baker on 2016/11/21 02:17:12
Build 1001
Same place as usual
1) DX8 build intermittent crash due to dynamic lights fixed (gunter)
2) Mirrors + noclip outside world slow fix (pulsar)
3) r_lerpmove/r_lerpmodels preference now saves (killpixel)
/Typing "version" in the console will show as build 1001.
Baker
#70 posted by killpixel on 2016/11/21 02:21:57
... maybe in the future.
Looking forward to it (maybe). In the meantime, this will do just fine!
But yeah, I'd like to have full resolution pixels + scaled 320x240 or 640x480 HUD/Menu at same time --- but would take 3 weeks to write so
Actually, I use the scaling because I like the look, not because I need larger hud/menu. Though, controlling those independently would be nice.
On that note, perhaps you could clarify something: I noticed that scaled pixels are square, meaning they aren't stretched to a different aspect ratio. So, when choosing scaling (320x240 or 640x480) it uses a constrained resolution/ratio that is closest to those listed resolutions? In other words, when using a 1920x180 display, your effective resolution when using scaling is 960x540 or 480x270? If this is the case, maybe it would be more clear to list the option as pixel doubling/quadrupling?
Ok, no more nitpicking, I feel like I'm sending the wrong message.
I'm off to play pixel quake...
@kp
#71 posted by Baker on 2016/11/21 02:26:23
It was called vid_stretch in WinQuake so that's what I went with as the name. It finds the best multiple that comes closet to either 320x240 or 640x480 ... and goes with that number for stretch factor.
#72 posted by dwere on 2016/11/21 02:30:00
Though I suppose true "player in control of his settings" would allow a player to choose if he WANTS to disable the default Quake behavior of running an autoexec.cfg when starting a mod....
Well, technically, you're in control now. You can "game gamedir" without executing anything, or you can "game gamedir" and then "exec quake.rc" after that.
Or "exec autoexec.cfg" if you know for sure that all you need is there. Executing quake.rc has a side effect of stuffcmds.
#73 posted by killpixel on 2016/11/21 02:33:07
i see. Thanks baker!
Autoexecs
#74 posted by mh on 2016/11/21 09:05:40
Typical my you can divide Quake players into two broad categories: Those who know the inner workings of the game, and those who don't.
Those who know might start the game with command-line options, load new games with -game via batch files, and - crucially - will also have sufficient knowledge to deal with a rogue .cfg file.
Those who don't, won't.
There are more of the latter than the former, and this stuff is a barrier to entry. Hit one of those people with a rogue .cfg file that tries to set a bad video mode on their machine, or overwrites their keybindings, and what are they going to do?
This isn't theoretical talk either. These are real problems that real people face. Have a look at the QuakeOne or Steam or Bethesda forums - there are people who have trouble getting an engine or mod into the right directory.
These people are why the Quake Injector exists, they're why people like Spirit goes nuts if a mod is released with configs, and they're why unfortunate behaviours like not execcing configs on a game change exist too.
I would love to see it happen too. But because of rogue configs, having it not happen is the lesser evil.
After all: You are not representative of the typical Quake player.
More LIT/VIS Files
#75 posted by NightFright on 2016/11/21 09:08:09
Here are a few more .lit/.vis PAKs to use with some Quake addons for colored lights and transparent water.
LIT/VIS for Abyss of Pandemonium, Malice & Shrak (ZIP, 16.6 MB)
LIT/VIS for Dimension of the Past, Nehahra & Travail (ZIP, 23.7 MB)
May they serve you well while exploring the power of Mark V!
#76 posted by scampie on 2016/11/21 11:07:33
It seems "window02_1" defaulted as being a mirrored texture?
IIRC that's leftover from Carmack's original glquake as a hack to play with mirrored surfaces, but maybe shouldn't still be in the engine? I mean, if we're going to just have "mirror_" be an identifier for mirrors, maybe just stick with just those and not also include a separate other texture Carmack picked long ago.
@scampie
#77 posted by Baker on 2016/11/21 11:20:36
Yeah, defaulted as an homage to the original GLQuake release (0.95? 0.98? I can't recall which one.).
You can turn it off. Set r_texprefix_mirror "" and it's done.
Now that I think of it, that needs to save to config so someone can turn it off.
Possible Enhancement Of Setmusic Cmd
#78 posted by NightFright on 2016/11/21 11:28:14
As far as I can see, only the stained glass window in the intro map will turn into a mirror automatically. I dunno how to change the other windows.
A potential feature request:
In the old Mark V thread, Baker mentioned a setmusic.cfg which allows music tracks to be remapped. I was wondering if it could be enhanced so that it also works for specific maps, like setmusic <map name> <track name>.
Why I am asking for this: There are some addons in which authors erroneously use track01 in their levels (which doesn't exist). With an external cfg file which is automatically parsed, it would be possible to fix such glitches without having to mess with the map files. (There are more ways to use this, just pointing out one of them.)
Sound
#79 posted by mjb on 2016/11/21 13:01:33
Throwing this out here, not sure if it is a thing or not.
Sound seems to have noisy feedback on louder noises (Grenade, lots of monsters attacking at once.) I thought this was from the audio set at 11k (I realize that may be Quake default) but is there a way to change it? I tried changing sndspeed to 41k and it sounded like the audio matched what QS detects but it just sounds more hollow.
I'm more really asking because QS does not have this audio noise issue whatsoever.
#80 posted by Mugwump on 2016/11/21 14:35:38
There are some addons in which authors erroneously use track01 in their levels (which doesn't exist). With an external cfg file which is automatically parsed, it would be possible to fix such glitches without having to mess with the map files.
...Or you could add an extra track01 to your music folder? Perhaps one from NIN's Ghosts I-IV, or something entirely different if you want.
Maybe, But...
#81 posted by NightFright on 2016/11/21 14:47:11
... then it would always play the same track since all maps are set to track01. What I would want is to make all maps use different tracks...
#82 posted by Mugwump on 2016/11/21 15:00:06
You can put a map in a folder like a mod and add its own music subfolder.
|