[quake3-bugzilla] [Bug 4900] New: Add /which command for troubleshooting use

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Feb 10 17:50:35 EST 2011


https://bugzilla.icculus.org/show_bug.cgi?id=4900

           Summary: Add /which command for troubleshooting use
           Product: ioquake3
           Version: SVN HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: lakitu7 at gmail.com
         QAContact: quake3-bugzilla at icculus.org


I added this downstream in Tremulous a while ago and it's been useful to both
users and people who help users troubleshoot, so I thought I would put it here
to see if you guys want it.

Adds a command
/which <filename>
that prints what path that file is loaded from.

The reasoning is that things load from basepath, homepath, inside pk3s, out of
pk3s, etc. with different override priorities, and figuring out exactly where
you're loading a problematic item from (or why you're not loading something you
want) can be a bit troublesome for people who aren't intimately familiar with
how the q3 filesystem works. In Tremulous the problem was always that people
tried to install mods but wouldn't put them in the correct places. 

This patch creates a command to quickly answer the "which" question for a given
file/folder and adds an automatic call to it when vms are loaded to state where
from.

While I've cleaned it up a bit and trivially ported it from tremulous to ioq3,
the original patch and perhaps the idea are attributed to Amanieu d'Antras.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list