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.
GitHub repo: https://github.com/wishstudio/flinuxCode:[root@ForeignLinux ~]# LD_LIBRARY_PATH=. ./cod2_lnxded_1_2
Direct download of arch linux with .exe etc. for starting /bin/bash: https://xysun.me/static/flinux-archlinux.7z
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.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
Easier solution might be to somehow figure out how to call Win32 API and just replace the NET code with Win32 calls in libcod.