ref: cd8c8d416b4245458460cfe8e3c00bcb69c3c45b
dir: /README/
qk1 - (9) quake =============== - based on linux/x11 code from original release - setup: . mk install . mkdir id1 . cp /n/quakecd/id1/*.pak id1/ . run from same dir... - unfinished and very buggy (both shitty new code and badly ported old code) - sound does not work, cdaudio/networking don't exist - assume high resolutions don't work well and are very crash prone (e.g. > 800x600) . exit with: Hunk_Alloc: failed on ... => not enough memory use [-mem megabytes], e.g.: % qk1 -nosound -mem 10 . if window size < physical screen size, swipe mouse super fast to exit the window (bug in mproc()) - don't use -winsize, -width, -height; just resize the window (bugsbugsbugs) - mouse is grabbed using _windowed_mouse cvar . open console (~) . type _windowed_mouse 1 (can autocomplete w/ tab) . setting now saved in id1/config.cfg - tested on 386 and amd64 only some params useful for workarounds ---------------------------------- -nosound -nostdout -mem %d -noudp (-winsize %d %d) (-width %d) (-height %d) port notes ---------- - pr_strings: assumed 32bit pointer arithmetic: use PR_GetStr() instead of dealing with it directly; may be ass - global cppdefotomy, removing code seen as useless for plan9 - Sys_Warn added again for print(2) stuff in *_9.c that uses %r, kind of stupid since Con_Printf was often used there, and it outputs to both fd=1 and console, so needs fixing - m_freelook, as a quick hack to have (reversible) free mouse look bugs present in linux/x11 (w/ my tweaks in early commits) --------------------------------------------------------- - compile with PARANOID -> MSG_WriteByte complains about range error and exits. no idea why. - new game while already ingame -> front falls off . most of the time: exits with R_RenderView: called without enough stack . sometimes: goes batshit on the console (->press y again and quit normally, etc.) - compile with BAN_TEST -> net_dgrm build fails - sprites/particles not scaled on high resolutions - mouselook was completely fucked; still is somewhat . when paused, if _windowed_mouse 1, can still look around with the mouse, even if world is frozen - fp exceptions galore - high resolutions -> depression, then suicide - resizing to smaller window -> gory death - resizing several times -> genitals chopped off, etc. - seemingly random crashes on startup todo/issues ----------- - kill stdio; other than stdio uses, NULL -> nil; same for *printf - vid_9.c: remove/limit stupid - net_9p.c - net_udp.c + net_dgrm.c: actuallyport - snd_9.c: actuallyport - cd_9.c: everything; just specify via cvar a folder and look for files there? - mproc: better grabout shit - free mouselook without needing +mlook - plan9-like install - do something about all the fucking shit printed in console - caps lock == Kctl (← kbdfs) - ungrab mouse when entering console or menus a la games/doom (IN_Grabm()) - clean up *_9.c - linking errors with -T cflag - fix potential fp exceptions in code rather than ignoring them - sys_9.c: proper P9 use (bad programming?) - rewrite everything to use plan9 style? (ocd) - proper %r use for *_Printf and Sys_Error - g '/\* FIXME' legal ----- Quake, hence qk1, is licensed under the GPLv2. See COPYING for details.