какая версия лучше 1)  {{langsp}} {{infotable | img = [[File:abspt_main.png|AutoBSPpackingTool interface.]] | download = https://www.dropbox.com/s/rchlc2q0sc45k1t/AutoBSPpackingTool.exe?dl=0 (DropBox) | type = t2 | dev = {{u|Drinkly}} | engine = 2 | in = {{csgo|4}}<br>{{gmod|4}}<br>{{portal2|4}}<br>''Custom configs can be created to<br>support any game!'' | lastver = 0.1.1.6 }} {{autobspp|4}} is a third party tool made for {{Src|4}} developers and mappers. It automatically detects and packs almost every possible custom file that can be used in a [[BSP|map]]. (Current version: 0.1.1.6). [[File:abspt_settings.png|thumb|330px|AutoBSPpackingTool settings.]] {| class="standard-table mw-collapsible mw-collapsed" style="float:right; clear:right" ! Checkbox !! Packed file(s), if existent&nbsp; |- | .nav (navigation mesh) || {{Path|/maps/<mapname>|nav}} |- | .ain (info_node) || {{Path|/maps/graphs/<mapname>|ain}} |- | .txt (map description) || {{Path|/maps/<mapname>|txt}} |- | .txt (soundscape) || {{Path|/scripts/soundscapes_<mapname>|txt}} |- | .txt (soundscript) || {{Path|/maps/<mapname>_level_sounds|txt}} |- | .cache (soundcache) || {{Path|/maps/soundcache/<mapname>|cache}} |- | .txt (retake bombplants) || {{Path|/maps/<mapname>_retake|txt}} |- | .txt (camera positions) || {{Path|/maps/<mapname>_cameras|txt}} |- | .txt (map story) || {{Path|/maps/<mapname>_story|txt}} |- | .txt (map commentary) || {{Path|/maps/<mapname>_commentary|txt}} |- | .txt (particles manifests) || {{Path|/particles/particles_manifest|txt}}<br>{{Path|/maps/<mapname>_particles|txt}}<br>{{Path|/particles/<mapname>_manifest|txt}} |- | .txt (radar information) || {{Path|/resource/overviews/<mapname>|txt}} |- | .dds (radar images) || {{Path|/resource/overviews/<mapname>_radar|dds}}<br>{{Path|/resource/overviews/<mapname>_radar_spectate|dds}}<br>''(and vertical sections)'' |- | .svg (map icon) || {{Path|/materials/panorama/images/map_icons/map_icon_<mapname>|svg}} |- | .png (map background) || {{Path|/materials/panorama/images/map_icons/screenshots/1080p/<mapname>|png}} |- | .kv (player models) || {{Path|/maps/<mapname>|kv}} |- | .kv3 (bots behaviour) || {{Path|/scripts/<''any mentioned in scripts or .vmf''>|kv3}} |- | .png (dz spawn mask) || {{Path|/maps/<mapname>_spawnmask|png}} |- | .png (dz deployment map) || {{Path|/materials/panorama/images/survival/spawnselect/map_<mapname>|png}} |- | .vtf (dz tablet map) || {{Path|/materials/models/weapons/v_models/tablet/tablet_radar_<mapname>|vtf}} |} == Features == * Detects materials, textures, models, sounds (.wav, .mp3, .ogg), [[Skybox_(2D)|skybox]] materials, [[Detail props|detail files]], [[color correction|color correction profiles]], [[PCF_File_Format|particles]]. * Detects materials and textures used in models (including [[Multiple Skins for a Single Model|skins]]), also detects [[$includemodel]] parameter and [[Creating custom gibs|gibs]]. * Recognizes [[patch]] materials. * Detects [[NAV|.nav]] ([[Nav Mesh|navigation mesh]]), [[AIN|.ain]] ([[info_node]]), .txt ([[Mapname.txt|map description]]), .txt ([[soundscape]]), .txt ([[soundscripts|soundscript]]), .cache ([[soundcache]]), .txt ([[Counter-Strike: Global Offensive/Game Modes/Retakes#Adding_Retakes_Support_to_a_Bomb_Scenario_Map|retake bombplants]]), .txt ([[CS:GO Spectator Tools#Spectator Cameras|camera positions]]), .txt (map story), .txt ([[Commentary System#The_Commentary_File|map commentary]]), .txt ([[Particles_manifest.txt|particles manifests]]), .txt ([[Creating_a_working_mini-map#Intro_and_Basics|radar information]]), .dds ([[Creating_a_working_mini-map#Intro_and_Basics|radar images]]), .svg (map icon), .png (map background), .kv ([[Choosing Player Models|player models]]), [[KeyValues3|.kv3]] ([[CS:GO Bot Behavior Trees|bots behaviour]]), .png ([[Counter-Strike: Global Offensive/Game Modes/Danger Zone#Map_Overviews|dz spawn mask]]), .png ([[CS:GO Game Modes/Danger Zone#Map_Overviews|dz deployment map]]), .vtf ([[Counter-Strike: Global Offensive/Game Modes/Danger Zone#Map_Overviews|dz tablet map]]). * Detects sounds referenced in [[soundscape]] and [[soundscripts|soundscript]] files. * Detects scripts ([[VScript|.nut]] and [[CFG|.cfg]]). * Detects models, sounds, bots behaviour files and other scripts inside detected scripts '''if and only if they are named with their file extensions''' (.mdl, .wav, .mp3, .ogg, .kv3, .nut, .cfg). {{warning| * The program does not detect scripts with a space in the path ''(so does the logic_script entity in {{hammer|2}})''. * The program does not detect sounds referenced in scripts with a space in the path. }} * Also finds [[VMF|.vmf]] files specified in [[func_instance]] entities and packs their data too. * The program reads <code>gameinfo.txt</code> (and <code>mount.cfg</code> for {{gmod|4}}) to get content search paths. * The program also reads <code>libraryfolders.vdf</code> to get steam library folders paths. * Can either pack all the found files into [[BSP|.bsp]] or save a file with a list of all detected custom files. == Information == * The program is written in C# and requires Microsoft .NET Framework 4.0 or higher. * You should put the program in an individual folder, because it will create a cache folder, a folder to store game configurations and some necessary files in the directory that the .exe file is in. * The program creates a .bsp.backup file before packing. * The program checks for an update on startup. * It shows a notification when packing is finished. * It will be better if you pack your custom content referenced in scripts by yourself, because there are a lot of situations in which it's impossible to detect custom content used in scripts without running the engine. * The program uses [[VPK#Windows|vpk.exe]] and [[BSPZIP|bspzip.exe]], so you must have the SDK tools installed and the game itself you want to pack files for. == Supported games == * {{csgo|4}} ''(full support)'' * {{gmod|4}} ''(full support)'' * {{portal2|4}} ''(full support)'' * <code style="color:#5eede8;">You can create your own game configuration or edit existing ones</code> == Options == The program can also be used via the command line interface. Below is a list of arguments that can be passed directly when launching the program. ; {{Code|-vmf <path>}}: Set the path to .vmf file. ; {{Code|-bsp <path>}}: Set the path to .bsp file (if not specified, a file with a list of all detected custom files will be saved in the ''cache'' folder). ; {{Code|-game <index {{!}} gamefolder {{!}} path>}}: Select the game to use. Index is a number of game in [[#Supported games|supported games list]] starting from 0 (the order of the games in the list may change in the future, so it is better to use the game folder name or the path to it). : Also, if the program fails to find your Steam path and if you use the path to the game folder in this argument, then the Steam path will be obtained from it. :: Examples: ''0, 1, csgo, garrysmod, {{Path|C:/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/}}'' ; {{Code|-log}}: Create a log file. If this option is enabled and any argument is invalid, a ''cmd_exit_reason.log'' file will be created in the ''cache'' folder. ; {{Code|-notify}}: Show a notification when packing is finished. ; {{Code|-cachedir <path>}}: Override default ''cache'' folder path ( {{Code|preset=1|<the directory .exe file is in>/cache/}} ). ; {{Code|-addcfg <path>}}: Add game configuration (configurations located in {{Code|preset=1|<the directory .exe file is in>/game_cfgs/}} will be added automatically). ; {{Code|-gameinfo <path>}}: Set the path to the <code>gameinfo.txt</code> file if it isn't stored in the default location or the program fails to find it. ; {{Code|-mountcfg <path>}}: Set the path to the <code>mount.cfg</code> file if it isn't stored in the default location or the program fails to find it {{gmod|only}}. == Usage with Hammer == You can add a Hammer configuration to pack all the custom files right after compile. Follow these steps if you want to. # Add a new compile configuration in the expert compile mode.<br> # Set its name to {{Code|'''[AutoBSPpackingTool] - Pack data'''}} or whatever you want.<br> # Set the ''Command'' to the full path of the program .exe file.<br> #: Example: ''{{Path|C:/Users/user/Downloads/AutoBSPpackingTool|exe}}'' # Set the ''Parameters'' to: {{Code|'''-vmf $path\$file.vmf -bsp $bspdir\$file.bsp -game $gamedir -notify'''}} and add other arguments if you want.<br> # Done! Now press '''Go!''' and wait until the notification appears. {{Note|If you are using {{hpp|4}} with a game that isn't officially supported by it (for example, with {{gmod|4}}), you may need to manually set the {{Code|-game}} parameter depending on the game you are using it with, so the complete ''Parameters'' for {{gmod|4}} will look like this:<br> {{Code|'''-vmf $path\$file.vmf -bsp $bspdir\$file.bsp -game "garrysmod" -notify'''}}}} == External links == * [https://www.dropbox.com/s/rchlc2q0sc45k1t/AutoBSPpackingTool.exe?dl=0 Download from Dropbox] * [https://drive.google.com/file/d/1gvOl2tBoZGTvLw5AYJS1e6dAluBpkPwy/view?usp=share_link Download from Google Drive] == See also == * [[Third Party Tools]] * [[VIDE]] * [[Pakrat]] ЛИБО 2)  {{langsp}} {{SoftwareBox <!-- Basic info --> | title     = AutoBSPpackingTool | image      = abspt_main.png <!-- Details --> | developer = {{u|Drinkly}} | initial_release = | stable_release = | written_in = csharp | type = Third Party Tool | distribution = Freeware | websites = | download = [https://www.dropbox.com/s/rchlc2q0sc45k1t/AutoBSPpackingTool.exe?dl=0 Dropbox] <!-- Operating system(s)--> | windows = 1 | android = | macos = | linux = <!-- Target engine(s)--> | goldsrc = 0 | source = 1 | source2 = | version =  0.1.1.6 }} {{autobspp|4}} is a third party tool made for {{Src|4}} developers and mappers. It automatically detects and packs almost every possible custom file that can be used in a [[BSP|map]]. {{warning|The program requires Microsoft {{net|4}} 4.0 or higher.}} {{warning|The program uses [[VPK#Windows|vpk.exe]] and [[BSPZIP|bspzip.exe]], so you must have the [[SDK]] tools installed and the game itself you want to pack files for.}} {{tip|It will be better if you pack your custom content referenced in scripts by yourself, because there are a lot of situations in which it's impossible to detect custom content used in scripts without running the engine.}} {{important|You should put the program in an individual folder, because it will create a cache folder, a folder to store game configurations and some necessary files in the directory that the .exe file is in.}} [[File:abspt_settings.png|thumb|330px|AutoBSPpackingTool settings.]] {| class="standard-table mw-collapsible mw-collapsed" style="float:right; clear:right" ! Checkbox !! Packed file(s), if existent&nbsp; |- | .nav (navigation mesh) || {{Path|/maps/<mapname>|nav}} |- | .ain (info_node) || {{Path|/maps/graphs/<mapname>|ain}} |- | .txt (map description) || {{Path|/maps/<mapname>|txt}} |- | .txt (soundscape) || {{Path|/scripts/soundscapes_<mapname>|txt}} |- | .txt (soundscript) || {{Path|/maps/<mapname>_level_sounds|txt}} |- | .cache (soundcache) || {{Path|/maps/soundcache/<mapname>|cache}} |- | .txt (retake bombplants) || {{Path|/maps/<mapname>_retake|txt}} |- | .txt (camera positions) || {{Path|/maps/<mapname>_cameras|txt}} |- | .txt (map story) || {{Path|/maps/<mapname>_story|txt}} |- | .txt (map commentary) || {{Path|/maps/<mapname>_commentary|txt}} |- | .txt (particles manifests) || {{Path|/particles/particles_manifest|txt}}<br>{{Path|/maps/<mapname>_particles|txt}}<br>{{Path|/particles/<mapname>_manifest|txt}} |- | .txt (radar information) || {{Path|/resource/overviews/<mapname>|txt}} |- | .dds (radar images) || {{Path|/resource/overviews/<mapname>_radar|dds}}<br>{{Path|/resource/overviews/<mapname>_radar_spectate|dds}}<br>''(and vertical sections)'' |- | .svg (map icon) || {{Path|/materials/panorama/images/map_icons/map_icon_<mapname>|svg}} |- | .png (map background) || {{Path|/materials/panorama/images/map_icons/screenshots/1080p/<mapname>|png}} |- | .kv (player models) || {{Path|/maps/<mapname>|kv}} |- | .kv3 (bots behaviour) || {{Path|/scripts/<''any mentioned in scripts or .vmf''>|kv3}} |- | .png (dz spawn mask) || {{Path|/maps/<mapname>_spawnmask|png}} |- | .png (dz deployment map) || {{Path|/materials/panorama/images/survival/spawnselect/map_<mapname>|png}} |- | .vtf (dz tablet map) || {{Path|/materials/models/weapons/v_models/tablet/tablet_radar_<mapname>|vtf}} |} == Features == * Detects materials, textures, models, sounds (.wav, .mp3, .ogg), [[Skybox_(2D)|skybox]] materials, [[Detail props|detail files]], [[color correction|color correction profiles]], [[PCF_File_Format|particles]]. * Detects materials and textures used in models (including [[Multiple Skins for a Single Model|skins]]), also detects [[$includemodel]] parameter and [[Creating custom gibs|gibs]]. * Recognizes [[patch]] materials. * Detects [[NAV|.nav]] ([[Nav Mesh|navigation mesh]]), [[AIN|.ain]] ([[info_node]]), .txt ([[Mapname.txt|map description]]), .txt ([[soundscape]]), .txt ([[soundscripts|soundscript]]), .cache ([[soundcache]]), .txt ([[Counter-Strike: Global Offensive/Game Modes/Retakes#Adding_Retakes_Support_to_a_Bomb_Scenario_Map|retake bombplants]]), .txt ([[CS:GO Spectator Tools#Spectator Cameras|camera positions]]), .txt (map story), .txt ([[Commentary System#The_Commentary_File|map commentary]]), .txt ([[Particles_manifest.txt|particles manifests]]), .txt ([[Creating_a_working_mini-map#Intro_and_Basics|radar information]]), .dds ([[Creating_a_working_mini-map#Intro_and_Basics|radar images]]), .svg (map icon), .png (map background), .kv ([[Choosing Player Models|player models]]), [[KeyValues3|.kv3]] ([[CS:GO Bot Behavior Trees|bots behaviour]]), .png ([[Counter-Strike: Global Offensive/Game Modes/Danger Zone#Map_Overviews|dz spawn mask]]), .png ([[CS:GO Game Modes/Danger Zone#Map_Overviews|dz deployment map]]), .vtf ([[Counter-Strike: Global Offensive/Game Modes/Danger Zone#Map_Overviews|dz tablet map]]). * Detects sounds referenced in [[soundscape]] and [[soundscripts|soundscript]] files. * Detects scripts ([[VScript|.nut]] and [[CFG|.cfg]]). * Detects models, sounds, bots behaviour files and other scripts inside detected scripts '''if and only if they are named with their file extensions''' (.mdl, .wav, .mp3, .ogg, .kv3, .nut, .cfg). {{warning| * The program does not detect scripts with a space in the path ''(so does the logic_script entity in {{hammer|1}})''. * The program does not detect sounds referenced in scripts with a space in the path. }} * Also finds [[VMF|.vmf]] files specified in {{ent|func_instance}} entities and packs their data too. * The program reads <code>gameinfo.txt</code> (and <code>mount.cfg</code> for {{gmod|4}}) to get content search paths. * The program also reads <code>libraryfolders.vdf</code> to get steam library folders paths. * Can either pack all the found files into [[BSP|.bsp]] or save a file with a list of all detected custom files. * The program will create a backup copy of the [[BSP|.bsp]] file (.bsp.backup) ===Shared=== * The program checks for an update on startup. * The program shows a notification when packing is finished. == Supported games == {{tip|{{Tint|You can create your own game configuration or edit existing ones}}}} '''Native support''' * {{csgo|4}} * {{gmod|4}} * {{p2|4}} == Options == The program can also be used via the command line interface. Below is a list of arguments that can be passed directly when launching the program. ; {{Code|-vmf <path>}}: Set the path to .vmf file. ; {{Code|-bsp <path>}}: Set the path to .bsp file (if not specified, a file with a list of all detected custom files will be saved in the ''cache'' folder). ; {{Code|-game <index {{!}} gamefolder {{!}} path>}}: Select the game to use. Index is a number of game in [[#Supported games|supported games list]] starting from 0 (the order of the games in the list may change in the future, so it is better to use the game folder name or the path to it). : Also, if the program fails to find your Steam path and if you use the path to the game folder in this argument, then the Steam path will be obtained from it. :: Examples: ''0, 1, csgo, garrysmod, {{Path|C:/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/}}'' ; {{Code|-log}}: Create a log file. If this option is enabled and any argument is invalid, a ''cmd_exit_reason.log'' file will be created in the ''cache'' folder. ; {{Code|-notify}}: Show a notification when packing is finished. ; {{Code|-cachedir <path>}}: Override default ''cache'' folder path ( {{Code|preset=1|<the directory .exe file is in>/cache/}} ). ; {{Code|-addcfg <path>}}: Add game configuration (configurations located in {{Code|preset=1|<the directory .exe file is in>/game_cfgs/}} will be added automatically). ; {{Code|-gameinfo <path>}}: Set the path to the <code>gameinfo.txt</code> file if it isn't stored in the default location or the program fails to find it. ; {{Code|-mountcfg <path>}}: Set the path to the <code>mount.cfg</code> file if it isn't stored in the default location or the program fails to find it {{gmod|only}}. == Usage with Hammer == You can add a Hammer configuration to pack all the custom files right after compile. Follow these steps if you want to. # Add a new compile configuration in the expert compile mode.<br> # Set its name to {{Code|'''[AutoBSPpackingTool] - Pack data'''}} or whatever you want.<br> # Set the ''Command'' to the full path of the program .exe file.<br> #: Example: ''{{Path|C:/Users/user/Downloads/AutoBSPpackingTool|exe}}'' # Set the ''Parameters'' to: {{Code|'''-vmf $path\$file.vmf -bsp $bspdir\$file.bsp -game $gamedir -notify'''}} and add other arguments if you want.<br> # Done! Now press '''Go!''' and wait until the notification appears. {{Note|If you are using {{hpp|4}} with a game that isn't officially supported by it (for example, with {{gmod|4}}), you may need to manually set the {{Code|-game}} parameter depending on the game you are using it with, so the complete ''Parameters'' for {{gmod|4}} will look like this:<br> {{Code|'''-vmf $path\$file.vmf -bsp $bspdir\$file.bsp -game "garrysmod" -notify'''}}}} == External links == * [https://www.dropbox.com/s/rchlc2q0sc45k1t/AutoBSPpackingTool.exe?dl=0 Download from Dropbox] * [https://drive.google.com/file/d/1gvOl2tBoZGTvLw5AYJS1e6dAluBpkPwy/view?usp=share_link Download from Google Drive] == See also == * [[Third Party Tools]] * [[VIDE]] * [[Pakrat]]