-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 241bc7b
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* text eol=lf | ||
|
||
*.gif binary | ||
*.png binary | ||
*.jpg binary | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Protobufs/google/ | ||
.support/ | ||
*staged_* | ||
*.dylib | ||
*.dll | ||
*.so | ||
*.vpk | ||
*.vpk.manifest.txt | ||
*.swf | ||
*.pbin | ||
*.bsp | ||
*.bin | ||
exceptions.txt | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Game Tracker: Deadlock | ||
|
||
Tracking things, so you don't have to. | ||
|
||
[See readme in main GameTracking repository for more information on how files are tracked.](https://github.com/SteamDatabase/GameTracking#readme) | ||
|
||
## Join our Discord | ||
|
||
[](https://steamdb.info/discord/) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
cd "${0%/*}" | ||
. ../common.sh | ||
|
||
echo "Processing CS2..." | ||
|
||
ProcessDepot ".so" | ||
ProcessDepot ".dll" | ||
ProcessVPK | ||
|
||
while IFS= read -r -d '' file | ||
do | ||
echo " > $file" | ||
|
||
# When updating vpk_extensions, also update "vpk:..." in GameTracking/files.json | ||
~/ValveResourceFormat/Decompiler/bin/Release/linux-x64/publish/Decompiler \ | ||
--input "$file" \ | ||
--output "$(echo "$file" | sed -e 's/\.vpk$/\//g')" \ | ||
--vpk_cache \ | ||
--vpk_decompile \ | ||
--vpk_extensions "txt,lua,kv3,db,gameevents,vcss_c,vjs_c,vts_c,vxml_c,vsndevts_c,vsndstck_c,vpulse_c,vdata_c" \ | ||
|| echo "Decompiler failed" | ||
done < <(find . -type f -name "pak01_dir.vpk" -print0) | ||
|
||
while IFS= read -r -d '' file | ||
do | ||
sed -i '/\/\/# sourceMappingURL=/d' "$file" | ||
done < <(find . -type f -name "*.js" -print0) | ||
|
||
ProcessToolAssetInfo | ||
FixUCS2 | ||
|
||
CreateCommit "$(grep "ClientVersion=" game/csgo/steam.inf | grep -o '[0-9\.]*')" "$1" | ||
|
||
echo "Done" |