some-mapper

Uncharitable Spy
Mapper
If you don't map 24/7, there really is no reason to follow that tutorial you posted in the other thread. It just makes things harder. Just do it manually, it's not that hard and stuff like this wont happen.

But if you really want to, from those screenshots it looks like you are using the custom folder structure wrong.

When adding custom content to the custom folder, you need to have a sub folder for your content. Currently you hav:
Code:
tf/custom/materials
tf/custom/models
etc

When it should be:
Code:
tf/custom/assets/materials
tf/custom/assets/models
etc
 

ck24

Server-Clearing Cynic
If you don't map 24/7, there really is no reason to follow that tutorial you posted in the other thread. It just makes things harder. Just do it manually, it's not that hard and stuff like this wont happen.

But if you really want to, from those screenshots it looks like you are using the custom folder structure wrong.

When adding custom content to the custom folder, you need to have a sub folder for your content. Currently you hav:
Code:
tf/custom/materials
tf/custom/models
etc

When it should be:
Code:
tf/custom/assets/materials
tf/custom/assets/models
etc
do you need the word assets are just the name
 

KinCryos

TF2 Admin
Contributor
Mapper
looks like you messed up the gameinfo.txt file.

the tf/custom folder was already set up by default earlier in the file, so the lines you added were also unnecessary

remove those game+mod lines that are under game+game_write from gameinfo.txt in your second screenshot

if that fails: delete gameinfo.txt, and use the "verify integrity of game files" function in Steam to restore gameinfo.txt to what it should be
 

ck24

Server-Clearing Cynic
looks like you messed up the gameinfo.txt file.

the tf/custom folder was already set up by default earlier in the file, so the lines you added were also unnecessary

remove those game+mod lines that are under game+game_write from gameinfo.txt in your second screenshot

if that fails: delete gameinfo.txt, and use the "verify integrity of game files" function in Steam to restore gameinfo.txt to what it should be
do you mean this https://i.imgur.com/ot4WEo3.png
 

KinCryos

TF2 Admin
Contributor
Mapper
yes. remove those. only "game+game_write tf" should be there. those other lines are telling the game to look in the custom folder for the main game files, and the game only honors the last line in the group.

