I think I know the problem, I just do not know how to fix it.
This is the error I am getting while trying to run the installer.
Code:
./bf2-linuxded-1.0.2446.12d-installer.sh: ./license.sh: /bin/sh: bad interpreter: Permission denied
I think it's caused from the tmp directory being setup with noexec; since the game installer seems to want to put the install files in the tmp directory while it installs it.
So I thought I could just edit the script and remove the location of the tmp path to something my user has rights to. No go. This is what happened.
Code:
Verifying archive integrity...Error in MD5 checksums: adb6fcabdecdb69de4fba778bfe3d3fa is different from bd9ba3fafe9e514340f1e55c32893c71
So I said ok, I can just change the MD5 on the installer to match the changes I just made, right? Well the script tells you the new MD5 so I just used that in the location where it says MD5.
Which was: adb6fcabdecdb69de4fba778bfe3d3fa
So I put that new MD5 in the installer. Then I get this error.
Code:
Verifying archive integrity... All good.
Uncompressing Battlefield 2 Dedicated Linux Server 1.0.2446.12d.... incomplete literal tree
gzip: stdin: invalid compressed data--format violated
..Extraction failed.
Signal caught, cleaning up
No clue what I did wrong, I only changed two lines.
MD5="adb6fcabdecdb69de4fba778bfe3d3fa"
TMPROOT=${TMPDIR:=/home/bf2/tmp/}
Those are the only two lines I altered.
I am at a loss as to what to do now.