#576 posted by necros on 2012/02/05 00:33:09
have you tried forcing the screen res with -width and -height?
What Necros Said
Mind you, I find that unless I am setting it to the monitor's native resolution, changing the res via the command line will cause a black screen, but the app hasn't locked up - I can alt-tab back to it and it fixes itself.
P.s.
Also try changing the video settings stored in the config files to what you want if the command line force doesn't work. Might be worth a shot.
#579 posted by mh on 2012/02/05 01:41:28
I'd double-check what you're setting for refresh rate and bpp too, as it definitely seems like you're trying to select a mode that hardware acceleration isn't available in but that is nonetheless being reported by the engine (perhaps one of the low res modes?)
A Request Re: External Textures
#580 posted by necros on 2012/02/07 02:27:21
is it possible to scan the 'wad' key in the worldspawn to get the texture wads used, and then, when loading external textures, also look in folders named the same as the wad files?
map is mymap.bsp
so my worldspawn has:
'wad' 'gfx/common.wad;gfx/quake.wad;gfx/hipnotic.wad'
so fitzquake would look in:
/textures
/textures/mymap
/textures/common
/textures/quake
/textures/hipnotic
this would make keeping external textures folders organized a simpler task, especially if you have a map pack with more than one map referencing the same texture without having to resort to mixing all the packs together into /textures.
#581 posted by necros on 2012/02/07 02:28:59
crap...
'wad' 'gfx/common.wad; gfx/quake.wad; gfx/hipnotic.wad'
but all together, without spaces (like normal).
#582 posted by mh on 2012/02/07 03:43:25
I personally think it's a more elegant approach than using the map name, but it has the disadvantage that when multiple wads are used it must attempt an extra file search for each extra wad. Depending on how many textures you have, how many of those are already cached, and how many image formats you support, it could measurably slow down map loading.
There's also the fact that using the mapname is standardized in so many texture packs.
I suppose you could do both and cache a qboolean for whether or not the search path exists after the first attempt.
#583 posted by JneeraZ on 2012/02/10 14:08:07
Depending on how many textures you have, how many of those are already cached, and how many image formats you support, it could measurably slow down map loading.
From, say, 0.5 seconds to a full 1.0? :)
Willem
#584 posted by negke on 2012/02/10 14:14:28
You always say that like optimization wouldn't matter and was pointless if it doesn't have an highly noticable effect. But look at DP, for example. It gradually went up from a couple of extra 0.5s to 'let's compute everything from scratch', and now loading even a simple map takes 30 seconds.
#585 posted by JneeraZ on 2012/02/10 15:38:17
Oh, I agree. and I'm really sort of half trolling here.
But if an engine takes 30 seconds to load a Quake level, there's something fundamentally wrong with that engine ... IMO. If I can get a Gears of War level into my editor faster than that, the Quake engine is doing something REALLY wrong. :)
#586 posted by JneeraZ on 2012/02/10 15:39:38
I mean, what you're describing is the sort of "death by a thousand cuts" syndrome that makes things very hard to optimize into a better state because there aren't any large wins. There are tons of wins in there but they're all small and taken on their own aren't significant ... so, yeah, maybe improving this one little thing would be useful. I dunno!
Optimizations
#587 posted by mh on 2012/02/10 16:33:33
All it takes is a handful of millisecond or sub-millisecond optimizations to get a Quake engine running (or loading) twice as fast (or skimp on them and you're running twice as slow).
That's not a big deal for id1 content - 600 vs 1200 fps? Getouttahere.
For non-id1 content it's critical. It means bigger maps, more enemies, more game logic, more visual effects (particles, lights) and still being able to maintain good performance.
In the specific case of texture loading, a useful cutoff point seems to be something like: "if it takes longer to establish that an external texture doesn't exist than it takes to just load the native texture, then it's worth doing".
2 Movement Interpolation Gems ...
#588 posted by Baker on 2012/02/22 03:24:28
http://forums.inside3d.com/viewtopic.php?f=2&t=4716
This thread has 2 interesting thoughts and semi-obscure thoughts on weaknesses in movement interpolation in Fitz 666 protocol (which is far better than old QER tutorial).
One by MH on lerp movement (and I bet lerp anim!) should reset if entity is frustum culled, and one that I inadvertently came up with thinking about a chase camera improvement that ultimately coughed up an oversight or potential obvious movement interpolation improvement.
Storing this here with the rest of the FitzQuake buried future ideas/unearthings.
Make That 3 ???
#589 posted by Baker on 2012/02/22 03:27:04
If view weapon goes off screen ???
#590 posted by metlslime on 2012/02/22 16:46:07
thanks for the tip, Baker. I did know about the enemies riding lifts problem, but hadn't noticed the frustum culling problem.
Btw, a clarification: fitzquake model interpolation is completely independent thing from the fitzquake protocol -- you can have either one without the other. The one small overlap is the protocol contains a timing hint for lerping, but that hint could be used by other interpolation systems, plus the fitzquake system still works if you set "sv_protocol" to 15.
Riding Lifts Problem
#591 posted by mh on 2012/02/22 19:30:25
I've been doing some more investigation of this one and have traced the cause - it's hinted at by the header comment of SV_Physics_Step:
"Monsters freefall when they don't have a ground entity, otherwise all movement is done with discrete steps."
Some tests confirm it (basically just not sending an entity that meets the freefall conditions in SV_Physics_Step) - a monster on a lift isn't MOVETYPE_STEPping, it's in freefall.
#592 posted by necros on 2012/02/22 19:48:41
sorry to interrupt but: groundentity is exposed in qc, does it do anything there? ie: will it report a lift that the player/monster is standing on?
#593 posted by negke on 2012/02/23 10:41:00
Whatever you do, just don't break the suspended monsters trick like DP does.
Negke:
#594 posted by metlslime on 2012/02/23 19:49:41
don't worry, this would be a cosmetic change only (purely client-side.)
BTW, darkplaces has a lot of cvars that control features that break compatibility, you might be able to un-break that trick too if you know the right cvar (i think they are all named sv_gameplay_fix_*)
Qconsole.log
#595 posted by necros on 2012/04/21 17:32:27
why does fitzquake (and quakespasm) put the qconsole.log file in /quake/qconsole.log instead of /quake/mod/qconsole.log?
is this the original functionality? just seems a little odd (and had me searching around for it!)
Windowed
#596 posted by sock on 2012/04/21 20:34:22
Is there anyway to force fitz to start in a windows mode via the command line? I tried with config files and it just keeps going full screen and then back to windowed mode.
#597 posted by Spirit on 2012/04/21 20:53:13
-width 1680 -height 1050 -bpp 32 -window
Re: Qconsole.log
#598 posted by szo on 2012/04/22 12:34:40
Because it is the engine's log. Besides, the mod directory can be changed when the game is still alive, so there is no point in putting it under /quake/gamedir/
@spirit
#599 posted by sock on 2012/04/22 21:59:32
I tried the -window command line and it worked perfectly but the +mlook no longer works, even if I do a vid_restart console command.
For some reasons if I start the engine normally and tell (via config file) the engine to go windowed the +mlook still works. (it also grabs the mouse pointer permanently, I have to close the engine down to use the mouse with other window apps.
#600 posted by necros on 2012/04/23 01:23:57
sock: try pulling down the console before tabbing? that works in quakespasm anyway. i agree though, it would be nice if mouse control was release as soon as focus was lost.
|