Results 1 to 3 of 3

Thread: [CodExtended] Build.sh for Compiling CoDExtendedv20

  1. #1
    Private
    Join Date
    Jul 2013
    Posts
    11
    Thanks
    2
    Thanked 10 Times in 6 Posts

    [CodExtended] Build.sh for Compiling CoDExtendedv20

    Tested on CoD1 v1.1
    1) Do this: 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.

  2. The Following User Says Thank You to indyda For This Useful Post:

    kung foo man (4th April 2016)

  3. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    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:

    Click image for larger version. 

Name:	diff.png 
Views:	44 
Size:	21.2 KB 
ID:	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.

    Code:
    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"
    Code:
    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
    timescale 0.01

  4. #3
    Private
    Join Date
    Jul 2013
    Posts
    11
    Thanks
    2
    Thanked 10 Times in 6 Posts
    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)

  5. The Following User Says Thank You to indyda For This Useful Post:

    kung foo man (4th April 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •