Skip to content

Commit a6dd75e

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fuckit
2 parents b30f74b + 72e4edc commit a6dd75e

Some content is hidden

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

93 files changed

+4660
-3410
lines changed

.github/workflows/linux-aur.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Linux CI AUR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
container:
13+
image: archlinux:latest
14+
steps:
15+
- name: Install dependencies
16+
run: |
17+
pacman -Syu --noconfirm --needed capstone curl ffmpeg freetype2 glfw libuv sdl2 zlib git make pkg-config sudo base-devel pacman-contrib
18+
- name: Create builduser
19+
run: |
20+
useradd builduser -m
21+
passwd -d builduser
22+
- name: Build AUR Package
23+
run: |
24+
git clone https://aur.archlinux.org/pcsx-redux-git.git
25+
chown -R builduser:builduser pcsx-redux-git
26+
cd pcsx-redux-git
27+
sudo -u builduser makepkg

.vscode/launch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,32 @@
192192
"valuesFormatting": "parseText"
193193
},
194194

195+
{
196+
"type": "gdb",
197+
"request": "attach",
198+
"name": "(gdb) Launch Torus demo",
199+
"target": "localhost:3333",
200+
"remote": true,
201+
"stopAtConnect": true,
202+
"executable": "./src/mips/psyqo/examples/torus/torus.elf",
203+
"gdbpath": "gdb-multiarch",
204+
"windows": {
205+
"gdbpath": "gdb-multiarch.exe"
206+
},
207+
"cwd": "${workspaceRoot}",
208+
"autorun": [
209+
"set confirm off",
210+
"set substitute-path /project .",
211+
"load ./src/mips/openbios/openbios.elf",
212+
"add-symbol-file ./src/mips/openbios/openbios.elf",
213+
"monitor reset shellhalt",
214+
"load ./src/mips/psyqo/examples/torus/torus.elf",
215+
"tbreak main",
216+
"continue",
217+
],
218+
"valuesFormatting": "parseText"
219+
},
220+
195221
{
196222
"name": "(gdb) Launch PCSX-Redux",
197223
"type": "cppdbg",

AppImageBuilder.yml

Lines changed: 46 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -16,153 +16,65 @@ AppDir:
1616
apt:
1717
arch:
1818
- amd64
19+
allow_unauthenticated: true
1920
sources:
20-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic main restricted
21+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble main restricted
2122
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C
22-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic-updates main restricted
23-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic universe
24-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic-updates universe
25-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic multiverse
26-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic-updates multiverse
27-
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ mantic-backports main
23+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble-updates main restricted
24+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble universe
25+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble-updates universe
26+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble multiverse
27+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble-updates multiverse
28+
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ noble-backports main
2829
restricted universe multiverse
29-
- sourceline: deb http://security.ubuntu.com/ubuntu mantic-security main restricted
30-
- sourceline: deb http://security.ubuntu.com/ubuntu mantic-security universe
31-
- sourceline: deb http://security.ubuntu.com/ubuntu mantic-security multiverse
30+
- sourceline: deb http://security.ubuntu.com/ubuntu noble-security main restricted
31+
- sourceline: deb http://security.ubuntu.com/ubuntu noble-security universe
32+
- sourceline: deb http://security.ubuntu.com/ubuntu noble-security multiverse
3233
include:
34+
- libavformat60:amd64
3335
- libbz2-1.0:amd64
34-
- libcom-err2:amd64
35-
- libexpat1:amd64
36-
- libgcc-s1:amd64
37-
- libgpg-error0:amd64
38-
- libkeyutils1:amd64
39-
- liblzma5:amd64
40-
- libselinux1:amd64
36+
- libcapstone4:amd64
37+
- libcurl4t64:amd64
38+
- libgl-dev:amd64
39+
- libglfw3:amd64
40+
- libjpeg-turbo8:amd64
41+
- libllvm17t64:amd64
42+
- libopengl0:amd64
43+
- libpciaccess0:amd64
44+
- libpgm-5.3-0t64:amd64
45+
- libpulse0:amd64
46+
- libsystemd0:amd64
47+
- libuv1t64:amd64
48+
- libxcb-sync1:amd64
49+
- libxcursor1:amd64
50+
- libxdmcp6:amd64
51+
- libxext6:amd64
52+
- libxfixes3:amd64
53+
- libxi6:amd64
54+
- libxinerama1:amd64
55+
- libxrandr2:amd64
56+
- libxrender1:amd64
57+
- libxshmfence1:amd64
58+
- libxxf86vm1:amd64
4159
- openssl
42-
- zlib1g:amd64
60+
- yaru-theme-icon
4361
files:
4462
include:
45-
- /lib/x86_64-linux-gnu/libOpenCL.so.1
46-
- /lib/x86_64-linux-gnu/libSvtAv1Enc.so.1
47-
- /lib/x86_64-linux-gnu/libX11.so.6
48-
- /lib/x86_64-linux-gnu/libXau.so.6
49-
- /lib/x86_64-linux-gnu/libXdmcp.so.6
50-
- /lib/x86_64-linux-gnu/libXext.so.6
51-
- /lib/x86_64-linux-gnu/libXfixes.so.3
52-
- /lib/x86_64-linux-gnu/libXrender.so.1
53-
- /lib/x86_64-linux-gnu/libaom.so.3
54-
- /lib/x86_64-linux-gnu/libavcodec.so.60
63+
- /lib/x86_64-linux-gnu/libLLVM-17.so.1
64+
- /lib/x86_64-linux-gnu/libOpenGL.so.0
65+
- /lib/x86_64-linux-gnu/libXcursor.so.1
66+
- /lib/x86_64-linux-gnu/libXi.so.6
67+
- /lib/x86_64-linux-gnu/libXinerama.so.1
68+
- /lib/x86_64-linux-gnu/libXrandr.so.2
5569
- /lib/x86_64-linux-gnu/libavformat.so.60
56-
- /lib/x86_64-linux-gnu/libavutil.so.58
57-
- /lib/x86_64-linux-gnu/libblkid.so.1
58-
- /lib/x86_64-linux-gnu/libbluray.so.2
59-
- /lib/x86_64-linux-gnu/libbrotlicommon.so.1
60-
- /lib/x86_64-linux-gnu/libbrotlidec.so.1
61-
- /lib/x86_64-linux-gnu/libbsd.so.0
62-
- /lib/x86_64-linux-gnu/libcairo-gobject.so.2
63-
- /lib/x86_64-linux-gnu/libcairo.so.2
6470
- /lib/x86_64-linux-gnu/libcapstone.so.4
65-
- /lib/x86_64-linux-gnu/libchromaprint.so.1
66-
- /lib/x86_64-linux-gnu/libcjson.so.1
67-
- /lib/x86_64-linux-gnu/libcodec2.so.1.0
68-
- /lib/x86_64-linux-gnu/libcrypto.so.3
6971
- /lib/x86_64-linux-gnu/libcurl.so.4
70-
- /lib/x86_64-linux-gnu/libdatrie.so.1
71-
- /lib/x86_64-linux-gnu/libdav1d.so.6
72-
- /lib/x86_64-linux-gnu/libffi.so.8
73-
- /lib/x86_64-linux-gnu/libfontconfig.so.1
74-
- /lib/x86_64-linux-gnu/libfreetype.so.6
75-
- /lib/x86_64-linux-gnu/libfribidi.so.0
76-
- /lib/x86_64-linux-gnu/libgcrypt.so.20
77-
- /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
78-
- /lib/x86_64-linux-gnu/libgio-2.0.so.0
72+
- /lib/x86_64-linux-gnu/libelf.so.1
7973
- /lib/x86_64-linux-gnu/libglfw.so.3
80-
- /lib/x86_64-linux-gnu/libglib-2.0.so.0
81-
- /lib/x86_64-linux-gnu/libgme.so.0
82-
- /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
83-
- /lib/x86_64-linux-gnu/libgmp.so.10
84-
- /lib/x86_64-linux-gnu/libgnutls.so.30
85-
- /lib/x86_64-linux-gnu/libgobject-2.0.so.0
86-
- /lib/x86_64-linux-gnu/libgomp.so.1
87-
- /lib/x86_64-linux-gnu/libgraphite2.so.3
88-
- /lib/x86_64-linux-gnu/libgsm.so.1
89-
- /lib/x86_64-linux-gnu/libgssapi_krb5.so.2
90-
- /lib/x86_64-linux-gnu/libharfbuzz.so.0
91-
- /lib/x86_64-linux-gnu/libhogweed.so.6
92-
- /lib/x86_64-linux-gnu/libicudata.so.71
93-
- /lib/x86_64-linux-gnu/libicuuc.so.71
94-
- /lib/x86_64-linux-gnu/libidn2.so.0
95-
- /lib/x86_64-linux-gnu/libjpeg.so.8
96-
- /lib/x86_64-linux-gnu/libk5crypto.so.3
97-
- /lib/x86_64-linux-gnu/libkrb5.so.3
98-
- /lib/x86_64-linux-gnu/libkrb5support.so.0
99-
- /lib/x86_64-linux-gnu/liblber-2.5.so.0
100-
- /lib/x86_64-linux-gnu/libldap-2.5.so.0
101-
- /lib/x86_64-linux-gnu/libmbedcrypto.so.7
102-
- /lib/x86_64-linux-gnu/libmd.so.0
103-
- /lib/x86_64-linux-gnu/libmfx.so.1
104-
- /lib/x86_64-linux-gnu/libmount.so.1
105-
- /lib/x86_64-linux-gnu/libmp3lame.so.0
106-
- /lib/x86_64-linux-gnu/libmpg123.so.0
107-
- /lib/x86_64-linux-gnu/libnettle.so.8
108-
- /lib/x86_64-linux-gnu/libnghttp2.so.14
109-
- /lib/x86_64-linux-gnu/libnorm.so.1
110-
- /lib/x86_64-linux-gnu/libnuma.so.1
111-
- /lib/x86_64-linux-gnu/libogg.so.0
112-
- /lib/x86_64-linux-gnu/libopenjp2.so.7
113-
- /lib/x86_64-linux-gnu/libopenmpt.so.0
114-
- /lib/x86_64-linux-gnu/libopus.so.0
115-
- /lib/x86_64-linux-gnu/libp11-kit.so.0
116-
- /lib/x86_64-linux-gnu/libpango-1.0.so.0
117-
- /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
118-
- /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
119-
- /lib/x86_64-linux-gnu/libpcre2-8.so.0
120-
- /lib/x86_64-linux-gnu/libpgm-5.3.so.0
121-
- /lib/x86_64-linux-gnu/libpixman-1.so.0
122-
- /lib/x86_64-linux-gnu/libpng16.so.16
123-
- /lib/x86_64-linux-gnu/libpsl.so.5
124-
- /lib/x86_64-linux-gnu/librabbitmq.so.4
125-
- /lib/x86_64-linux-gnu/librist.so.4
126-
- /lib/x86_64-linux-gnu/librsvg-2.so.2
127-
- /lib/x86_64-linux-gnu/librtmp.so.1
128-
- /lib/x86_64-linux-gnu/libsasl2.so.2
129-
- /lib/x86_64-linux-gnu/libshine.so.3
130-
- /lib/x86_64-linux-gnu/libsnappy.so.1
131-
- /lib/x86_64-linux-gnu/libsodium.so.23
132-
- /lib/x86_64-linux-gnu/libsoxr.so.0
133-
- /lib/x86_64-linux-gnu/libspeex.so.1
134-
- /lib/x86_64-linux-gnu/libsrt-gnutls.so.1.5
135-
- /lib/x86_64-linux-gnu/libssh-gcrypt.so.4
136-
- /lib/x86_64-linux-gnu/libssh.so.4
137-
- /lib/x86_64-linux-gnu/libssl.so.3
138-
- /lib/x86_64-linux-gnu/libstdc++.so.6
139-
- /lib/x86_64-linux-gnu/libswresample.so.4
140-
- /lib/x86_64-linux-gnu/libtasn1.so.6
141-
- /lib/x86_64-linux-gnu/libthai.so.0
142-
- /lib/x86_64-linux-gnu/libtheoradec.so.1
143-
- /lib/x86_64-linux-gnu/libtheoraenc.so.1
144-
- /lib/x86_64-linux-gnu/libtwolame.so.0
145-
- /lib/x86_64-linux-gnu/libudfread.so.0
146-
- /lib/x86_64-linux-gnu/libunistring.so.2
147-
- /lib/x86_64-linux-gnu/libuuid.so.1
74+
- /lib/x86_64-linux-gnu/libpulse.so.0
75+
- /lib/x86_64-linux-gnu/libsensors.so.5
14876
- /lib/x86_64-linux-gnu/libuv.so.1
149-
- /lib/x86_64-linux-gnu/libva-drm.so.2
150-
- /lib/x86_64-linux-gnu/libva-x11.so.2
151-
- /lib/x86_64-linux-gnu/libva.so.2
152-
- /lib/x86_64-linux-gnu/libvdpau.so.1
153-
- /lib/x86_64-linux-gnu/libvorbis.so.0
154-
- /lib/x86_64-linux-gnu/libvorbisenc.so.2
155-
- /lib/x86_64-linux-gnu/libvorbisfile.so.3
156-
- /lib/x86_64-linux-gnu/libvpx.so.7
157-
- /lib/x86_64-linux-gnu/libwebp.so.7
158-
- /lib/x86_64-linux-gnu/libwebpmux.so.3
159-
- /lib/x86_64-linux-gnu/libx264.so.164
160-
- /lib/x86_64-linux-gnu/libx265.so.199
161-
- /lib/x86_64-linux-gnu/libxml2.so.2
162-
- /lib/x86_64-linux-gnu/libxvidcore.so.4
163-
- /lib/x86_64-linux-gnu/libzmq.so.5
164-
- /lib/x86_64-linux-gnu/libzstd.so.1
165-
- /lib/x86_64-linux-gnu/libzvbi.so.0
77+
- /usr/lib/locale/locale-archive
16678
exclude:
16779
- usr/share/man
16880
- usr/share/doc/*/README.*
@@ -173,23 +85,18 @@ AppDir:
17385
fedora-30:
17486
image: appimagecrafters/tests-env:fedora-30
17587
command: ./AppRun
176-
use_host_x: true
17788
debian-stable:
17889
image: appimagecrafters/tests-env:debian-stable
17990
command: ./AppRun
180-
use_host_x: true
18191
archlinux-latest:
18292
image: appimagecrafters/tests-env:archlinux-latest
18393
command: ./AppRun
184-
use_host_x: true
18594
centos-7:
18695
image: appimagecrafters/tests-env:centos-7
18796
command: ./AppRun
188-
use_host_x: true
18997
ubuntu-xenial:
19098
image: appimagecrafters/tests-env:ubuntu-xenial
19199
command: ./AppRun
192-
use_host_x: true
193100
AppImage:
194101
arch: x86_64
195102
update-information: guess

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ ifeq ($(UNAME_S),Darwin)
7373
CPPFLAGS += -stdlib=libc++
7474
endif
7575

76+
LUAJIT_LDFLAGS := $(LDFLAGS)
7677
LDFLAGS += `pkg-config --libs $(PACKAGES)`
7778

7879
ifeq ($(UNAME_S),Darwin)
@@ -135,7 +136,7 @@ SRCS += third_party/luv/src/luv.c
135136
SRCS += third_party/md4c/src/md4c.c
136137
SRCS += third_party/multipart-parser-c/multipart_parser.c
137138
SRCS += third_party/nanovg/src/nanovg.c
138-
SRCS += third_party/tracy/TracyClient.cpp
139+
SRCS += third_party/tracy/public/TracyClient.cpp
139140
SRCS += third_party/ucl/src/n2e_99.c third_party/ucl/src/alloc.c
140141
SRCS += third_party/zep/extensions/repl/mode_repl.cpp
141142
SRCS += $(wildcard third_party/zep/src/*.cpp)
@@ -235,10 +236,10 @@ appimage:
235236

236237
ifeq ($(CROSS),arm64)
237238
third_party/luajit/src/libluajit.a:
238-
$(MAKE) $(MAKEOPTS) -C third_party/luajit/src amalg HOST_CC=cc CROSS=aarch64-linux-gnu- TARGET_CFLAGS=--sysroot=/opt/cross/sysroot BUILDMODE=static CFLAGS=$(LUAJIT_CFLAGS) XCFLAGS="-DLUAJIT_ENABLE_GC64 -DLUAJIT_ENABLE_LUA52COMPAT" MACOSX_DEPLOYMENT_TARGET=10.15
239+
$(MAKE) $(MAKEOPTS) -C third_party/luajit/src amalg HOST_CC=cc CROSS=aarch64-linux-gnu- TARGET_CFLAGS=--sysroot=/opt/cross/sysroot BUILDMODE=static CFLAGS=$(LUAJIT_CFLAGS) LDFLAGS=$(LUAJIT_LDFLAGS) XCFLAGS="-DLUAJIT_ENABLE_GC64 -DLUAJIT_ENABLE_LUA52COMPAT" MACOSX_DEPLOYMENT_TARGET=10.15
239240
else
240241
third_party/luajit/src/libluajit.a:
241-
$(MAKE) $(MAKEOPTS) -C third_party/luajit/src amalg CC=$(CC) BUILDMODE=static CFLAGS=$(LUAJIT_CFLAGS) XCFLAGS="-DLUAJIT_ENABLE_GC64 -DLUAJIT_ENABLE_LUA52COMPAT" MACOSX_DEPLOYMENT_TARGET=10.15
242+
$(MAKE) $(MAKEOPTS) -C third_party/luajit/src amalg CC=$(CC) BUILDMODE=static CFLAGS=$(LUAJIT_CFLAGS) LDFLAGS=$(LUAJIT_LDFLAGS) XCFLAGS="-DLUAJIT_ENABLE_GC64 -DLUAJIT_ENABLE_LUA52COMPAT" MACOSX_DEPLOYMENT_TARGET=10.15
242243
endif
243244

244245
$(TARGET): $(OBJECTS)
@@ -286,9 +287,9 @@ endef
286287

287288
regen-i18n:
288289
find src -name *.cc -or -name *.c -or -name *.h | sort -u > pcsx-src-list.txt
289-
xgettext --keyword=_ --keyword=f_ --keyword=l_ --language=C++ --add-comments --sort-by-file -o i18n/pcsx-redux.pot -f pcsx-src-list.txt
290+
xgettext --from-code=utf-8 --keyword=_ --keyword=f_ --keyword=l_ --language=C++ --add-comments --sort-by-file -o i18n/pcsx-redux.pot -f pcsx-src-list.txt
290291
find src -name *.lua | sort -u > pcsx-src-list.txt
291-
xgettext --keyword=t_ --language=Lua --join-existing --sort-by-file -o i18n/pcsx-redux.pot -f pcsx-src-list.txt
292+
xgettext --from-code=utf-8 --keyword=t_ --language=Lua --join-existing --sort-by-file -o i18n/pcsx-redux.pot -f pcsx-src-list.txt
292293
sed '/POT-Creation-Date/d' -i i18n/pcsx-redux.pot
293294
rm pcsx-src-list.txt
294295
$(foreach l,$(LOCALES),$(call msgmerge,$(l)))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ powershell -c "& { iwr -UseBasicParsing https://bit.ly/mips-ps1 | iex }"
7676
Then, open a new command prompt, and type the following:
7777

7878
```
79-
mips install 13.2.0
79+
mips install 14.2.0
8080
```
8181

8282
To manually install this script, you can download it from [here](https://bit.ly/mips-ps1), and then install it with the following command:

0 commit comments

Comments
 (0)