Порт карты в CS2

Darkzone1983

Участник
Сообщения
146
Реакции
6
Операционная система
Windows
Текст ошибки
См скрин
Здравствуйте. При портировании карты через import_map_community_gui.exe получаю такие ошибки см скрин 1
Но при этом файлы лежат C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo
Но естественно они имеют расширение .vmt без окончания .vmat_c как в ошибках.
Скажите как пофиксить. Заранее спасибо.
 

Вложения

  • Screenshot_1.png
    Screenshot_1.png
    76.2 КБ · Просмотры: 42
Последнее редактирование:

DENZEL519

Работаю через AI !
Сообщения
490
Реакции
315
@Darkzone1983, Найдите ResourceCompiler.exe (обычно в bin директории SDK)
Используйте команду для компиляции материалов:
C-подобный:
ResourceCompiler.exe -game csgo -i "путь_к_материалу.vmat" -o "выходная_директория"

1. Дождитесь завершения работы скрипта
2. Проверьте вывод скрипта - должно быть создано много .vmat_c файлов
3. Запустите import_map_community_gui.exe снова
4. Ошибки с отсутствующими .vmat_c файлами должны исчезнуть
 
  • Клоун
Реакции: who

Darkzone1983

Участник
Сообщения
146
Реакции
6
@Darkzone1983, Найдите ResourceCompiler.exe (обычно в bin директории SDK)
Используйте команду для компиляции материалов:
C-подобный:
ResourceCompiler.exe -game csgo -i "путь_к_материалу.vmat" -o "выходная_директория"

1. Дождитесь завершения работы скрипта
2. Проверьте вывод скрипта - должно быть создано много .vmat_c файлов
3. Запустите import_map_community_gui.exe снова
4. Ошибки с отсутствующими .vmat_c файлами должны исчезнуть
При запуске ResourceCompiler.exe сразу же закрывается.
 

Вложения

  • Screenshot_2.png
    Screenshot_2.png
    21.6 КБ · Просмотры: 19

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
@Darkzone1983, Найдите ResourceCompiler.exe (обычно в bin директории SDK)
Используйте команду для компиляции материалов:
C-подобный:
ResourceCompiler.exe -game csgo -i "путь_к_материалу.vmat" -o "выходная_директория"

1. Дождитесь завершения работы скрипта
2. Проверьте вывод скрипта - должно быть создано много .vmat_c файлов
3. Запустите import_map_community_gui.exe снова
4. Ошибки с отсутствующими .vmat_c файлами должны исчезнуть
Это нейронка так ответила?
 

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
Последнее редактирование:

Darkzone1983

Участник
Сообщения
146
Реакции
6
Думаю если у него в услугах это, то он пробовал)
По этому видео не работает... На сколько я знаю
Сообщения автоматически склеены:

Думаю если у него в услугах это, то он пробовал)
Короче твой совет мне тоже не помог, через командную строку тоже не запускается.
 

DENZEL519

Работаю через AI !
Сообщения
490
Реакции
315
Короче твой совет мне тоже не помог, через командную строку тоже не запускается.
  • Создай аддон под CS2: в ...Counter-Strike 2\game\csgo_addons\ сделай папку my_port (запусти CS2 один раз с -addondevelopment 1, чтобы папка появилась). Внутри держи структуру maps, materials, models и т. д.
  • Скопируй туда всё, что относится к карте: BSP, текстуры (.vtf + .vmt), модели. Пути внутри должны повторять исходные (materials/anb/...).
  • Открой CS2 Tools (cs2.exe -tools или через Steam → Tools → “Counter-Strike 2 Workshop Tools”).
  • Asset Browser → выбери папку materials своего аддона → File → Import → Legacy Material (.vmt). Импортируй все *.vmt; инструмент создаст *.vmat и бинарные *.vmat_c. Если много файлов, используй пакетный импорт (выделить папку).
  • Альтернатива через консольную утилиту:
