Results 1 to 3 of 3

Thread: libcod on ForeignLinux/arch

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    1,951
    Thanks
    1,843
    Thanked 1,055 Times in 732 Posts

    libcod on ForeignLinux/arch

    Ok, making a new thread for this to keep track of advances and ideas.

    https://killtube.org/attachment.php?...6&d=1545772304

    .so file needed for FLinux/Arch: https://killtube.org/showthread.php?...ll=1#post17695

    Arch + ForeignLinux manages what WSL can't.

    I'm a bit of an Arch potato, so gonna slowly figure some stuff out... installing gcc etc.

    Code:
    [root@ForeignLinux ~]# LD_LIBRARY_PATH=. ./cod2_lnxded_1_2
    GitHub repo: https://github.com/wishstudio/flinux

    Direct download of arch linux with .exe etc. for starting /bin/bash: https://xysun.me/static/flinux-archlinux.7z

    Code:
    [root@ForeignLinux ~]# LD_LIBRARY_PATH=. ./cod2_lnxded_1_2
    CoD2 MP 1.2 build linux-i386 Apr 19 2006
    ----- FS_Startup -----
    Current language: english
    Current search path:
    /root/.callofduty2/main
    /root/main/iw_15.iwd (85 files)
    /root/main/iw_14.iwd (4038 files)
    /root/main/iw_13.iwd (22624 files)
    /root/main/iw_12.iwd (1016 files)
    /root/main/iw_11.iwd (1462 files)
    /root/main/iw_10.iwd (1936 files)
    /root/main/iw_09.iwd (2142 files)
    /root/main/iw_08.iwd (2723 files)
    /root/main/iw_07.iwd (3384 files)
    /root/main/iw_06.iwd (990 files)
    /root/main/iw_05.iwd (928 files)
    /root/main/iw_04.iwd (698 files)
    /root/main/iw_03.iwd (26 files)
    /root/main/iw_02.iwd (40 files)
    /root/main/iw_01.iwd (16 files)
    /root/main/iw_00.iwd (102 files)
    /root/main
    /root/.callofduty2/raw
    /root/.callofduty2/raw_shared
    /root/.callofduty2/devraw
    /root/.callofduty2/devraw_shared
    /root/raw
    /root/raw_shared
    /root/devraw
    /root/devraw_shared
    
    File Handles:
    ----------------------
    80563 files in iwd files
    execing default_localize_mp.cfg
    couldn't exec language.cfg
    couldn't exec config_mp_server.cfg
    Opening IP socket: localhost:28960
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28961
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28962
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28963
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28964
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28965
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28966
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28967
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28968
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: localhost:28969
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Sys_Error: Error during initialization:
    Couldn't allocate IP port
    Currently the only problem seems to be missing syscalls for posix UDP api. Anybody feels like implementing that? I managed to compile FLinux, but my build crashes (Win10/VS2017). Might need Win7 VM and VS2015 or something.

    Easier solution might be to somehow figure out how to call Win32 API and just replace the NET code with Win32 calls in libcod.
    timescale 0.01

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,573
    Thanks
    17
    Thanked 918 Times in 572 Posts
    Are you sure you have an ip entered? Looks like its trying to bind to "localhost" which might be unknown by the udp thingy
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

    Sending me a private message makes me want to help you LESS.

  3. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    1,951
    Thanks
    1,843
    Thanked 1,055 Times in 732 Posts
    Hm, nice idea, but same problem:

    Code:
    [root@ForeignLinux ~]# LD_LIBRARY_PATH=. ./cod2_lnxded_1_2  +set net_ip 127.0.0.1
    CoD2 MP 1.2 build linux-i386 Apr 19 2006
    ----- FS_Startup -----
    Current language: english
    Current search path:
    /root/.callofduty2/main
    /root/main/iw_15.iwd (85 files)
    /root/main/iw_14.iwd (4038 files)
    /root/main/iw_13.iwd (22624 files)
    /root/main/iw_12.iwd (1016 files)
    /root/main/iw_11.iwd (1462 files)
    /root/main/iw_10.iwd (1936 files)
    /root/main/iw_09.iwd (2142 files)
    /root/main/iw_08.iwd (2723 files)
    /root/main/iw_07.iwd (3384 files)
    /root/main/iw_06.iwd (990 files)
    /root/main/iw_05.iwd (928 files)
    /root/main/iw_04.iwd (698 files)
    /root/main/iw_03.iwd (26 files)
    /root/main/iw_02.iwd (40 files)
    /root/main/iw_01.iwd (16 files)
    /root/main/iw_00.iwd (102 files)
    /root/main
    /root/.callofduty2/raw
    /root/.callofduty2/raw_shared
    /root/.callofduty2/devraw
    /root/.callofduty2/devraw_shared
    /root/raw
    /root/raw_shared
    /root/devraw
    /root/devraw_shared
    
    File Handles:
    ----------------------
    80563 files in iwd files
    execing default_localize_mp.cfg
    couldn't exec language.cfg
    couldn't exec config_mp_server.cfg
    Opening IP socket: 127.0.0.1:28960
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28961
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28962
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28963
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28964
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28965
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28966
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28967
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28968
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Opening IP socket: 127.0.0.1:28969
    ERROR: UDP_OpenSocket: bind: Invalid argument
    Sys_Error: Error during initialization:
    Couldn't allocate IP port
    timescale 0.01

Posting Permissions

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