here's what gameinfo.txt should be:
Code:
"GameInfo"
{
    game    "Team Fortress 2"
    type multiplayer_only
    nomodels 1
    nohimodel 1
    nocrosshair 0
    hidden_maps
    {
        "test_speakers"        1
        "test_hardware"        1
    }
    nodegraph 0
    GameData    "tf.fgd"
    InstancePath "maps/instances/"
    advcrosshair 1
    supportsvr 1


    FileSystem
    {
        SteamAppId                440
       
        //
        // Setup engine search paths.
        //
        // If a search path contains "_english", and the current language is not english, then
        // another search path will be inserted above the english one by replacing "_english" with
        // the appropriate language.
        //
        // To debug how the engine has parsed this file, type "path" at the console.
        //
        // Search paths are relative to the base directory, which is where hl2.exe is found.
        //
        // |gameinfo_path| points at the directory where gameinfo.txt is.
        // |all_source_engine_paths| points at the directory cintaining HL2 shared content.
        //
        SearchPaths
        {

            // First, mount all user customizations.  This will search for VPKs and subfolders
            // and mount them in alphabetical order.  The easiest way to distribute a mod is to
            // pack up the custom content into a VPK.  To "install" a mod, just drop it in this
            // folder.
            //
            // Note that this folder is scanned only when the game is booted.
            game+mod+custom_mod    tf/custom/*

            // We search VPK files before ordinary folders, because most files will be found in
            // VPK and we can avoid making thousands of file system calls to attempt to open files
            // in folders where they don't exist.  (Searching a VPK is much faster than making an operating
            // system call.)
            game_lv                tf/tf2_lv.vpk
            game+mod            tf/tf2_textures.vpk
            game+mod            tf/tf2_sound_vo_english.vpk
            game+mod            tf/tf2_sound_misc.vpk
            game+mod+vgui        tf/tf2_misc.vpk
            game                |all_source_engine_paths|hl2/hl2_textures.vpk
            game                |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
            game                |all_source_engine_paths|hl2/hl2_sound_misc.vpk
            game+vgui            |all_source_engine_paths|hl2/hl2_misc.vpk
            platform+vgui            |all_source_engine_paths|platform/platform_misc.vpk

            // Now search loose files.  We'll set the directory containing the gameinfo.txt file
            // as the first "mod" search path (after any user customizations).  This is also the one
            // that's used when writing to the "mod" path.
            mod+mod_write+default_write_path        |gameinfo_path|.

            // Add the TF directory as a game search path.  This is also where where writes
            // to the "game" path go.
            game+game_write        tf

            // Where the game's binaries are
            gamebin                tf/bin

            // Last, mount in shared HL2 loose files
            game                |all_source_engine_paths|hl2
            platform            |all_source_engine_paths|platform

            // Random files downloaded from gameservers go into a seperate directory, so
            // that it's easy to keep those files segregated from the official game files
            // or customizations intentially installed by the user.
            //
            // This directory is searched LAST.  If you visit a server and download
            // a custom model, etc, we don't want that file to override the default
            // game file indefinitely (after you have left the server).  Servers CAN have
            // custom content that overrides the default game files, it just needs to be
            // packed up in the .bsp file so that it will be mounted as a map search pack.
            // The map search pack is mounted at the top of the search path list,
            // but only while you are connected that server and on that map.
            game+download    tf/download
        }
    }

    ToolsEnvironment
    {
        "Engine"            "Source"
        "UseVPLATFORM"        "1"
        "PythonVersion"        "2.7"
        "PythonHomeDisable"    "1"
    }
}
 
Last edited:

ck24

Server-Clearing Cynic
yes. remove those. only "game+game_write tf" should be there. those other lines are telling the game to look in the custom folder for the main game files, and the game only honors the last line in the group.

here's what gameinfo.txt should be:
Code:
"GameInfo"
{
    game    "Team Fortress 2"
    type multiplayer_only
    nomodels 1
    nohimodel 1
    nocrosshair 0
    hidden_maps
    {
        "test_speakers"        1
        "test_hardware"        1
    }
    nodegraph 0
    GameData    "tf.fgd"
    InstancePath "maps/instances/"
    advcrosshair 1
    supportsvr 1

plus i keep checking the MB thing and when ever i complile something the MB is low and i look at the odd one the MB is large i run the one on bspsrc.bat i compilied and it says if skiped everything 
    FileSystem
    {
        SteamAppId                440
      
        //
        // Setup engine search paths.
        //
        // If a search path contains "_english", and the current language is not english, then
        // another search path will be inserted above the english one by replacing "_english" with
        // the appropriate language.
        //
        // To debug how the engine has parsed this file, type "path" at the console.
        //
        // Search paths are relative to the base directory, which is where hl2.exe is found.
        //
        // |gameinfo_path| points at the directory where gameinfo.txt is.
        // |all_source_engine_paths| points at the directory cintaining HL2 shared content.
        //
        SearchPaths
        {

            // First, mount all user customizations.  This will search for VPKs and subfolders
            // and mount them in alphabetical order.  The easiest way to distribute a mod is to
            // pack up the custom content into a VPK.  To "install" a mod, just drop it in this
            // folder.
            //
            // Note that this folder is scanned only when the game is booted.
            game+mod+custom_mod    tf/custom/*

            // We search VPK files before ordinary folders, because most files will be found in
            // VPK and we can avoid making thousands of file system calls to attempt to open files
            // in folders where they don't exist.  (Searching a VPK is much faster than making an operating
            // system call.)
            game_lv                tf/tf2_lv.vpk
            game+mod            tf/tf2_textures.vpk
            game+mod            tf/tf2_sound_vo_english.vpk
            game+mod            tf/tf2_sound_misc.vpk
            game+mod+vgui        tf/tf2_misc.vpk
            game                |all_source_engine_paths|hl2/hl2_textures.vpk
            game                |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
            game                |all_source_engine_paths|hl2/hl2_sound_misc.vpk
            game+vgui            |all_source_engine_paths|hl2/hl2_misc.vpk
            platform+vgui            |all_source_engine_paths|platform/platform_misc.vpk

            // Now search loose files.  We'll set the directory containing the gameinfo.txt file
            // as the first "mod" search path (after any user customizations).  This is also the one
            // that's used when writing to the "mod" path.
            mod+mod_write+default_write_path        |gameinfo_path|.

            // Add the TF directory as a game search path.  This is also where where writes
            // to the "game" path go.
            game+game_write        tf

            // Where the game's binaries are
            gamebin                tf/bin

            // Last, mount in shared HL2 loose files
            game                |all_source_engine_paths|hl2
            platform            |all_source_engine_paths|platform

            // Random files downloaded from gameservers go into a seperate directory, so
            // that it's easy to keep those files segregated from the official game files
            // or customizations intentially installed by the user.
            //
            // This directory is searched LAST.  If you visit a server and download
            // a custom model, etc, we don't want that file to override the default
            // game file indefinitely (after you have left the server).  Servers CAN have
            // custom content that overrides the default game files, it just needs to be
            // packed up in the .bsp file so that it will be mounted as a map search pack.
            // The map search pack is mounted at the top of the search path list,
            // but only while you are connected that server and on that map.
            game+download    tf/download
        }
    }

    ToolsEnvironment
    {
        "Engine"            "Source"
        "UseVPLATFORM"        "1"
        "PythonVersion"        "2.7"
        "PythonHomeDisable"    "1"
    }
}