Sponsored Adverts

Author Topic: WARNING: Couldn't load map file  (Read 4237 times)

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2348
WARNING: Couldn't load map file
« on: June 25, 2015, 02:31:03 AM »
When compiling and testing a multi-player level for Quake 4 the following error message may display in the in-game Console;

Code: [Select]
---- dmap ----
--- LoadDMapFile ---
loading maps/C:/Quake4/q4base/Maps/[yourmap].bsp
WARNING : Couldn't load map file : 'maps/C:/Quake4/q4base/Maps/[yourmap].bsp'

The error message will generally occur for a number of reasons;
  • You have spaces in your directory file path somewhere
  • You're using a capitol 'M' for your 'maps' folder
  • You've not saved your working into the correct working directory
1: Spaces in your directory path
This means you've most likely installed Quake 4 to something like;

Code: [Select]
C:\\Program Files\Quake 4\..
Quake 4 and the compiling process is usually 'ok' with spaces in file paths, but, occasionally it simply refuses to do anything related to compiling when it finds a space and decides to FUBAR. When this happens it means installing to a path that doesn't have any spaces in it, commonly;

Code: [Select]
C:\\Games\Quake4\..
No spaces in the directory path.
The developers recommend this as a matter or course when creating mods, they typically install to;

Code: [Select]
C:\\Quake4\..
2 : Capitalized 'M' for 'maps'
The Doom 3 engine, which Quake 4 uses, doesn't like capitol (upper case) letters in the folder names, especially when those folders sit inside the main content folder; 'q4base'. To fix errors caused by this rename the folders using lower case letters;

Code: [Select]
Maps
Becomes;

Code: [Select]
maps
The same rule is applied to all folders within a Doom 3 or Quake 4 installation, the games are quite fussy about this one.

3 : Incorrect folder directory
Sometimes the error above happens when you have maps outside the default location Quake 4 uses for multi player maps; which is;

Code: [Select]
\maps\mp\
You can work outside that location but you need to do a bit of work to tell the editor where your files are; usually you'd do this when editing content for a mod(ification). Using the wrong name or wrong directory structure when working with default content will often return errors so make sure you've used the correct folder structure and names and that there are no typo's.

 

Sponsored Adverts
RSS Copyright © 2019 KatsBits™. All Rights Reserved. No part of this or associated properties shall be reproduced without prior consent. AdvertisePrivacy PolicyDMCA (about DMCA) • Copyright PolicyCopyright Contact Home Blog Support About Contact Site Search Site Map RSS feed Forum YouTube FaceBook LinkedIn Twitter Instagram IMVU