The actual source code (you don't need this, if you don't want to learn/add functions):
http://dbg.killtube.org/libcod_src/
The binaries with the memory shell (cod2 memory displayed in web browser):
http://dbg.killtube.org/libcod/
Example server.sh:
Code:
export LD_LIBRARY_PATH="/root/helper/game_cod2/libs/:/root/helper/game_cod2/libs/mysql"
export LD_PRELOAD="/root/helper/game_cod2/libs/libcod2_1_2.so"
./cod2_lnxded_1.2_patch_va_loc +set g_gametype tdm etc.
GitHub repository: https://github.com/kungfooman/libcod