You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Installation of devkitpro-pacman; Script from https://devkitpro.org/wiki/devkitPro_pacman#:~:text=pacman%20instructions%20below.-,Debian%20and%20derivatives,devkitpro%2Dpacman%0A%20%20%20chmod%20%2Bx%20./install%2Ddevkitpro%2Dpacman%0A%20%20%20sudo%20./install%2Ddevkitpro%2Dpacman,-The%20apt%20repository
7
+
RUN wget https://apt.devkitpro.org/install-devkitpro-pacman
8
+
RUN chmod +x ./install-devkitpro-pacman
9
+
# Workaround for automation
10
+
RUN sed -i -e 's/apt-get install/apt-get install -y/' ./install-devkitpro-pacman
11
+
RUN eval ./install-devkitpro-pacman
12
+
RUN ln -s /proc/self/mounts /etc/mtab
13
+
# Installing required SDK for building
14
+
RUN dkp-pacman --noconfirm -S 3ds-dev 3ds-curl
15
+
# Exporting required variables to .bashrc to have persistence after reboot of container
16
+
RUN echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
17
+
RUN echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
18
+
RUN echo "export PATH=$PATH:/opt/devkitpro/devkitARM/bin" >> ~/.bashrc
19
+
# Adding required enviroment variables
20
+
ENV DEVKITPRO /opt/devkitpro
21
+
ENV DEVKITARM /opt/devkitpro/devkitARM
22
+
23
+
RUN apt-get update && apt-get install -y \
24
+
ffmpeg \
25
+
python3 \
26
+
python3-pip
27
+
# Install Python requirements
28
+
RUN pip install PyYAML --break-system-packages
29
+
# Link pyton3 to python
30
+
RUN ln -s $(which python3) /usr/bin/python
31
+
32
+
RUN wget https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.18.4/makerom-v0.18.4-ubuntu_x86_64.zip
33
+
RUN unzip makerom-v0.18.4-ubuntu_x86_64.zip -d $DEVKITPRO/tools/bin/
34
+
RUN chmod +x $DEVKITPRO/tools/bin/makerom
35
+
36
+
RUN wget https://github.com/diasurgical/bannertool/releases/download/1.2.0/bannertool.zip
37
+
RUN unzip bannertool.zip -d ./
38
+
RUN cp ./linux-x86_64/bannertool $DEVKITPRO/tools/bin/
0 commit comments