Closed krazzarkov closed 7 months ago
Hello! When you export a file, it is decompiled. After any changes, you need to compile it again (simply renaming it with the postfix “_c” is not enough). There are no tools for this in CS2, but you can use the Half Life Alyx tools for this
@krazzarkov ,Hello, I need to remove the text from the weapon inspection page. How should I modify the file.
Can you tell me specifically how to compile the vts_c file @AspectUnk
Hey @AspectUnk, thanks for building this tool! I am currently trying to use it to modify the
inspect.vts_c
file that CS2 uses for the Panaroma UI. My goal is to modify the Panaroma UI so that inspecting weapons prevents automatic rotation.Unfortunately, after swapping the file, my CS2 instantly crashes and forces validation of all game files on Steam.
I looked through the crash logs in the generated
.mdmp
file and it seems that CS2 marks my modifiedinspect.vts_c
file as corrupt which is what causes the game to crash and force revalidation of files..mdmp output:
cs2_swapping console output:
I used Source 2 Viewer to export the
inspect.vts_c
file fromgame/csgo/pak01_dir.vpk/panorama/scripts/inspect.vts_c
. I then made some small changes the rotate limit of the_InitGlovesScene
function and saved it.After that I created a
\game\bin\win64\swapping\panorama\scripts
folder and added the modified inspect file.I am using Xenos Injector 64 bit, using manual launch for the process
cs2.exe
with thecs2_swapping.dll
file as the image. I am also running the game with-insecure
enabled.Any help or guidance would be greatly appreciated. Apologies if I missed an obvious step or did something stupid, I am very new to injecting DLLs into games.