-
Notifications
You must be signed in to change notification settings - Fork 2
Building & Compiling
Attention!
Linux-Strike will build into folder ../game/
Make sure you clone this repo inside an existing folder!
Linux-Strike uses CMake, the following sections will provide more information.
Required Packages moved to this page: https://github.com/P0L3NARUBA/Linux-Strike/wiki/Required-Packages
See the wiki page for CMake Building options: https://github.com/P0L3NARUBA/Linux-Strike/wiki/CMake-Options
cd ./cmake-build
cmake .. <VARIOUS OPTIONS HERE>
make -j<NUM_THREADS>
Use Depot Downloader(https://github.com/SteamRE/DepotDownloader) with your steam account.
CSGO SteamAppID: 730
CSGO Assets: DepotID: 731 ManifestID: 7043469183016184477
Windows Binaries: DepotID: 732 ManifestID: 4047004309608881181
Linux Binaries: Depot ID: 734 ManifestID: 4197642562793798650
The command parameters for Depot Downloader should be: ./DepotDownloader -username *username* -password *password* -app *appid* -depot *depotid* -manifest *manifestid*
Download these depots with Depot Downloader, When all the files/folders are installed:
- Copy over all files from the 731 assets depot (manifest: 7043469183016184477)
- Copy over only needed files from the 734 linux binary depot (manifest: 4197642562793798650)
- ./bin/map_publish/* - (FOLDER which seems to contain some vgui assets)
- ./csgo.sh
- [OPTIONAL]./game/bin/linux64/libphonon3d.so -- If you want HRTF 3D sound.
- [OPTIONAL]./game/bin/linux64/vphysics_client.so -- If you want Valve-Original physics engine. (It runs a bit better than the rebuild, but is closed-source)
- [OPTIONAL]./game/bin/linux64/scaleformui_client.so -- If you want the ScaleformUI for some reason.
File Structure should be like this:
Files/
depots/
├─ 731/ (CSGO Assets)
│ ├─ 13410341/
├─ 732/ (Windows Binaries) [OPTIONAL]
│ ├─ 13410341/
├─ 734/ (Linux Binaries)
│ ├─ 13410341/
game/ (If you started compiling, then this folder will appear.)
Linux-Strike/ (Source Code Folder)
Head over to the Files Repo: https://github.com/P0L3NARUBA/Linux-Strike-Files These are belongs to inside of your ../game/
folder.
- This step only for who compiled with -DUSE_ROCKETUI=1 Flag.
- ${LIBPUBLIC}/libsteam_api.so - Left for Convenience, can be removed in the future.
- Here you can find how to implement Goldberg Steam Emulator to make the game work without Steam: https://github.com/P0L3NARUBA/Linux-Strike/wiki/Goldberg-Steam-Emulator
./csgo_linux64
Into your terminal, CD to /game/ folder.
If its not working, Then try: ./csgo.sh
- VS Code with C/C++ and CMake syntax extensions installed.
- CLion
Note
CLion is a Paid IDE, so maybe you should need to prefer VSCode.
CLion has a 30 day free-trial.