Closed FuNk-y0u closed 1 month ago
Hello! I have been trying to port a small csgo map to cs2. I believe that I have followed the instructions provided by the documentation.
I have come to incounter an error:
Blacklisting files... Failed to load source1import_blacklist.txt!!
This is the command Ive ran:
python import_map_community.py "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo" "P:\cs2_map_src" "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo" aim_ak47_cs2 aim_ak47_d -usebsp
cs2_map_src contains the .vmf file in the following structure
├───maps ├───materials │ ├───models │ │ └───player │ │ └───custom_player │ │ └───econ │ │ └───head │ │ └───ctm_diver │ └───panorama │ └───images │ ├───icons │ │ └───achievements │ ├───map_icons │ └───survival │ └───playerremainingcounter └───models ├───props │ ├───cs_italy │ ├───cs_militia │ └───cs_office └───props_c17
I am ready to provide any other info required. Thanks!
Heres the log:
$ python import_map_community.py "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo" "P:\cs2_map_src" "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo" aim_ak47_cs2 aim_ak47_d -usebsp P:\cs2-import-scripts\import_map_community.py:330: SyntaxWarning: invalid escape sequence '\c' s2contentcsgo = s2gameaddon.replace( "game\csgo_addons", "content\csgo_addons" ) P:\cs2-import-scripts\import_map_community.py:330: SyntaxWarning: invalid escape sequence '\c' s2contentcsgo = s2gameaddon.replace( "game\csgo_addons", "content\csgo_addons" ) WARNING - this script will potentially overwrite imported content in your addon folders? Enter to Continue, Esc to Quit -------------------------------- - Running Command: source1import -retail -nop4 -nop4sync -usebsp -src1gameinfodir "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo" -src1contentdir "P:\cs2_map_src" -s2addon "aim_ak47_cs2" -game csgo maps\aim_ak47_d.vmf -------------------------------- Creating device for graphics adapter 0 'NVIDIA GeForce RTX 3050 Laptop GPU' [vendorid 0x10DE]: 32.0.15.6081 Adding Search Path g:/steamlibrary/steamapps/common/counter-strike global offensive/csgo/ IMPORT_LEAFIEST_GAME Adding Search Path p:/cs2_map_src/ IMPORT_LEAFIEST_CONTENT Adding Search Path g:/steamlibrary/steamapps/common/counter-strike global offensive/csgo/ IMPORT_GAME Adding Search Path p:/cs2_map_src/ IMPORT_CONTENT Adding Search Path g:/steamlibrary/steamapps/common/counter-strike global offensive/csgo IMPORT_GAME Adding Search Path p:/csgo IMPORT_CONTENT Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\aim_ak47_cs2 EXPORT_GAME Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\aim_ak47_cs2 EXPORT_CONTENT Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\aim_ak47_cs2 GAME Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\aim_ak47_cs2 CONTENT Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\aim_ak47_cs2 EXPORT_LEAFIEST_GAME Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\aim_ak47_cs2 EXPORT_LEAFIEST_CONTENT Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\core\ SOURCE2_CORE_GAME Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\core\ SOURCE2_CORE_CONTENT Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME Adding Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT Removing Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME Removing Search Path G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT Building file list... File spec: maps\aim_ak47_d.vmf Found file to import p:\cs2_map_src\maps\aim_ak47_d.vmf Command Line: source1import -retail -nop4 -nop4sync -usebsp -src1gameinfodir G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo -src1contentdir P:\cs2_map_src -s2addon aim_ak47_cs2 -game csgo maps\aim_ak47_d.vmf Blacklisting files... Failed to load source1import_blacklist.txt!! Error running: >>>source1import -retail -nop4 -nop4sync -usebsp -src1gameinfodir "G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo" -src1contentdir "P:\cs2_map_src" -s2addon "aim_ak47_cs2" -game csgo maps\aim_ak47_d.vmf Aborting```
Fixed by verifying game files, which fixed the missing source1_blacklist.txt
Hello! I have been trying to port a small csgo map to cs2. I believe that I have followed the instructions provided by the documentation.
I have come to incounter an error:
This is the command Ive ran:
cs2_map_src contains the .vmf file in the following structure
I am ready to provide any other info required. Thanks!
Heres the log: