Sign in to follow this  
Michu

Error: Failed to load the CoD4 Game

Recommended Posts

Posted (edited)

Hello,

Im using 1.7a server from source code (ik its not supported anymore).

When Im trying to run the server, I got that error below:

--- Common Initialization Complete ---
--- Game binary initialization ---
Error: Failed to load the CoD4 Game. Can not startup the game
--- Game Binary Initialization Failed ---
Hitch warning: 732 msec frame time

 

I tried to compile even raw source code, without any changes - same error + about update.

After I disabled autoupdating still got that error.

 

That error text exist in sys_cod4loader.c

qboolean Sys_LoadImage( ){

    byte *fileimage;
    int len;
    char hash[128];
    long unsigned sizeofhash;

    /* Is this file here ? */
    len = FS_FOpenFileRead(BIN_FILENAME, NULL);

    if(len != DLLMOD_FILESIZE)
    {/* Nope !*/

        Sec_Update( qtrue );
        len = FS_FOpenFileRead(BIN_FILENAME, NULL);
        if(len != DLLMOD_FILESIZE)
        {/* Nope !*/
            Com_PrintError("Failed to load the CoD4 Game. Can not startup the game\n");
            return qfalse;
        }
    }

 

Any ideas?

 

 

//edit

- I used cod4x17a_dedrun.exe with command line and w/o it.

- Same problem in game folder, either in /bin folder of source files.

Edited by Michu

Share this post


Link to post
Share on other sites

you're probably missing the iwd file containing the server binary.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this