Commit Graph

230 Commits

Author SHA1 Message Date
georgemoralis
140af241a0
Merge branch 'main' into user_and_settings 2026-03-22 09:57:08 +02:00
georgemoralis
08168dc386
New config mode (part1 of 0.15.1 branch series) (#4145)
* using new emulator_settings

* the default user is now just player one

* transfer install, addon dirs

* fix load custom config issue

---------

Co-authored-by: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com>
2026-03-21 22:26:36 +02:00
kalaposfos13
d6626c4ccf
Rereworked trophy backend (#4121)
* a better trophy file layout, part 1

* part 2

* now it actually works
2026-03-12 21:14:51 +02:00
georgemoralis
ff96c54451
Trophies fixes (#4114)
* added extraction to users based on npcommid

* npcommids are stored in elf_info now

Made nptrophy to work correcty with npcommids

* fixed loading of keymanager

* make linux happy

* partial trophy rewrite with lanugages support

* fixed troph file naming
2026-03-11 23:23:35 +02:00
georgemoralis
fb48bcf979
Merge branch 'main' into user_and_settings 2026-03-09 18:11:44 +02:00
Stephen Miller
cc6af03adf
Lib.SysModule: Proper HLE implementation (#4102)
* Replace sysmodule enums with table

Dumped this from the 12.52 module, using a script I created.

* Better documentation

* Separate from system libraries

That system folder is going to be getting quite large if I left all the sysmodule stuff in there.

* More arrays from library

* Found another preload list

Ghidra really hates decompiling libSceSysmodule, so I didn't notice this one at first.
Also documented specific versions tied to each preload list.

* Start work on implementation

* Some basic implementations

* Initial stub for module loading

Just enough to see if the logic functions appropriately.

* Clang

* sceSysmoduleLoadModule

Now I need to get sceSysmodulePreloadModuleForLibkernel done so that we don't have bugs from not loading internal LLEs.

* sceSysmoduleLoadModuleInternal

* sceSysmodulePreloadModuleForLibkernel

I have successfully broken quite literally everything.
I shall debug this tomorrow.

* Slight fix

* Maybe fix?

* Change log

Enjoy the log spam 😄

* Increased defined stub count

Now that libc and libSceLibcInternal loads later, all the auto stubs are getting consumed by it.

* sceSysmoduleUnloadModule stub

Also a couple fixes. Sysmodule does pass argc and argv to game modules, but only after loading them once to check  binaries.
Shouldn't matter for the most part.

* Clang

* Less stubs

2 thousand is seemingly enough.

* sceSysmoduleLoadModuleInternalWithArg

Doesn't hurt to have, since Apex Legends calls it.

* Oops

* Oops 2

* Rename isModuleLoaded to getModuleHandle

Review comment

* Remove debug game module loads

These cases only trigger when specific sceRegMgr key values are set, and for our purposes, we can treat that case as false.

* Allow preloading to fail

For kalaposfos

* Clang
2026-03-08 21:48:03 +02:00
kalaposfos13
feba8a8ffd LLE libSceMoveTracker (still doesn't work, but at least it doesn't crash on boot either) 2026-03-04 17:12:32 +01:00
kalaposfos13
7c9e69dd22 LLE PadTracker even though it doesn't actually work 2026-03-03 11:05:03 +01:00
kalaposfos13
111f893f97 code golfing 2026-03-02 19:51:32 +01:00
kalaposfos13
903af7a548 removed old config backend 2026-03-02 19:15:45 +01:00
kalaposfos13
a1451ab0a5 Merge remote-tracking branch 'origin/main' into user_and_settings 2026-03-02 18:16:26 +01:00
kalaposfos13
60b051a74c actually make game specific configs load and fix the issue with autosave 2026-03-02 17:59:04 +01:00
rainmakerv2
6a8c50c3a2
Low readbacks mode (#4085) 2026-02-28 17:17:11 +02:00
kalaposfos13
5970ab6ee2 Merge remote-tracking branch 'origin/main' into user_and_settings 2026-02-24 21:42:22 +01:00
kalaposfos13
607d704707
Mount /data to <userdir>/data instead of <userdir>/data/gameid (#4066) 2026-02-22 19:10:55 +02:00
georgemoralis
8d60671ec7 fixed compile issues 2026-02-15 12:05:34 +02:00
georgemoralis
a9df50cc9b
Merge branch 'main' into user_and_settings 2026-02-15 10:31:05 +02:00
Niram7777
8d4cbdbca9
Log actually not always compact (#4035) 2026-02-14 22:31:19 +02:00
georgemoralis
7c0303db56
Merge branch 'main' into user_and_settings 2026-02-13 10:31:17 +02:00
Stephen Miller
1a06020f70
Core: Mount system fonts (#4028)
* Mount system fonts

Now that font LLE works, these are necessary for some titles.

* Make fonts path configurable

By user request.
2026-02-13 09:02:30 +02:00
kalaposfos13
1472781784 Merge remote-tracking branch 'origin/main' into user_and_settings 2026-02-12 22:31:24 +01:00
rainmakerv2
b44ad1e087
Volume hotkey: show volume value, set game_specific arg correctly, clamp value (#4009) 2026-02-08 18:15:11 +02:00
CrazyBloo
4f11a8c979
pngenc hle (#3957)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* PngEnc hle

* format

* formatting + fix scePngEncDelete

* fix cmake + misc improvements

i think the setjmp is right according to the libpng manual, works fine from my testing

* fixes

fix an issue with how alpha was handled, and PngEncode() now properly sets the processed_height in outputInfo.

* format

* Update pngenc.cpp

* set outputInfo->processed_height during png write

i assume some games will use this for error handling
2026-01-30 10:53:09 +02:00
kalaposfos13
cc70fa8bb5
Fix thread names not updating correctly (#3968)
Also, apply consistency to thread names
Also also, copyright 2026
2026-01-28 13:25:48 +02:00
georgemoralis
7709e7db7c
Merge branch 'main' into user_and_settings
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
2026-01-21 15:39:20 +02:00
georgemoralis
cdf3c468b6
Added libSceAudiodec to lle modules list (#3916)
* added libSceAudiodec to lle modules list

* crappy float resample , use it at your own risk

* clang

* adjustments to aac

---------

Co-authored-by: Vladislav Mikhalin <mikhalinvlad@gmail.com>
2026-01-14 18:07:44 +02:00
georgemoralis
e16dd9ebe4
Merge branch 'main' into user_and_settings
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
2026-01-12 10:08:06 +02:00
Stephen Miller
910f737079
Core: Add libSceRtc, libSceJpegDec, libSceJpegEnc, and libScePngEnc LLEs (#3918)
* Run libSceRtc LLE

The more we've used our HLE, the more issues we've had with it.
While we debug these bugs, re-enabling LLE will address any regressions the swap caused.

* libSceJpegDec LLE

Needed for Trackmania until we implement HLE for this library

* libScePngEnc LLE

Needed for Minecraft until we implement HLE for this library

* Update documentation appropriately

* libSceJpegEnc LLE

By @georgemoralis's request
2026-01-11 20:48:41 +02:00
georgemoralis
d427b96f17
Merge branch 'main' into user_and_settings 2026-01-09 20:00:12 +02:00
Vladislav Mikhalin
f7a473b391
read compiled SDK version from eboot (#3905) 2026-01-09 18:29:09 +03:00
georgemoralis
153618c1a4 even more settings 2026-01-08 11:05:48 +02:00
georgemoralis
6e5e765498 more vulkan settings 2026-01-08 10:30:08 +02:00
georgemoralis
fbd6dd8215 more vk* settings 2026-01-08 09:50:22 +02:00
georgemoralis
343288f340 vkValidation* 2026-01-08 09:17:13 +02:00
georgemoralis
fc227f5664 even more settings 2026-01-05 18:51:36 +02:00
georgemoralis
61d5a93a11 Added more settings 2026-01-05 17:58:29 +02:00
georgemoralis
4b113543ea
Merge branch 'main' into user_and_settings 2026-01-05 16:17:42 +02:00
Stephen Miller
35da0506b6
set name (#3894) 2026-01-04 22:24:37 +02:00
kalaposfos13
bebd97ccfe copyright 2026 (happy new year everyone) 2026-01-01 00:01:55 +01:00
georgemoralis
a8f1e2e63f added more settings 2025-12-25 18:15:19 +02:00
georgemoralis
149c613834
Merge branch 'main' into user_and_settings
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-11-29 16:13:54 +02:00
kalaposfos13
ad1e58ed16 Squashed multiple controllers PR 2025-11-29 14:08:24 +01:00
psucien
a9f8eaf778
video_core: Initial implementation of pipeline cache (#3816)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Initial implementation

* Fix for crash caused by stale stages data; cosmetics applied

* Someone mentioned the assert

* Async blob writer

* Fix for memory leak

* Remain stuff

* Async changed to `packaged_task`
2025-11-29 11:52:08 +02:00
georgemoralis
abc456b62f even more settings
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-11-28 20:04:20 +02:00
georgemoralis
039b145159 more settings
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-11-28 15:11:41 +02:00
georgemoralis
d39ff10747 More settings 2025-11-27 19:26:10 +02:00
georgemoralis
f952d375a4 more settings porting 2025-11-27 17:08:55 +02:00
georgemoralis
761306188d more settings conversion 2025-11-27 13:01:29 +02:00
georgemoralis
b6d2748ed7 initial 2025-11-26 20:44:20 +02:00
Osyotr
544a22a431
emulator: crash faster (#2360)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
By disabling Windows Error Reporting.
2025-11-20 22:35:35 +02:00