#cs2 import map cli error

1 messages · Page 1 of 1 (latest)

neat pine
#

I'm trying to get an old csgo map I made into CS2, and it's giving me this error: cannot find "de_rcf_prefab_refs.txt" (the old map is de_rcf and the new one de_rcf_s2). Am I supposed to create this file when making the map in the old hammer? or am I getting the parameters wrong?

gaunt igloo
#

the vmf should not be in csgo/maps/

neat pine
#

should this fix it? I am a confused on what files it need on the second parameter, in this case "D:\map_dev_tools\de_rcf". Here's a screenshot of the files in this folder if it helps
python import_map_community.py "D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo" "D:\map_dev_tools\de_rcf" "D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\core" "de_rcf_s2" "de_rcf" -usebsp

#

I tried this but the script still went to look for the vmf file in csgo/maps/ for some reason

#

plus the valve wiki said it shouldn't contain spaces and that could probably be the problem

gaunt igloo
#

in D:\map_dev_tools\de_rcf do you have a folder called maps

#

the vmf needs to be in that folder

neat pine
#

oooh i created a folder there and it worked! Thanks so much!

#

ah crap i think another problem popped up

#

is it still looking for a vmf there? should i delete it?

gaunt igloo
#

delete it

neat pine
#

OOOH IT WORKS NOW

#

thank u so much 👍

#

wait no im stupid

#

I still don't know what this _prefab_refs.txt means

#

seems to be causing some problems here

gaunt igloo
#

ah you made a mistake

#

you should point to game/csgo/ not core

neat pine
#

oh ok i'll try that

#

you mean the third parameter right?

gaunt igloo
#

yes

neat pine
#

ITS GOING FINALLY