Skip to content

Commit a2bc623

Browse files
committed
Feat: upgrade cod4x to 20.1
1 parent 8dfdfaa commit a2bc623

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ RUN dpkg --add-architecture i386 && \
3838
apt-get -qq update && \
3939
apt-get -qq install -y nasm:i386 build-essential gcc-multilib g++-multilib paxctl wget
4040
WORKDIR /cod4
41-
ARG COD4X_VERSION=20.0
41+
ARG COD4X_VERSION=20.1
4242
RUN wget -qO- https://github.com/callofduty4x/CoD4x_Server/archive/${COD4X_VERSION}.tar.gz | \
4343
tar -xz --strip-components=1 && \
4444
sed -i 's/LINUX_LFLAGS=/LINUX_LFLAGS=-static /' makefile && \
4545
make
4646

4747
FROM --platform=${BUILDPLATFORM} alpine:${ALPINE_VERSION} AS downloader
4848
WORKDIR /tmp
49-
ARG COD4X_VERSION=20.0
49+
ARG COD4X_VERSION=20.1
5050
RUN apk add --update --no-cache -q --progress unzip && \
5151
wget -qO cod4x_server-linux.zip https://cod4x.me/downloads/cod4x_server-linux_${COD4X_VERSION}.zip && \
5252
unzip -q cod4x_server-linux.zip -d . && \
5353
rm cod4x_server-linux.zip && \
5454
apk del unzip && \
55-
dirname="cod4x_server-linux_${COD4X_VERSION}" && \
55+
dirname="cod4x_server-linux_20.0" && \
5656
mv \
5757
${dirname}/cod4x-linux-server/main/xbase_00.iwd \
5858
${dirname}/cod4x-linux-server/main/jcod4x_00.iwd \

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Call of duty 4 dedicated server in a 24MB Docker image
1919
## Requirements
2020

2121
- COD4 Client game
22-
- COD4 running on version 1.7 have to [update to 1.8-20.0](#update-your-game)
22+
- COD4 running on version 1.7 have to [update to 1.8-20.1](#update-your-game)
2323
- Original COD4 **main** and **zone** files required (from the client installation directory)
2424

2525
## Features
@@ -106,10 +106,10 @@ By default, the container runs with an HTTP file server for mods and usermaps on
106106
## Update your game
107107
108108
1. Make sure you updated your game to version 1.7 first (see [this](https://cod4x.me/index.php?/forums/topic/12-how-to-install-cod4x/))
109-
1. Download the [COD4x client ZIP file](https://cod4x.me/downloads/cod4x_client_20_0.zip)
110-
1. Using Winrar / 7Zip / Winzip, extract **cod4x_client_20_0.zip** to your COD4 game directory
111-
1. Go in the extracted directory *cod4-client-manualinstall_20.0* and double click on **install.cmd**
112-
1. When launching the multiplayer game, you should see at the bottom right `20.0`
109+
1. Download the [COD4x client ZIP file](https://cod4x.me/downloads/cod4x_client_20_1.zip)
110+
1. Using Winrar / 7Zip / Winzip, extract **cod4x_client_20_1.zip** to your COD4 game directory
111+
1. Go in the extracted directory *cod4-client-manualinstall_20.1* and double click on **install.cmd**
112+
1. When launching the multiplayer game, you should see at the bottom right `20.1`
113113
114114
## Testing
115115

steam.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ RUN dpkg --add-architecture i386 && \
3737
apt-get -qq update && \
3838
apt-get -qq install -y nasm:i386 build-essential gcc-multilib g++-multilib paxctl wget
3939
WORKDIR /cod4
40-
ARG COD4X_VERSION=20.0
40+
ARG COD4X_VERSION=20.1
4141
RUN wget -qO- https://github.com/callofduty4x/CoD4x_Server/archive/${COD4X_VERSION}.tar.gz | \
4242
tar -xz --strip-components=1 && \
4343
make
4444

4545
FROM --platform=${BUILDPLATFORM} alpine:${ALPINE_VERSION} AS downloader
4646
WORKDIR /tmp
47-
ARG COD4X_VERSION=20.0
47+
ARG COD4X_VERSION=20.1
4848
RUN apk add --update --no-cache -q --progress unzip && \
4949
wget -qO cod4x_server-linux.zip https://cod4x.me/downloads/cod4x_server-linux_${COD4X_VERSION}.zip && \
5050
unzip -q cod4x_server-linux.zip -d . && \
5151
rm cod4x_server-linux.zip && \
5252
apk del unzip && \
53-
dirname="cod4x_server-linux_${COD4X_VERSION}" && \
53+
dirname="cod4x_server-linux_20.0" && \
5454
mv \
5555
${dirname}/cod4x-linux-server/main/xbase_00.iwd \
5656
${dirname}/cod4x-linux-server/main/jcod4x_00.iwd \

0 commit comments

Comments
 (0)