Index: lib/framework/configfile.c
===================================================================
--- lib/framework/configfile.c	(revision 5944)
+++ lib/framework/configfile.c	(working copy)
@@ -179,7 +179,7 @@
 	int l; // sscanf expects an int to receive %n, not an unsigned int
 	UDWORD filesize;
 
-	debug(LOG_WZ, "Loading the registry from %s", filename);
+	debug(LOG_WZ, "Loading the registry from [directory: %s] %s", PHYSFS_getRealDir(filename), filename);
 	if (PHYSFS_exists(filename)) {
 		if (!loadFile(filename, &bptr, &filesize)) {
 			return false;           // happens only in NDEBUG case
@@ -189,7 +189,7 @@
 		return false;
 	}
 
-	debug(LOG_WZ, "Parsing the registry from %s", filename);
+	debug(LOG_WZ, "Parsing the registry from [directory: %s] %s", PHYSFS_getRealDir(filename) , filename);
 	if (filesize == 0 || strlen(bptr) == 0) {
 		debug(LOG_WARNING, "Registry file %s is empty!", filename);
 		return false;
@@ -237,7 +237,7 @@
 	unsigned int i;
 	int count = 0;
 
-	debug(LOG_WZ, "Saving the registry to %s", filename);
+	debug(LOG_WZ, "Saving the registry to [directory: %s] %s", PHYSFS_getRealDir(filename), filename);
 	for (i = 0; i < REGISTRY_HASH_SIZE; ++i) {
 		regkey_t *j;
 
Index: lib/framework/frame.c
===================================================================
--- lib/framework/frame.c	(revision 5944)
+++ lib/framework/frame.c	(working copy)
@@ -301,6 +301,7 @@
 PHYSFS_file* openLoadFile(const char* fileName, bool hard_fail)
 {
 	PHYSFS_file* fileHandle = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (!fileHandle)
 	{
 		if (hard_fail)
Index: lib/framework/frameresource.c
===================================================================
--- lib/framework/frameresource.c	(revision 5944)
+++ lib/framework/frameresource.c	(working copy)
@@ -106,7 +106,7 @@
 	// Note the block id number
 	resBlockID = blockID;
 
-	debug(LOG_WZ, "resLoad: loading %s", pResFile);
+	debug(LOG_WZ, "resLoad: loading [directory: %s] %s", PHYSFS_getRealDir(pResFile), pResFile);
 
 	// Load the RES file; allocate memory for a wrf, and load it
 	input.type = LEXINPUT_PHYSFS;
Index: lib/framework/strres.c
===================================================================
--- lib/framework/strres.c	(revision 5944)
+++ lib/framework/strres.c	(working copy)
@@ -110,6 +110,7 @@
 
 	input.type = LEXINPUT_PHYSFS;
 	input.input.physfsfile = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (!input.input.physfsfile)
 	{
 		debug(LOG_ERROR, "strresLoadFile: PHYSFS_openRead(\"%s\") failed with error: %s\n", fileName, PHYSFS_getLastError());
Index: lib/framework/tagfile.c
===================================================================
--- lib/framework/tagfile.c	(revision 5944)
+++ lib/framework/tagfile.c	(working copy)
@@ -264,6 +264,7 @@
 	tag_error = false;
 	line = 1;
 	fp = PHYSFS_openRead(definition);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(definition), definition);
 	sstrcpy(saveDefine, definition);
 	sstrcpy(saveTarget, datafile);
 	if (!fp)
@@ -317,6 +318,7 @@
 	{
 		fp = PHYSFS_openRead(datafile);
 	}
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(datafile), datafile);
 	handle = fp;
 	if (!fp)
 	{
Index: lib/netplay/netplay.c
===================================================================
--- lib/netplay/netplay.c	(revision 5944)
+++ lib/netplay/netplay.c	(working copy)
@@ -1146,6 +1146,7 @@
 	{
 		// open the file.
 		pFileHandle = PHYSFS_openRead(fileName);			// check file exists
+		debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 		if (pFileHandle == NULL)
 		{
 			debug(LOG_ERROR, "Failed");
Index: lib/sound/audio.c
===================================================================
--- lib/sound/audio.c	(revision 5944)
+++ lib/sound/audio.c	(working copy)
@@ -816,6 +816,7 @@
 
 	// Open up the file
 	fileHandle = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		debug(LOG_ERROR, "sound_LoadTrackFromFile: PHYSFS_openRead(\"%s\") failed with error: %s\n", fileName, PHYSFS_getLastError());
Index: lib/sound/cdaudio.c
===================================================================
--- lib/sound/cdaudio.c	(revision 5944)
+++ lib/sound/cdaudio.c	(working copy)
@@ -81,9 +81,10 @@
 	{
 		PHYSFS_file* music_file = PHYSFS_openRead(filename);
 
+		debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(filename), filename);
 		if (music_file == NULL)
 		{
-			debug(LOG_ERROR, "Failed opening file %s, with error %s", filename, PHYSFS_getLastError());
+			debug(LOG_ERROR, "Failed opening file [directory: %s] %s, with error %s", PHYSFS_getRealDir(filename), filename, PHYSFS_getLastError());
 			return false;
 		}
 
Index: lib/sound/openal_track.c
===================================================================
--- lib/sound/openal_track.c	(revision 5944)
+++ lib/sound/openal_track.c	(working copy)
@@ -466,6 +466,7 @@
 
 	// Use PhysicsFS to open the file
 	fileHandle = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		debug(LOG_ERROR, "sound_LoadTrackFromFile: PHYSFS_openRead(\"%s\") failed with error: %s\n", fileName, PHYSFS_getLastError());
Index: lib/sound/playlist.c
===================================================================
--- lib/sound/playlist.c	(revision 5944)
+++ lib/sound/playlist.c	(working copy)
@@ -68,6 +68,7 @@
 
 	// Attempt to open the playlist file
 	fileHandle = PHYSFS_openRead(listName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(listName), listName);
 	if (fileHandle == NULL)
 	{
 		debug(LOG_ERROR, "PHYSFS_openRead(\"%s\") failed with error: %s\n", listName, PHYSFS_getLastError());
Index: src/aiexperience.c
===================================================================
--- src/aiexperience.c	(revision 5944)
+++ src/aiexperience.c	(working copy)
@@ -220,7 +220,7 @@
 
 	if (!aiSaveFile[nPlayer])
 	{
-		debug(LOG_ERROR,"SetUpInputFile(): Couldn't open input file: '%s' for player %d: %s", FileName, nPlayer, PHYSFS_getLastError());
+		debug(LOG_ERROR,"SetUpInputFile(): Couldn't open input file: [directory: %s] '%s' for player %d: %s", PHYSFS_getRealDir(FileName), FileName, nPlayer, PHYSFS_getLastError());
 		return false;
 	}
 
Index: src/data.c
===================================================================
--- src/data.c	(revision 5944)
+++ src/data.c	(working copy)
@@ -821,7 +821,7 @@
 	{
 		return true;
 	}
-
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	fileHandle = PHYSFS_openRead(fileName);
 
 	if (fileHandle == NULL)
@@ -840,6 +840,7 @@
 static BOOL dataAnimLoad(const char *fileName, void **ppData)
 {
 	PHYSFS_file* fileHandle = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		*ppData = NULL;
@@ -860,6 +861,7 @@
 	PHYSFS_file* fileHandle = PHYSFS_openRead(fileName);
 	*ppData = NULL;
 
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		return false;
@@ -921,7 +923,7 @@
 	scr_lineno = 1;
 
 	fileHandle = PHYSFS_openRead(fileName);
-
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		return false;
@@ -970,7 +972,7 @@
 	debug(LOG_WZ, "Loading script data %s", GetLastResourceFilename());
 
 	fileHandle = PHYSFS_openRead(fileName);
-
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (fileHandle == NULL)
 	{
 		return false;
Index: src/init.c
===================================================================
--- src/init.c	(revision 5944)
+++ src/init.c	(working copy)
@@ -282,7 +282,7 @@
 				}
 				break;
 			case mod_campaign:
-				debug(LOG_WZ, "Switching to campaign mods");
+				debug(LOG_WZ, "*** Switching to campaign mods ***");
 
 				while( curSearchPath )
 				{
@@ -313,7 +313,7 @@
 				}
 				break;
 			case mod_multiplay:
-				debug(LOG_WZ, "Switching to multiplay mods");
+				debug(LOG_WZ, "*** Switching to multiplay mods ***");
 
 				while( curSearchPath )
 				{
Index: src/keyedit.c
===================================================================
--- src/keyedit.c	(revision 5944)
+++ src/keyedit.c	(working copy)
@@ -600,8 +600,8 @@
 	}
 	pfile = PHYSFS_openRead(KeyMapPath);
 	if (!pfile) {
-		debug(LOG_ERROR, "loadKeyMap: %s could not be opened: %s", KeyMapPath,
-		      PHYSFS_getLastError());
+		debug(LOG_ERROR, "loadKeyMap: [directory: %s] %s could not be opened: %s", PHYSFS_getRealDir(KeyMapPath),
+			KeyMapPath, PHYSFS_getLastError());
 		assert(false);
 		return false;
 	}
Index: src/levels.c
===================================================================
--- src/levels.c	(revision 5944)
+++ src/levels.c	(working copy)
@@ -715,7 +715,7 @@
 			if (psBaseData->apDataFiles[i])
 			{
 				// load the data
-				debug(LOG_WZ, "Loading %s ...", psBaseData->apDataFiles[i]);
+				debug(LOG_WZ, "Loading [directory: %s] %s ...", PHYSFS_getRealDir(psBaseData->apDataFiles[i]), psBaseData->apDataFiles[i]);
 				if (!resLoad(psBaseData->apDataFiles[i], i))
 				{
 					return false;
Index: src/message.c
===================================================================
--- src/message.c	(revision 5944)
+++ src/message.c	(working copy)
@@ -809,6 +809,7 @@
 
 	input.type = LEXINPUT_PHYSFS;
 	input.input.physfsfile = PHYSFS_openRead(fileName);
+	debug(LOG_WZ, "Reading...[directory: %s] %s", PHYSFS_getRealDir(fileName), fileName);
 	if (!input.input.physfsfile)
 	{
 		debug(LOG_ERROR, "PHYSFS_openRead(\"%s\") failed with error: %s\n", fileName, PHYSFS_getLastError());

