OrphicAbyss / QMB

Quake 1 Engine Source Modification
http://qmb.gluonporridge.net
7 stars 2 forks source link

Random issues #1

Open SpiritQuaddicted opened 12 years ago

SpiritQuaddicted commented 12 years ago

Compile problems:

1) on my system GLee.h is directly in /usr/include/ so I had to remove the "GL/" from its include lines.

2) "QMB/gl_png.c:180: undefined reference to `png_set_gray_1_2_4_to_8'" I found http://planet.plt-scheme.org/trac/ticket/292 and that works. I have libpng 1.5.10.

3) "cp: cannot create regular file ‘./Quake/’: Not a directory" :)

In-game problems:

Monsters flicker on and off. Textures have stripes.


Tried to take screenshots, got 0 byte TGA files.


Video menu: First entry has no text, just the "cursor". Hitting enter gave me a segfault

Trying to turn on Shadows gave me:

PackFile: ./id1/pak0.pak : sound/weapons/bounce.wav PackFile: ./id1/pak0.pak : sound/player/plyrjmp8.wav PackFile: ./id1/pak0.pak : sound/ogre/ogsawatk.wav Error: Cache_MakeLRU: active link You receive 25 health You get 2 rockets
[xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. QMB: xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. Aborted


Getting shot by the first grunt on skill 1 e1m1, engine froze. Had to kill it.

SpiritQuaddicted commented 12 years ago

Now that is some funky formatting.

OrphicAbyss commented 12 years ago

1) GLee.h is in /usr/include/GL on my fedora install. I'll see if I can work out the most likely place for it to be found. 2) png_set_gray_1_2_4_to_8 seems to have been renamed in a version of the PNG lib, fedora must have a slightly older version, I remember having a problem with this and I did think I had updated it. 3) The makefile is still somewhat of a mess, but I'll sort that out in time 4) The monster's seem to be a culling issue, i'm looking into this now 5) Haven't seen the texture stripes yet, but I'll look into the screenshot issue first. 6) Haven't tested screenshots yet. 7) The video menu is slightly broken, it seems to have some missing entries up the top for me which cause a segfault but some actual entries if you move done first. 8) Not sure on xcb stuff, but i'll test the shadows and see what happens 9) I'll test this after i get the model culling issue working.

OrphicAbyss commented 12 years ago

4) Hidden monster issues seems to be some code optimisation that GCC is doing, it had lost the -O0 flag and only had a -O flag (this is worrying but fixed for now) 6) The code from SDLQuake had the write file function actually trying to read data from the file... now fixed

OrphicAbyss commented 12 years ago

8) This appears to be an issue with one of the libraries being used (SDL most likely) since QMB isn't threaded..., haven't seen it here. Also this can't be related to shadows, as the only thing of shadows left in QMB appears the be the r_shadows cvar. So i'm removing it :) 9) Unable to reproduce this