forked from Kethen/RemoteJoyLite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript
More file actions
81 lines (67 loc) · 2.6 KB
/
script
File metadata and controls
81 lines (67 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
set -xe
rm -rf x86
mkdir x86
rm -rf x64
mkdir x64
rm -rf aarch64
mkdir aarch64
rm -rf psp
mkdir psp
(
export PATH="/usr/local/pspdev/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/pspsdk/lib:$LD_LIBRARY_PATH"
cd RemoteJoyLite_psp
make clean
make RELEASE=1
mv RemoteJoyLite.prx ../psp/
make clean
make
mv RemoteJoyLiteDebug.prx ../psp/
make clean
)
(
export PATH=/llvm-mingw-20241217-ucrt-ubuntu-20.04-x86_64/bin:$PATH
cd RemoteJoyLite_pc
make clean
make -j$(nproc) ARCH=x86 CPPC=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres LANGUAGE=LANG_JA
mv RemoteJoyLite.exe ../x86/RemoteJoyLite_JA_32.exe
make clean
make -j$(nproc) ARCH=x86 CPPC=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres LANGUAGE=LANG_EN
mv RemoteJoyLite.exe ../x86/RemoteJoyLite_EN_32.exe
cp libusb0_x86.dll ../x86/libusb0.dll
make clean
make -j$(nproc) ARCH=x64 CPPC=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres LANGUAGE=LANG_JA
mv RemoteJoyLite.exe ../x64/RemoteJoyLite_JA_64.exe
make clean
make -j$(nproc) ARCH=x64 CPPC=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres LANGUAGE=LANG_EN
mv RemoteJoyLite.exe ../x64/RemoteJoyLite_EN_64.exe
cp libusb0_x64.dll ../x64/libusb0.dll
make clean
make -j$(nproc) ARCH=aarch64 CPPC=aarch64-w64-mingw32-g++ WINDRES=aarch64-w64-mingw32-windres LANGUAGE=LANG_JA
mv RemoteJoyLite.exe ../aarch64/RemoteJoyLite_JA_aarch64.exe
make clean
make -j$(nproc) ARCH=aarch64 CPPC=aarch64-w64-mingw32-g++ WINDRES=aarch64-w64-mingw32-windres LANGUAGE=LANG_EN
mv RemoteJoyLite.exe ../aarch64/RemoteJoyLite_EN_aarch64.exe
cp libusb0_aarch64.dll ../aarch64/libusb0.dll
make clean
)
rm -rf x86_linux
rm -rf x64_linux
cp -r x86 x86_linux
cp -r x64 x64_linux
cp -r aarch64 aarch64_linux
cp -r linux_libusb/x86/libusb0.dll.so x86_linux/libusb0.dll
cp -r linux_libusb/x64/libusb0.dll.so x64_linux/libusb0.dll
cp -r linux_libusb/aarch64/libusb0.dll.so aarch64_linux/libusb0.dll
cp linux_scripts/start_linux.sh x86_linux/start_linux_JA.sh
cp linux_scripts/start_linux.sh x86_linux/start_linux_EN.sh
cp linux_scripts/start_linux.sh x64_linux/start_linux_JA.sh
cp linux_scripts/start_linux.sh x64_linux/start_linux_EN.sh
cp linux_scripts/start_linux.sh aarch64_linux/start_linux_JA.sh
cp linux_scripts/start_linux.sh aarch64_linux/start_linux_EN.sh
cp linux_scripts/60-psp-b-usb.rules x86_linux/60-psp-b-usb.rules
cp linux_scripts/60-psp-b-usb.rules x64_linux/60-psp-b-usb.rules
cp linux_scripts/60-psp-b-usb.rules aarch64_linux/60-psp-b-usb.rules
cp dxvk-2.5.2/x32/d3d9.dll x86_linux/d3d9.dll
cp dxvk-2.5.2/x64/d3d9.dll x64_linux/d3d9.dll
cp dxvk-2.5.2-aarch64/aarch64/d3d9.dll aarch64_linux/d3d9.dll