-
Notifications
You must be signed in to change notification settings - Fork 71
fill null pointer deref in voice label creation + added openbsd support #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+35
−82
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -144,4 +144,4 @@ endif() | |
|
|
||
| set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) | ||
|
|
||
| include(CPack) | ||
| include(CPack) | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,82 +1,29 @@ | ||
| # CS16Client [](https://github.com/Velaron/cs16-client/actions) <img align="right" width="128" height="128" src="https://github.com/Velaron/cs16-client/raw/main/android/app/src/main/ic_launcher-playstore.png" alt="CS16Client" /> | ||
| Reverse-engineered Counter Strike 1.6 client, designed for mobile platforms and other officially non-supported platforms. | ||
| # CS16Client-OpenBSD | ||
|
|
||
| ## Donate | ||
| [](https://boosty.to/velaron) | ||
| https://github.com/Velaron/cs16-client | ||
| "ported" to OpenBSD. | ||
|
|
||
| [Support me](https://boosty.to/velaron) on Boosty.to, if you like my work and would like to support further development goals, like reverse-engineering other great mods. | ||
| # Building & Installing | ||
|
|
||
| Important contributors: | ||
| * [a1batross](https://github.com/a1batross), initial project creator and maintainer. | ||
| * [jeefo](https://github.com/jeefo), the creator of [YaPB](https://github.com/yapb/yapb). | ||
| * The people behind [ReGameDLL_CS](https://github.com/rehlds/ReGameDLL_CS) project. | ||
| * [Vladislav4KZ](https://github.com/Vladislav4KZ), bug-tester and maintainer. | ||
| * [SNMetamorph](https://github.com/SNMetamorph), author of the PSVita port. | ||
| * [Alprnn357](https://github.com/Alprnn357), touch menus maintainer. | ||
| * [wh1tesh1t](https://github.com/wh1tesh1t), [pwd491](https://github.com/pwd491), [Elinsrc](https://github.com/Elinsrc), [xiaodo1337](https://github.com/xiaodo1337), [nekonomicon](https://github.com/nekonomicon), [lewa-j](https://github.com/lewa-j) and others for minor contributions. | ||
|
|
||
| ## Download | ||
| You can download a build at the `Releases` section, or use these links for common platforms: | ||
| * [Android](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-Android.apk) | ||
| * [Linux](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-Linux-i386.tar.gz) | ||
| * [Windows](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-Windows-X86.zip) | ||
| * [PS Vita](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-PSVita.zip) | ||
| * [macOS (arm64)](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-macOS-arm64.zip) - not tested | ||
| * [macOS (x86_64)](https://github.com/Velaron/cs16-client/releases/download/continuous/CS16Client-macOS-x86_64.zip) - not tested | ||
|
|
||
| [Other platforms...](https://github.com/Velaron/cs16-client/releases/tag/continuous) | ||
|
|
||
| ## Installation | ||
| To run CS16Client you need the [latest developer build of Xash3D FWGS](https://github.com/FWGS/xash3d-fwgs/releases/tag/continuous). | ||
| You have to own the [game on Steam](https://store.steampowered.com/app/10/CounterStrike//) and copy `valve` and `cstrike` folders into your Xash3D FWGS directory. | ||
| After that, just install the APK and run. | ||
| building is the same as the Linux build instructions of the https://github.com/Velaron/cs16-client | ||
| but here they are: | ||
| cmake -S . -B build | ||
| cmake --build build --config Release | ||
| cmake --install build --prefix <path-to-your-installation> | ||
|
|
||
| ## Configuration (CVars) | ||
| | CVar | Default | Min | Max | Description | | ||
| |--------------------------|---------------|-----|-----|---------------------------------------------------------------------------------------------| | ||
| | hud_color | "255 160 0" | - | - | HUD color in RGB. | | ||
| | cl_quakeguns | 0 | 0 | 1 | Draw centered weapons. | | ||
| | cl_weaponlag | 0 | 0.0 | - | Enable weapon lag/sway. | | ||
| | xhair_additive | 0 | 0 | 1 | Makes the crosshair additive. | | ||
| | xhair_color | "0 255 0 255" | - | - | Crosshair's color (RGBA). | | ||
| | xhair_dot | 0 | 0 | 1 | Enables crosshair dot. | | ||
| | xhair_dynamic_move | 1 | 0 | 1 | Jumping, crouching and moving will affect the dynamic crosshair (like cl_dynamiccrosshair). | | ||
| | xhair_dynamic_scale | 0 | 0 | - | Scale of the dynamic crosshair movement. | | ||
| | xhair_gap_useweaponvalue | 0 | 0 | 1 | Makes the crosshair gap scale depend on the active weapon. | | ||
| | xhair_enable | 0 | 0 | 1 | Enables enhanced crosshair. | | ||
| | xhair_gap | 0 | 0 | 15 | Space between crosshair's lines. | | ||
| | xhair_pad | 0 | 0 | - | Border around crosshair. | | ||
| | xhair_size | 4 | 0 | - | Crosshair size. | | ||
| | xhair_t | 0 | 0 | 1 | Enables T-shaped crosshair. | | ||
| | xhair_thick | 0 | 0 | - | Crosshair thickness. | | ||
| # Status | ||
|
|
||
| ## Building | ||
| Clone the source code: | ||
| ```shell | ||
| git clone https://github.com/Velaron/cs16-client --recursive | ||
| ``` | ||
| - Tested on OpenBSD version 7.8 | ||
| - Using AMD64 architecture | ||
| - Many multiplayer servers do not work due to steam requirements | ||
| - Takes a long time to download resources from some servers, and some simply do not work because of steam auth | ||
| - Training mode works (needs more testing) | ||
| - Bots not tested yet | ||
| - No known issues yet | ||
|
|
||
| ### Using CMakePresets.json | ||
| ```shell | ||
| cmake --preset <preset-name> | ||
| cmake --build build | ||
| cmake --install build --prefix <path-to-your-installation> | ||
| ``` | ||
| # TODO | ||
| - test bots | ||
| - maybe try to get added to ports tree | ||
|
|
||
| ### Windows | ||
| ```shell | ||
| cmake -A Win32 -S . -B build | ||
| cmake --build build --config Release | ||
| cmake --install build --prefix <path-to-your-installation> | ||
| ``` | ||
| ### Linux and macOS | ||
| ```shell | ||
| cmake -S . -B build | ||
| cmake --build build --config Release | ||
| cmake --install build --prefix <path-to-your-installation> | ||
| ``` | ||
| ### Android | ||
| ```shell | ||
| cd android | ||
| ./gradlew assembleRelease | ||
| ``` | ||
| # Credits | ||
| original project: https://github.com/Velaron/cs16-client |
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?