#141 posted by JneeraZ on 2009/05/11 02:11:57
I tried it but I got 2 hard lock ups in a row on my Mac (at seemingly random times). Is there something I can post that would help you?
Like, the game would freeze in full screen and I had no way of getting back to my desktop.
Willem
#142 posted by Baker on 2009/05/11 03:40:39
I'm not so familiar with debugging on a Mac especially if I don't have the problem firsthand.
Updating the Fitz SDL 0.80 to Fitz SDL 0.85 mostly involved updating the rendering and protocol changes that Metlslime made in 0.85
The only freeze I have -- and I had this with 0.80 -- was trying to change gamedir via "game whatever" and then trying to play a map.
Questions:
1. Had you had this problem with FitzQuake SDL 080? (very important question, tells me whether something preexisting or new is likely cause of problem)
2. What were you playing? (What map? Is a gamedir involved? This will let me play the map).
3. Do you have the problem in windowed mode? I saw lots of Linux users have fullscreen issues in the FitzQuake SDL release thread.
4. What resolution are you using width/height/bpp?
Maybe Sleeperwalker will have some ideas.
Good Job
#143 posted by negke on 2009/05/11 09:01:53
Linux version works.
Request for future versions: the keyboard layout is still messed up on my German setting - some keys use the German layout, while others still use the English one. This means I can't type characters like quotation marks, for example, which is annoying in some situations. I wouldn't mind a non-localized layout.
Or can I fix this by using another keyboard setting ("dead acute" or whatever)?
#144 posted by Spirit on 2009/05/11 09:38:26
Baker: Yes, I get a segfault too. I had that bug earlier and told sleepwalkr, forgot to check back though (or maybe I discovered it only after the 080 sdl release).
negke: "setxkbmap us" in the shell before launching. Don't forget to go back to "de" later. ;)
Coitus Interruptus...
Loaded Fitz085sdl on my mac, happy as a bird...
Still no chance of mapping the Command function... Oh, shit.
I'm a keyboardly impaired Fitz user...
I Meant Command Key.
Stupid me.
#147 posted by JneeraZ on 2009/05/11 11:29:35
Is there any way to fix that initial mouse weirdness? Whenever I load the game, moving the mouse the first time snaps wildly to some seemingly random position. From that point forward, it's fine. It's weird.
#148 posted by JneeraZ on 2009/05/11 11:29:53
And this isn't just on the new one. Fitz has always done this mouse thing for me.
Hmmm...
All engines do that for me.
Max_edicts + Loadgame On SDL = Crash
#150 posted by Baker on 2009/05/11 17:20:29
I've been trying to play through Warpspasm on OSX and on the 2 second level it obviously drops to console and complains about max_edicts which is 1024 by default.
If I start up FitzQuake SDL and change max_edicts and then load a game = crash.
If I start up FitzQuake SDL and leave max_edicts as-is and load a game = no crash.
Investigation continuing ...
First Off
Which version of SDL did you base this on? Metl and I were planning on waiting for SDL 3, because it has some useful new features.
The mouse thingy willem describes is a known issue. I had tried to fix it, but it didn't work. Don't imagine it to be too hard to fix though.
Keyboard mapping is difficult because you have to translate SDL key codes to Quake key codes. I intended to ditch Quake key codes and use SDL throughout, which would squash all those problems.
FQ 0.85
#152 posted by metlslime on 2009/05/12 20:17:33
I haven't read the small print but what is the difference between Protocol 15 and Protocol 666?
@Sleeperwalker
#153 posted by Baker on 2009/05/13 00:12:50
Which version of SDL did you base this on?
I just updated your version exactly as-is.
Re: #152
#154 posted by metlslime on 2009/05/13 00:37:52
Increased a handful of limits from 255 to 65535 (models, sounds, ammo, frames), allowed for edict limits above 8192, added per-entity alpha support, added high-precision aiming, and added a timing hint for interpolating models that aren't animating at 10Hz. I think that's it.
Next/previous Weapons
#155 posted by anon on 2009/05/15 22:43:19
hey guys,
I just picked up Quake with FitzQuake and I'm LOVING IT. Newb question: how do I bind the keys for next/previous weapon?
thanks!
Post A New Fitz 0.85 SDL Thread ?
SDL FitQuake-0.85 seems to run ok for me :>. Finally i can piss off Darkplaces again - god that thing is slow.
First impressions: like the redone status bar, and it's very smooth - but maybe i'm just a little blotto tonight.
Here's a hack to allow for switching between fullscreen/window modes (SDL version) using the ALT-ENTER key combo. It's bloody rough, and may not apply cleanly because of tabs/spacing so ping me if there's any probs. I might get the inspiration to polish it up now i have the 0.85 source, but in case i don't/can't:
-------------------start of patch
--- keys.c.orig 2009-04-13 11:58:08.000000000 +1000
+++ keys.c 2009-04-13 12:18:28.000000000 +1000
@@ -1023,17 +1023,27 @@
}
// johnfitz -- alt-enter to toggle fullscreen. FIXME -- this does NOT work
-#if 0
- if (!down && (key == K_ENTER) && keydown[K_ALT])
- {
- extern cvar_t vid_fullscreen;
+// stevenaaus -- but this hack (from sf.net/uhexen2) for SDLFitz works for me. SDL ;>
+
+ if (!down && (key == K_ENTER) && keydown[K_ALT]) {
+
+ extern SDL_Surface *draw_context;
+ extern cvar_t vid_fullscreen;
+
+ // VID_Restart ();
+
+ S_ClearBuffer ();
+
+ if ( SDL_WM_ToggleFullScreen(draw_context) > 0 )
+ {
if (vid_fullscreen.value)
- Cvar_Set ("vid_fullscreen", "0");
+ Cvar_Set ("vid_fullscreen", "0");
else
- Cvar_Set ("vid_fullscreen", "1");
- VID_Restart ();
+ Cvar_Set ("vid_fullscreen", "1");
+ } else {
+ Con_Printf ("SDL_WM_ToggleFullScreen failedn");
+ }
}
-#endif
// johnfitz
//
-------------------end of patch
"game" Command Segfault *seems* Sound Related
I get a segfault too when using the "game" command to change games and then loading a map. I made a debug client and there's two backtraces below. Looking at them, I then tried running with "-nosound" and it f-ing works!
Hmmm.... I tested fitzquake-0.80 on FreeBSD and the diagnosis is the same: it only segfaults with sound enabled. But testing on my laptop (with the same OS as my desktop, AC97 sound and ATI mobility radeon), there's no segfault at all. I'm a little confused here, but this may indicate it has to do with CPU optimisations or memory structure allignments (this box is a Core 2 Duo, laptop is a PIII), but can't see anything too unusual happening really. Making with gcc3.4 is no diff.
Gdb reports "Program terminated with signal 11", which from the signal manpage ("man 7 signal"), is:
Signal 11 is "SIGSEGV 11 Core Invalid memory reference"
# gdb fitzquake core
--------------------
Program terminated with signal 11, Segmentation fault.
#0 GetLittleLong () at snd_mem.c:186
186 val = val + (*(data_p+1)<<8);
(gdb) bt
#0 GetLittleLong () at snd_mem.c:186
#1 0x0807522f in FindNextChunk (name=0x809d487 "cue ") at snd_mem.c:206
#2 0x08075434 in GetWavinfo (name=0xaf485850 "dragon/sight2.wav",
wav=0xb7045498 "RIFF];", wavlength=15205) at snd_mem.c:296
#3 0x080757e1 in S_LoadSound (s=0xaf485850) at snd_mem.c:128
#4 0x0806bd05 in S_PrecacheSound (name=0xbff68fec "dragon/sight2.wav") at
snd_dma.c:346
and othertimes:
Program terminated with signal 11, Segmentation fault.
#0 0xb7effd16 in glGetIntegerv () from /usr/lib/libGL.so.1
(gdb) bt
#0 0xb7effd16 in glGetIntegerv () from /usr/lib/libGL.so.1
#1 0x0805f823 in Draw_BeginDisc () at gl_draw.c:691
#2 0x0808e9e6 in COM_LoadFile (path=0xb44541d4 "sound/ambience/wind2.wav",
usehunk=4)
at common.c:1649
#3 0x080757b1 in S_LoadSound (s=0xb50feb5c) at snd_mem.c:120
#4 0x0808440f in S_PaintChannels (endtime=139264) at snd_mix.c:189
Anon - Weapon Change Commands
Welcome to fun!
Here's an example of the commands to change weapons. You can type them in the console or put them in your config files.
//cycle weapon forward
bind SHIFT "impulse 10"
//cycle weapon back
bind CTRL "impulse 12"
#159 posted by gb on 2009/05/20 19:18:45
Metl, any chance at CSQC support in a future Fitzquake?
It would pretty much be at the top of my wish list. I believe the full potential of client-side qc hasn't really started to sink in, but it should.
Anything that uses custom keys or items could benefit from a nice looking inventory (instead of microscopic status bar slots) and an equally nice looking HUD.
Not to mention moving sounds (example: rockets emitting sound in flight, sound following trains, monsters etc) and stuff like completely new HUD elements controlled from qc.
Not to even remotely mention the possibility of choosing a player model etc. via a CSQC menu. (I know that Quake only has one player model, but that will change.)
As far as I know the stuff works by having a clientside progs.dat as well as a server side one.
CSQC
#160 posted by Baker on 2009/05/20 20:40:46
As time permits, Spike has a prototype CSQC WinQuake he gave me to do a test integration with ProQuake.
I'm pretty good at working with Avirox (QuakeC CSQC and FTE lover) and over the coming time there may be a standardized NetQuake implementation of CSQC with great docs and a good tutorial for engine authors to use.
Without this, really no one can implement CSQC and there certainly needs to be a standard implementation so any engine author's engine behaves in an expected manner.
This will unfold.
YAY
#161 posted by gb on 2009/05/21 06:27:19
That sounds great. Much better than anything I would have hoped for! :-)
CSQC...
#162 posted by metlslime on 2009/05/21 10:01:16
I'm hoping that someday I will add support for this. Right now the standard needs to actually be finalized. I am also looking forward to example implementations or tutorials that might spring into existence in the future.
CSQC Will Likely Never Be Finalized
#163 posted by Lardarse on 2009/05/21 14:27:56
At least not any time in the next few years...
Standards
#164 posted by Baker on 2009/05/22 01:49:53
It has to be finalized to be mainstream. You try the line somewhere, accept the limits and write up the specs.
The secret to success is to finish, standardize, educate.
Commercial companies are good at this because things have to shipped.
You can always do more, but at some point in time you have to pull the cake out of the oven and call it a day ...
... knowing is it better than what you have today.
DarkPlaces and FTE have many features and yet so few mods because they are impressive science projects with some level of stability but never reach done.
And that's fine except no one can't write up specs and documentation.
Perhaps the best thing about FitzQuake 0.80 is it didn't have updates for nearly 4 years, drawing a new "standard" and giving everyone time to adjust.
(yes fog, skyboxes, enhanced limits, lits isn't the world but no one targets glquake as the main engine in single player any more. Probably largely due to Fitzquake 0.80)
#165 posted by metlslime on 2009/05/22 03:24:00
Perhaps the best thing about FitzQuake 0.80 is it didn't have updates for nearly 4 years
I hope that's not the best thing about it :P
|