Utran
Posts: 3
Joined: Tue May 19, 2020 3:24 pm

Call of duty - United Offensive server on PI3

Tue May 19, 2020 3:37 pm

Hello,

I have a PI3 and I was trying to setup a CoD UO server.
I've found this:

https://linuxgsm.com/lgsm/coduoserver/

as an installation on Debian and it would all work perfectly.. if it wasn't for the fact is a build for i686.

I've searched for ways to emulate i686 arch and found this tutorial:

https://www.novaspirit.com/2019/04/15/run-x86-arm/

followed it to the letter and all seamed fine - built the kernel with the 3/1 split, created the chroot enviroument etc... however when doing the installation on step 2:

wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh coduoserver

wget - works fine, downloads everything
chmod also does the trick (in chroot I had to create the second "pi" user with all the sudos etc)
however the bash command though activates fails on some step

2020-05-19 15:21:15 (902 KB/s) - 'linuxgsm.sh' saved [11913/11913]
fetching serverlist.csv...FAIL

I've browsed the script itself and it this step is supposed to read the information from this file, which should have been created several steps prior but.. it does not happen.

I've manually implemented this file from the pure rasbian installation attempt and it did go pass this step, but broke somewhere else.
Any one tried this perhaps? Am I missing something? The big issue is that the bash script does not create/download the files accordingly which are later used for installation. I don't even know what is the issue - definetely not a permission one.

Thanks everyone.
Utran.

ptitSeb
Posts: 215
Joined: Tue May 19, 2015 2:49 pm

Re: Call of duty - United Offensive server on PI3

Wed May 20, 2020 8:58 am

Try with box86, maybe it will work.
If it doesn't, create a ticket on box86 github with logs and I'll look at it.

Utran
Posts: 3
Joined: Tue May 19, 2020 3:24 pm

Re: Call of duty - United Offensive server on PI3

Sun May 24, 2020 8:11 pm

Well the box86 option failed. The error reports that the server script is not an ELF file.
I've tried using exagear but since there is no way to get a licence key - even a cracked version. Starting on a trial version fails as well.

I've tried getting the pi386 image but that one completely crashes my kernel and it just does not boot up.

viewtopic.php?t=226376

Can't get the proper booting error, something about 256 MB... don't know what is next, changes too fast.
Either way - had to boot up a fresh clean raspbian back.

Additional ideas? I'm thinking of just quitting Pi for this project and getting a board that is x86 based.

ptitSeb
Posts: 215
Joined: Tue May 19, 2015 2:49 pm

Re: Call of duty - United Offensive server on PI3

Mon May 25, 2020 7:32 am

Utran wrote:
Sun May 24, 2020 8:11 pm
Well the box86 option failed. The error reports that the server script is not an ELF file.
Mmmm, are you sure this is a x86 binary then? My guess is this is a x86_64 binary... Try a "file" on the binary, to see what it is...

Utran
Posts: 3
Joined: Tue May 19, 2020 3:24 pm

Re: Call of duty - United Offensive server on PI3

Mon May 25, 2020 4:33 pm

Hi.

Code: Select all

pi@raspberrypi:~/coduo $ file coduoserver
coduoserver: Bourne-Again shell script, ASCII text executable
The thing is it requires libraries that are x86 specific:

Code: Select all

Warning! Missing dependencies: jq tmux netcat lib32stdc++6 libstdc++5:i386
Information! Automatically installing missing dependencies.

Code: Select all

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'rpi/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'

ptitSeb
Posts: 215
Joined: Tue May 19, 2015 2:49 pm

Re: Call of duty - United Offensive server on PI3

Tue May 26, 2020 7:36 am

The file is a shell that tries to do smart things by installing missing package... Which will not work there. You should analyse the script to get what is the binary to run and try to just run this...
There will be, probably, some missing x86 library to gather.

*EDIT* I'm trying to install it on my pi.
1st hint: when the script ask for the password for sudo, just Ctrl-C and it will continue without trying to install the dependancies.

Return to “Gaming”