Skip to content

Commit 762643c

Browse files
authored
Add Xbox 360 & refactor decomp.dev compilers (#47)
* Add Xbox 360 & refactor decomp.dev compilers * Update AS case in frank.j2
1 parent df79209 commit 762643c

File tree

41 files changed

+388
-835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+388
-835
lines changed
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_144
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.0/* /compilers/gc_wii/mwcc_233_144
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_144/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_144/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_144/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_144/lmgr326b.dll /compilers/gc_wii/mwcc_233_144/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_144/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_144/lmgr8c.dll /compilers/gc_wii/mwcc_233_144/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_144/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.0 /compilers/gc_wii/mwcc_233_144
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_159
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.1/* /compilers/gc_wii/mwcc_233_159
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_159/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_159/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_159/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_159/lmgr326b.dll /compilers/gc_wii/mwcc_233_159/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_159/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_159/lmgr8c.dll /compilers/gc_wii/mwcc_233_159/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_159/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.1 /compilers/gc_wii/mwcc_233_159
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_159p1
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.1p1/* /compilers/gc_wii/mwcc_233_159p1
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_159p1/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_159p1/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_159p1/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_159p1/lmgr326b.dll /compilers/gc_wii/mwcc_233_159p1/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_159p1/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_159p1/lmgr8c.dll /compilers/gc_wii/mwcc_233_159p1/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_159p1/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.1p1 /compilers/gc_wii/mwcc_233_159p1
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_163
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.2.5/* /compilers/gc_wii/mwcc_233_163
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_163/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_163/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_163/lmgr326b.dll /compilers/gc_wii/mwcc_233_163/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_163/lmgr8c.dll /compilers/gc_wii/mwcc_233_163/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_163/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.2.5 /compilers/gc_wii/mwcc_233_163
Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
# Copy of common/decomp.dev with legacy support for frank.py
77

8-
WORKDIR /root
8+
RUN apk add --no-cache curl libarchive-tools
99

10-
RUN wget -O compilers_20240706.zip "https://files.decomp.dev/compilers_20240706.zip"
11-
RUN unzip compilers_20240706.zip
10+
RUN mkdir compilers \
11+
&& curl -L "https://files.decomp.dev/compilers_20240706.zip" \
12+
| bsdtar -xvf- -C /compilers
1213

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_163e
1414

15-
RUN cp -r GC/1.2.5e/* /compilers/gc_wii/mwcc_233_163e
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_163e/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_163e/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163e/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_163e/lmgr326b.dll /compilers/gc_wii/mwcc_233_163e/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163e/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_163e/lmgr8c.dll /compilers/gc_wii/mwcc_233_163e/LMGR8C.dll; \
24-
fi
2515
ARG FRANK_HASH=d19668657d2a5efa42cdffb801090d05734b9dbd
26-
27-
RUN wget -O /compilers/gc_wii/mwcc_233_163e/frank.py https://raw.githubusercontent.com/doldecomp/melee/${FRANK_HASH}/tools/frank.py
28-
RUN cp -r GC/1.2.5/mwcceppc.exe /compilers/gc_wii/mwcc_233_163e/mwcceppc.125.exe
29-
RUN chmod +x /compilers/gc_wii/mwcc_233_163e/mwcceppc.125.exe
30-
31-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_163e/
16+
RUN wget -O /compilers/GC/1.2.5e/frank.py https://raw.githubusercontent.com/doldecomp/melee/${FRANK_HASH}/tools/frank.py
17+
RUN cp -r /compilers/GC/1.2.5/mwcceppc.exe /compilers/GC/1.2.5e/mwcceppc.125.exe
3218

3319

34-
FROM scratch as release
20+
FROM scratch AS release
3521

36-
COPY --from=base /compilers /compilers
22+
COPY --from=base /compilers/GC/1.2.5e /compilers/gc_wii/mwcc_233_163e
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_233_163n
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.2.5n/* /compilers/gc_wii/mwcc_233_163n
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_233_163n/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_233_163n/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163n/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_233_163n/lmgr326b.dll /compilers/gc_wii/mwcc_233_163n/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_233_163n/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_233_163n/lmgr8c.dll /compilers/gc_wii/mwcc_233_163n/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_233_163n/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.2.5n /compilers/gc_wii/mwcc_233_163n
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_242_53
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.3/* /compilers/gc_wii/mwcc_242_53
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_242_53/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_242_53/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_242_53/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_242_53/lmgr326b.dll /compilers/gc_wii/mwcc_242_53/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_242_53/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_242_53/lmgr8c.dll /compilers/gc_wii/mwcc_242_53/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_242_53/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.3 /compilers/gc_wii/mwcc_242_53
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_242_81
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.3.2/* /compilers/gc_wii/mwcc_242_81
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_242_81/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_242_81/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_242_81/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_242_81/lmgr326b.dll /compilers/gc_wii/mwcc_242_81/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_242_81/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_242_81/lmgr8c.dll /compilers/gc_wii/mwcc_242_81/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_242_81/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.3.2 /compilers/gc_wii/mwcc_242_81
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_242_81r
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/1.3.2r/* /compilers/gc_wii/mwcc_242_81r
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_242_81r/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_242_81r/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_242_81r/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_242_81r/lmgr326b.dll /compilers/gc_wii/mwcc_242_81r/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_242_81r/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_242_81r/lmgr8c.dll /compilers/gc_wii/mwcc_242_81r/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_242_81r/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/1.3.2r /compilers/gc_wii/mwcc_242_81r
Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# NOTE: This file is generated automatically via template.py. Do not edit manually!
22

33

4-
FROM alpine:3.18 as base
4+
FROM alpine:3.18 AS base
55

6-
# download zip first to allow for Docker caching
6+
RUN apk add --no-cache curl libarchive-tools
77

8-
WORKDIR /root
8+
RUN mkdir compilers \
9+
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
10+
| bsdtar -xvf- -C /compilers
911

10-
RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
11-
RUN unzip compilers_20250520.zip
1212

13-
RUN mkdir -p /compilers/gc_wii/mwcc_247_105
13+
FROM scratch AS release
1414

15-
RUN cp -r GC/2.5/* /compilers/gc_wii/mwcc_247_105
16-
17-
RUN chmod +x /compilers/gc_wii/mwcc_247_105/mwcceppc.exe
18-
RUN touch /compilers/gc_wii/mwcc_247_105/license.dat
19-
RUN if [[ -f /compilers/gc_wii/mwcc_247_105/lmgr326b.dll ]]; then \
20-
mv /compilers/gc_wii/mwcc_247_105/lmgr326b.dll /compilers/gc_wii/mwcc_247_105/LMGR326B.dll; \
21-
fi
22-
RUN if [[ -f /compilers/gc_wii/mwcc_247_105/lmgr8c.dll ]]; then \
23-
mv /compilers/gc_wii/mwcc_247_105/lmgr8c.dll /compilers/gc_wii/mwcc_247_105/LMGR8C.dll; \
24-
fi
25-
26-
RUN chown -R root:root /compilers/gc_wii/mwcc_247_105/
27-
28-
29-
FROM scratch as release
30-
31-
COPY --from=base /compilers /compilers
15+
COPY --from=base /compilers/GC/2.5 /compilers/gc_wii/mwcc_247_105

0 commit comments

Comments
 (0)