PDA

View Full Version : [CodExtended] Build.sh for Compiling CoDExtendedv20



indyda
4th April 2016, 02:12
Tested on CoD1 v1.1
1) Do this: CoDExtended#building (https://github.com/riicchhaarrd/CoDExtended#building) (SteamSDK or Duktape not necessary)
2) Replace build.sh with this: http://pastebin.com/P6ZihzcX
3) Run it.
4) ...
5) Profit.

Enjoy and don't forget to give a lot of thanks to php, kungfooman, and libcod
A lot of thanks.

kung foo man
4th April 2016, 02:51
Didn't u had to delete all the steam source code too? Probably would be most useful to zip your codextended folder and just upload as a whole. Or, if you can figure out git/github, make a new commit for your changes.

Actual difference between yours and php's build.sh:

1064

And some other stuff, doesn't fit all on screen, these two other changes should be used too, the rest was added "-g" flags to gcc.



81 - params="$DEFINES -std=c99 -I. -m32 -fPIC -Wno-write-strings"
80 + params="$DEFINES -std=c99 -I. -m32 -fPIC -Wno-write-strings -DSTEAM_SUPPORT=0"




131 - g++ -include inc.h -Os -O1 -O3 -s -fvisibility=hidden -w -Wl,--exclude-libs,ALL -I. -m32 -fPIC -Wno-write-strings $STEAM_INCLUDE -c steam.cpp -o obj/steam.o
130 + # g++ -include inc.h -Os -O1 -O3 -s -fvisibility=hidden -w -Wl,--exclude-libs,ALL -I. -m32 -fPIC -Wno-write-strings $STEAM_INCLUDE -c steam.cpp -o obj/steam.o

indyda
4th April 2016, 03:43
Yep, I have this custom version up now if you guys are interested. https://github.com/iindy/CoDExtended

Updates are:
- Removed php's weapon reload modifications
- Removed Steam requirement
- Fixed/Modified chat commands - check the readme for more info
- Removed lingering JS code

Bugs:
- Invisible models (kinda rare)