This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EDIT Seems that valve fixed this problem??? | |
I'm referring to the 4/3/24 cs2 update | |
Let's start | |
Parallel processing is used everywhere: | |
- Particles | |
- Animations | |
- Client-side Prediction | |
- Network processing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This information can be useful for ci/cd or creating reproducable build across all developers with 0 dependencies. | |
For clang-cl you need some specific msvc stuff that only comes with Visual Studio and it's built in compiler, fortunatenly @mmozeiko | |
created really really convinient solution for this big thanks to him. | |
Use his script to download both x86 and x64 msvc and later on merge 2 folders in one. | |
Script: | |
https://gist.github.com/mmozeiko/7f3162ec2988e81e56d5c4e22cde9977 | |
Download latest clang release for win32 open exe installer with 7zip and extact bin and lib folder only for x64, for x86 we will crosscompile. | |
https://github.com/llvm/llvm-project/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install both x86 and x64 clang compilers.(clang64 and clang32) | |
Get the actual path of your x86 clang. | |
Add this to your clang64 compiler flags editing the path if needed: | |
-resource-dir c:/tools/msys64/clang32/lib/clang/16 | |
--sysroot=c:/tools/msys64/clang32 | |
-m32 | |
--target=i686-w64-windows-gnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
def convert_json(input_file, output_file): | |
with open(input_file, 'r') as f: | |
data = json.load(f) | |
new_data = { | |
"shared_secret": "REPLACEME", | |
"serial_number": "REPLACEME", |