Skip to content

Commit adadc9e

Browse files
committed
add cemu, flips ips patcher, featherpad for config editing
1 parent 2cb63ce commit adadc9e

4 files changed

Lines changed: 164 additions & 0 deletions

File tree

Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ RUN \
2828
darkplaces \
2929
eduke32 \
3030
eduke32-shareware-episode \
31+
featherpad \
3132
gnome-keyring \
3233
ibsdl2-2.0-0 \
3334
jstest-gtk \
@@ -252,6 +253,34 @@ RUN \
252253
mv \
253254
squashfs-root/usr/bin/pkg_extractor \
254255
/usr/local/bin/ && \
256+
echo "**** install cemu ****" && \
257+
mkdir /tmp/cemu && \
258+
CEMU_URL=$(curl -sX GET "https://api.github.com/repos/cemu-project/Cemu/releases/latest" \
259+
| awk -F '(": "|")' '/browser.*ubuntu-22.04-x64.zip/ {print $3}') && \
260+
curl -o \
261+
/tmp/cemu/cemu.zip -L \
262+
"${CEMU_URL}" && \
263+
cd /tmp/cemu && \
264+
unzip cemu.zip && \
265+
mv \
266+
Cemu* \
267+
/opt/cemu && \
268+
chmod +x \
269+
/opt/cemu/Cemu && \
270+
echo "**** install flips ****" && \
271+
mkdir /tmp/flips && \
272+
FLIPS_URL=$(curl -sX GET "https://api.github.com/repos/Alcaro/Flips/releases/latest" \
273+
| awk -F '(": "|")' '/browser.*-linux.zip/ {print $3}') && \
274+
curl -o \
275+
/tmp/flips/flips.zip -L \
276+
"${FLIPS_URL}" && \
277+
cd /tmp/flips && \
278+
unzip flips.zip && \
279+
mv \
280+
flips \
281+
/usr/local/bin/ && \
282+
chmod +x \
283+
/usr/local/bin/flips && \
255284
echo "**** cleanup ****" && \
256285
apt-get autoclean && \
257286
rm -rf \

root/defaults/autostart_wayland

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,12 @@ if [ ! -d "$HOME/.local/share/shadPS4" ]; then
6060
/defaults/config.toml \
6161
"$HOME/.local/share/shadPS4/"
6262
fi
63+
# Cemu
64+
if [ ! -f "${HOME}/.config/Cemu/controllerProfiles/controller0.xml" ]; then
65+
mkdir -p "${HOME}/.config/Cemu/controllerProfiles"
66+
cp \
67+
/defaults/controller0.xml \
68+
"${HOME}/.config/Cemu/controllerProfiles/controller0.xml"
69+
fi
6370

6471
dbus-run-session startlxqt > /dev/null 2>&1

root/defaults/controller0.xml

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<emulated_controller>
3+
<type>Wii U Pro Controller</type>
4+
<controller>
5+
<api>SDLController</api>
6+
<uuid>0_000081b84d6963726f736f6674205800</uuid>
7+
<display_name>Microsoft X-Box 360 pad</display_name>
8+
<rumble>0</rumble>
9+
<axis>
10+
<deadzone>0.25</deadzone>
11+
<range>1</range>
12+
</axis>
13+
<rotation>
14+
<deadzone>0.25</deadzone>
15+
<range>1</range>
16+
</rotation>
17+
<trigger>
18+
<deadzone>0.25</deadzone>
19+
<range>1</range>
20+
</trigger>
21+
<mappings>
22+
<entry>
23+
<mapping>25</mapping>
24+
<button>40</button>
25+
</entry>
26+
<entry>
27+
<mapping>24</mapping>
28+
<button>46</button>
29+
</entry>
30+
<entry>
31+
<mapping>23</mapping>
32+
<button>41</button>
33+
</entry>
34+
<entry>
35+
<mapping>22</mapping>
36+
<button>47</button>
37+
</entry>
38+
<entry>
39+
<mapping>21</mapping>
40+
<button>38</button>
41+
</entry>
42+
<entry>
43+
<mapping>20</mapping>
44+
<button>44</button>
45+
</entry>
46+
<entry>
47+
<mapping>19</mapping>
48+
<button>39</button>
49+
</entry>
50+
<entry>
51+
<mapping>18</mapping>
52+
<button>45</button>
53+
</entry>
54+
<entry>
55+
<mapping>17</mapping>
56+
<button>8</button>
57+
</entry>
58+
<entry>
59+
<mapping>16</mapping>
60+
<button>7</button>
61+
</entry>
62+
<entry>
63+
<mapping>15</mapping>
64+
<button>14</button>
65+
</entry>
66+
<entry>
67+
<mapping>1</mapping>
68+
<button>1</button>
69+
</entry>
70+
<entry>
71+
<mapping>14</mapping>
72+
<button>13</button>
73+
</entry>
74+
<entry>
75+
<mapping>2</mapping>
76+
<button>0</button>
77+
</entry>
78+
<entry>
79+
<mapping>3</mapping>
80+
<button>3</button>
81+
</entry>
82+
<entry>
83+
<mapping>4</mapping>
84+
<button>2</button>
85+
</entry>
86+
<entry>
87+
<mapping>5</mapping>
88+
<button>9</button>
89+
</entry>
90+
<entry>
91+
<mapping>6</mapping>
92+
<button>10</button>
93+
</entry>
94+
<entry>
95+
<mapping>7</mapping>
96+
<button>42</button>
97+
</entry>
98+
<entry>
99+
<mapping>8</mapping>
100+
<button>43</button>
101+
</entry>
102+
<entry>
103+
<mapping>9</mapping>
104+
<button>6</button>
105+
</entry>
106+
<entry>
107+
<mapping>10</mapping>
108+
<button>4</button>
109+
</entry>
110+
<entry>
111+
<mapping>12</mapping>
112+
<button>11</button>
113+
</entry>
114+
<entry>
115+
<mapping>13</mapping>
116+
<button>12</button>
117+
</entry>
118+
</mappings>
119+
</controller>
120+
</emulated_controller>

root/defaults/desktop/cemu.desktop

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Version=1.0
3+
Type=Application
4+
Terminal=false
5+
Exec=/usr/bin/foot -e /opt/cemu/Cemu
6+
Name=Cemu
7+
Icon=/usr/share/icons/Papirus/48x48/apps/cemu.svg
8+
Categories=Game;Emulator;

0 commit comments

Comments
 (0)