Skip to content

Building from source

Prawy edited this page Jun 11, 2023 · 6 revisions

Dependencies

$ sudo dpkg --add-architecture i386 && sudo apt update -y
$ sudo apt install build-essential nasm libz-dev:i386 libssl-dev:i386 gcc-multilib -y

Optional (If you need support for MySQL):

$ sudo apt install libmariadb-dev:i386

Building

$ git clone https://github.com/riicchhaarrd/codextended
$ cd codextended/src
$ bash build.sh -d

You should now have codextended.so, codextended_unsafe.so files in your ../bin folder.

Build script flags

s - Steam support
m - MySQL support
d - Debug symbols (recommended)
u - Unsafe features
5 - 1.5 support (outdated)

1.1x support

The 1.1x part of source code is private. If you wish to add your own features, while preserving 1.1x support, add your features with a pull request so we can include them in the next official release.

Optionally, you can contact me at @Prawy, and I could build it with your private changes.