resourcecompiler.exe -game "...\Counter-Strike 2\game\csgo_addons\my_port" -materialimport -i "materials\anb\*.vmt"(путь укажи полный; можно запускать несколько раз для разных подпапок).
  • Проверь, что у каждой текстуры появился *.vmat_c. Если импорт не находит vtf, поправь пути в vmt (открыть в текстовом редакторе и поправить "$basetexture" "anb/...”).
  • Для моделей (если есть) прогони resourcecompiler.exe с ключами -mdlimport, чтобы получить *.vmdl_c.
  • Запусти import_map_community_gui.exe, укажи BSP из csgo_addons\my_port\maps. Теперь ошибки об отсутствии *.vmat_c пропадут.
  • После успешного импорта скомпилируй карту через Hammer/Workshop Tools, протестируй в игре (Workshop Tools → Run Map) и поправь лог, если появятся другие предупреждения.
Готово: все материалы конвертированы в формат Source 2, CS2-импорт работает корректно.
 

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
По этому видео не работает... На сколько я знаю
Сообщения автоматически склеены:


Короче твой совет мне тоже не помог, через командную строку тоже не запускается.
Я еще до видео так делал и до сей пор так делаю, все работает
Сообщения автоматически склеены:

По этому видео не работает... На сколько я знаю
Сообщения автоматически склеены:


Короче твой совет мне тоже не помог, через командную строку тоже не запускается.
У тебя доходит gui до портирование текстур? Видеокарта RTX?
Сообщения автоматически склеены:

Пришли то что у тебя в конце скрипта, а не в начале
 

Darkzone1983

Участник
Сообщения
146
Реакции
6
Я еще до видео так делал и до сей пор так делаю, все работает
Сообщения автоматически склеены:


У тебя доходит gui до портирование текстур? Видеокарта RTX?
Сообщения автоматически склеены:

Пришли то что у тебя в конце скрипта, а не в начале
Вот смотри что пишет

код:
C:/Users/zdark/Desktop/source_map
python import_map_community.py "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" "C:\Users\zdark\Desktop\source_map" "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\game\csgo" gg_overpass gg_overpass -usebsp
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py:319: SyntaxWarning: invalid escape sequence '\c'
  s2contentcsgo = s2gameaddon.replace( "game\csgo_addons", "content\csgo_addons" )
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py:319: 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 "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -src1contentdir "C:\Users\zdark\Desktop\source_map" -s2addon "gg_overpass" -game csgo maps\gg_overpass.vmf
--------------------------------
Creating device for graphics adapter 0 'NVIDIA GeForce RTX 4070 Ti SUPER' [vendorid 0x10DE]: 32.0.15.8157
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo/ IMPORT_LEAFIEST_GAME
Adding Search Path c:/users/zdark/desktop/source_map/ IMPORT_LEAFIEST_CONTENT
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo/ IMPORT_GAME
Adding Search Path c:/users/zdark/desktop/source_map/ IMPORT_CONTENT
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo IMPORT_GAME
Adding Search Path c:/users/zdark/desktop/csgo IMPORT_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass EXPORT_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass EXPORT_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass EXPORT_LEAFIEST_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass EXPORT_LEAFIEST_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\core\ SOURCE2_CORE_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\core\ SOURCE2_CORE_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT
Removing Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME
Removing Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT
Building file list...
File spec: maps\gg_overpass.vmf
Found file to import c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Command Line: source1import -retail -nop4 -nop4sync -usebsp -src1gameinfodir C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo -src1contentdir C:\Users\zdark\Desktop\source_map -s2addon gg_overpass -game csgo maps\gg_overpass.vmf
Blacklisting files...

Final import list order:
        c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Importing 1 resources...
- (1/1) c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Running modified s1 VBSP.exe to help clean up geo:
./bin/vbsp.exe -game "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -vproject "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -prepfors2  c:/users/zdark/desktop/source_map/maps/gg_overpass.vmf

Begin VBSP:

Valve Software - vbsp.exe (Jun 13 2023)
Prepping bsp for s2 import!
24 threads
MSG_FILEWRITE - Filesystem was asked to write to 'c:\users\zdark\desktop\source_map\maps\gg_overpass.log', but we don't own that location. Allowing...
Using shader api: shaderapiempty.dll
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/slick_grape.vmt
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/sporty_space_blue.vmt
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/retro_grey.vmt
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\materials
Loading c:/users/zdark/desktop/source_map/maps/gg_overpass.vmf
Map revision 1
"concrete/blendconcretegravel001a" - "materials/concrete/blendconcretegravel001a.vtf": cached version doesn't exist
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 352 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing c:/users/zdark/desktop/source_map/maps/gg_overpass.prt...Building visibility clusters...
AutoVisClustering (threshold=-1) matched 0 leafs.
done (0)
Building Physics collision data...
done (0) (366304 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9..Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE

END VBSP

VBSP SUCCESS, loading BSP data...


Loading c:\users\zdark\desktop\source_map\maps\gg_overpass_s2import.bsp...
c:\users\zdark\desktop\source_map\maps\gg_overpass_s2import.bsp is version 21, not 20

BSP OK. Using cleaned up bsp geo during vmf import.

        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap (Copied from c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf)
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Skipping disallowed entity class: water_lod_control
Failed loading resource "materials/anb/decals/anb_nep.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_pap.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_crew.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_gnome.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/infer_lrgtree.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_plate.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti057a_cs.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/decal_02.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/decal_01.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti054a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti036a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_rage.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/assault_logo2.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_support.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_ctr_logo.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretewall059a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor038a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor038c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/prodbasea.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalpipe003a_cheap.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor037c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretewall059c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalwall061f.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/userope.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/props/wooddrift001a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalgrate013a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/de_chateau/woodktrim.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/props/wooddrift006a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_sign1.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/cs_havana/metal02.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_hill.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/brick/brickwall042g.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor016a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/nature/water_canals_city_murky.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/nature/blendgrassgravel001a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/blendconcretegravel001a.vmat_c" (ERROR_FILEOPEN: File not found)
        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\lighting\postprocessing\gg_overpass\gg_overpass.vpost
        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap (Copied from c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf)
        *** Imported "c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf" -> "c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap"

-----------------------------------------------------------------
 OK: 1 imported, 0 failed, 0 skipped, 0 unknown, 0m:03s
-----------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py", line 348, in <module>
    StripMDLsFromRefs( s2contentcsgoimported + "\\maps\\" + mapname + "_prefab_refs.txt" )
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py", line 20, in StripMDLsFromRefs
    refs = utl.ReadTextFile( filename )
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\utils\utlc.py", line 142, in ReadTextFile
    fr = open(fname, "r")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Counter-Strike Global Offensive\\\\content\\csgo_addons\\gg_overpass\\maps\\gg_overpass_prefab_refs.txt'

Карта да 4070 ti super
 

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Counter-Strike Global Offensive\\\\content\\csgo_addons\\gg_overpass\\maps\\gg_overpass_prefab_refs.txt'
Вот твоя основная ошибка
 

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
У тебя не создался файл gg_overpass_prefab_refs.txt
Тебе нужно:
1. Зайти C:\\Program Files (x86)\\Steam\\steamapps\\common\\Counter-Strike Global Offensive\\\\content\\csgo_addons\\gg_overpass\\maps\
У тебя там будет файлик gg_overpass_refs.txt
2. Скопировать его в эту же папку и переименовать в gg_overpass_prefab_refs.txt
3. Запустить заново скрипт
 

Darkzone1983

Участник
Сообщения
146
Реакции
6
У тебя не создался файл gg_overpass_prefab_refs.txt
Тебе нужно:
1. Зайти C:\\Program Files (x86)\\Steam\\steamapps\\common\\Counter-Strike Global Offensive\\\\content\\csgo_addons\\gg_overpass\\maps\
У тебя там будет файлик gg_overpass_refs.txt
2. Скопировать его в эту же папку и переименовать в gg_overpass_prefab_refs.txt
3. Запустить заново скрипт
Не помогло


Код:
C:/Users/zdark/Desktop/source_map
python import_map_community.py "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" "C:\Users\zdark\Desktop\source_map" "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\game\csgo" gg_overpass gg_overpass -usebsp
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py:319: SyntaxWarning: invalid escape sequence '\c'
  s2contentcsgo = s2gameaddon.replace( "game\csgo_addons", "content\csgo_addons" )
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py:319: 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 "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -src1contentdir "C:\Users\zdark\Desktop\source_map" -s2addon "gg_overpass" -game csgo maps\gg_overpass.vmf
--------------------------------
Creating device for graphics adapter 0 'NVIDIA GeForce RTX 4070 Ti SUPER' [vendorid 0x10DE]: 32.0.15.8157
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo/ IMPORT_LEAFIEST_GAME
Adding Search Path c:/users/zdark/desktop/source_map/ IMPORT_LEAFIEST_CONTENT
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo/ IMPORT_GAME
Adding Search Path c:/users/zdark/desktop/source_map/ IMPORT_CONTENT
Adding Search Path c:/program files (x86)/steam/steamapps/common/counter-strike global offensive/csgo IMPORT_GAME
Adding Search Path c:/users/zdark/desktop/csgo IMPORT_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass EXPORT_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass EXPORT_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\gg_overpass EXPORT_LEAFIEST_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\gg_overpass EXPORT_LEAFIEST_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\core\ SOURCE2_CORE_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\core\ SOURCE2_CORE_CONTENT
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME
Adding Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT
Removing Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported BASE_MOD_EXPORT_GAME
Removing Search Path C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported BASE_MOD_EXPORT_CONTENT
Building file list...
File spec: maps\gg_overpass.vmf
Found file to import c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Command Line: source1import -retail -nop4 -nop4sync -usebsp -src1gameinfodir C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo -src1contentdir C:\Users\zdark\Desktop\source_map -s2addon gg_overpass -game csgo maps\gg_overpass.vmf
Blacklisting files...

Final import list order:
        c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Importing 1 resources...
- (1/1) c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf

Running modified s1 VBSP.exe to help clean up geo:
./bin/vbsp.exe -game "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -vproject "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\\csgo" -prepfors2  c:/users/zdark/desktop/source_map/maps/gg_overpass.vmf

Begin VBSP:

Valve Software - vbsp.exe (Jun 13 2023)
Prepping bsp for s2 import!
24 threads
MSG_FILEWRITE - Filesystem was asked to write to 'c:\users\zdark\desktop\source_map\maps\gg_overpass.log', but we don't own that location. Allowing...
Using shader api: shaderapiempty.dll
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/slick_grape.vmt
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/sporty_space_blue.vmt
Failed to cache VMT specified in resource/vmtcache.txt: materials/models/player/custom_player/paintkits/gloves/retro_grey.vmt
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\materials
Loading c:/users/zdark/desktop/source_map/maps/gg_overpass.vmf
Map revision 1
"concrete/blendconcretegravel001a" - "materials/concrete/blendconcretegravel001a.vtf": cached version doesn't exist
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 352 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing c:/users/zdark/desktop/source_map/maps/gg_overpass.prt...Building visibility clusters...
AutoVisClustering (threshold=-1) matched 0 leafs.
done (0)
Building Physics collision data...
done (0) (366304 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9..Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE/BLENDGRASSGRAVEL001A uses unknown detail object type coastline_redgrass02!
Material NATURE

END VBSP

VBSP SUCCESS, loading BSP data...


Loading c:\users\zdark\desktop\source_map\maps\gg_overpass_s2import.bsp...
c:\users\zdark\desktop\source_map\maps\gg_overpass_s2import.bsp is version 21, not 20

BSP OK. Using cleaned up bsp geo during vmf import.

        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap (Copied from c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf)
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_buyzone
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Possible source of unwanted faces from bsp, found toolsnodraw in func_simpleladder
Skipping disallowed entity class: water_lod_control
Failed loading resource "materials/anb/decals/anb_nep.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_pap.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_crew.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_gnome.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/infer_lrgtree.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_plate.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti057a_cs.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/decal_02.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/decal_01.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti054a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/decals/decalgraffiti036a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_rage.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/assault_logo2.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_support.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/decals/anb_ctr_logo.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretewall059a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor038a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor038c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/prodbasea.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalpipe003a_cheap.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor037c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretewall059c.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalwall061f.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/userope.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/props/wooddrift001a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/metal/metalgrate013a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/de_chateau/woodktrim.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/props/wooddrift006a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_sign1.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/cs_havana/metal02.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/anb/overpass/gg_overpass_hill.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/brick/brickwall042g.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/concretefloor016a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/nature/water_canals_city_murky.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/nature/blendgrassgravel001a.vmat_c" (ERROR_FILEOPEN: File not found)
Failed loading resource "materials/concrete/blendconcretegravel001a.vmat_c" (ERROR_FILEOPEN: File not found)
        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\lighting\postprocessing\gg_overpass\gg_overpass.vpost
        +- Wrote file c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap (Copied from c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf)
        *** Imported "c:\users\zdark\desktop\source_map\maps\gg_overpass.vmf" -> "c:\program files (x86)\steam\steamapps\common\counter-strike global offensive\content\csgo_addons\gg_overpass\maps\gg_overpass.vmap"

-----------------------------------------------------------------
 OK: 1 imported, 0 failed, 0 skipped, 0 unknown, 0m:03s
-----------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py", line 348, in <module>
    StripMDLsFromRefs( s2contentcsgoimported + "\\maps\\" + mapname + "_prefab_refs.txt" )
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\import_map_community.py", line 20, in StripMDLsFromRefs
    refs = utl.ReadTextFile( filename )
  File "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\import_scripts\utils\utlc.py", line 142, in ReadTextFile
    fr = open(fname, "r")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Counter-Strike Global Offensive\\\\content\\csgo_addons\\gg_overpass\\maps\\gg_overpass_prefab_refs.txt'
 

Вложения

  • Screenshot_1.png
    Screenshot_1.png
    15.2 КБ · Просмотры: 25

Big

Карты головного мозга💆‍♂️
Сообщения
461
Реакции
253
Ну если называть файл txt.txt то конечно не поможет
 
Сверху Снизу