Commit graph

1505 commits

Author SHA1 Message Date
georgemoralis e06f9587ae Merge branch 'main' into shader_recompiler/format 2024-08-29 10:18:12 +03:00
¥IGA b0dd93e9f6 Update French translation (#641) 2024-08-29 10:02:36 +03:00
DanielSvoboda c1d46094a0 Cheats/Patches (#493)
* Cheats/Patches

Adds the possibility of applying cheats/patches according to the specific game serial+version

The logic for adding modifications has not yet been implemented!

Interface based on issues/372 https://github.com/shadps4-emu/shadPS4/issues/372

[X]Front-end
[]Back-end

Create a synchronized fork of the cheats/patches repository

* Clang Format

* separate files

The code has been separated into separate files as suggested by georgemoralis.
Added the Patch tab, which has not been implemented yet.
Added the 'applyCheat' area to apply the modification, not implemented yet...
And added LOG_INFO.

* reuse

* initial implementation of cheat functionality

* Update cheats_patches.cpp

sets all added buttons to the size of the largest button.
and fixes some aesthetic issues.

* move eboot_address to module.h

fixes the non-qt builds and makes more sense to be there anyway

* Patchs menu and fixes

adds the possibility to download Patches, it does not modify the memory yet.
and some other fixes

* MemoryPatcher namespace, activate cheats on start

* format

* initial patch implementation

* format

* format again...

* convertValueToHex

* Fixes

Choosing which cheat file to use.
And some other fixes

* fix bytes16, bytes32, bytes64 type patches

If a patch is any of these types we convert it from little endian to big endian

* format

* format again :(

* Implement pattern scanning for mask type patches

* add check to stop patches applying to wrong game

previously if you added a patch to a game, but closed the window and opened a different game it would still try to apply the patch, this is now fixed

* format

* Fix 'Hint' 0x400000 |  and Author

* Management |save checkbox | shadps4 repository

MENU - Cheats/Patches Management (implementing Patches)
save patches checkbox
add shadps4 repository

* Load saved patches, miscellaneous fixes

* Fix an issue with mask patches not being saved

* format + remove debug log

* multiple patches | TR translation for cheats/patches

* clang

* ENABLE_QT_GUI

* OK

* move memory_patcher to qt_gui

* clang

* add cheats hu_HU

* fix log

* Remove the item from the patchesListView if no patches were added (the game has patches, but not for the current version)

---------

Co-authored-by: CrazyBloo <CrazyBloo@users.noreply.github.com>
2024-08-29 07:18:50 +03:00
georgemoralis 7b425f347c Merge pull request #636 from CyntexMore/main
Added HU translation
2024-08-29 00:08:51 +03:00
psucien 741df40aa4 shader_recompiler: frontend: SOPC and SOPK handling separated; more cmp opcodes (#634) 2024-08-28 22:27:47 +02:00
CyntexMore f4d6e36749 feat(translation): hu_HU translated 2024-08-28 22:15:03 +02:00
georgemoralis 6596cf4e7a Merge pull request #631 from Emulator-Team-2/Fix
Misc fixes
2024-08-28 22:26:50 +03:00
georgemoralis a69c96d2ae Merge pull request #632 from bigol83/patch-2
Update Italian translation
2024-08-28 21:13:47 +03:00
bigol83 2ff1ec0540 Update it.ts 2024-08-28 19:14:33 +02:00
Emulator-Team-2 357374f42b clang-format fix 2024-08-28 18:45:32 +02:00
Emulator-Team-2 cb6e67d6e1 added data_format=3 and num_format=4 2024-08-28 18:12:59 +02:00
Emulator-Team-2 128884cc06 added data_format=36 and num_format=9 2024-08-28 18:10:23 +02:00
georgemoralis 8f2942252e Merge pull request #624 from Exhigh/savedata-fix-4
savedata: Add another missed case in saveDataMount
2024-08-28 18:07:50 +03:00
georgemoralis 833e43edae Merge pull request #629 from counter185/gamepad-tp-and-reconnect
Auto reconnect controllers + touchpad functionality
2024-08-28 18:03:13 +03:00
counter185 0313ab37dd get rid of one space 2024-08-28 14:25:07 +02:00
counter185 07d7793198 clang format 2024-08-28 14:22:59 +02:00
counter185 b3f7344968 it's actually 1920x941 2024-08-28 14:15:01 +02:00
counter185 2923c15809 Update controller.h 2024-08-28 13:58:37 +02:00
counter185 abc8e41619 actually get rid of that comment 2024-08-28 13:56:49 +02:00
counter185 60655c45d2 * 2024-08-28 13:53:07 +02:00
counter185 8dcb983276 add touchpad support, auto reconnect 2024-08-28 13:48:50 +02:00
georgemoralis 84f1f11da5 Merge pull request #618 from vertver/main
video_core: Added copyGPUCmdBuffers option
2024-08-28 14:00:26 +03:00
squidbus 05735eb4b1 memory: Fixes for direct memory allocation. (#615)
* memory: Size direct memory based on requested flexible memory.

* memory: Guard against OrbisProcParam without an OrbisKernelMemParam.

* memory: Account for alignment in direct memory suitability checks and add more debugging.
2024-08-28 13:42:53 +03:00
georgemoralis ada9f7e307 Merge pull request #628 from squidbus/pkg-fix
crypto: Fix deallocation of key data while in use.
2024-08-28 13:42:01 +03:00
squidbus e77077f04f crypto: Fix deallocation of key data while in use. 2024-08-28 03:39:51 -07:00
georgemoralis b15658819c Merge pull request #626 from InvoxiPlayGames/special-pad
pad: add support for configurable special pad class
2024-08-28 13:24:37 +03:00
squidbus 3ea57ad81d kernel: Reimplement POSIX semaphores using std::counting_semaphore. (#600) 2024-08-28 13:13:33 +03:00
Vinicius Rangel e9cd322020 video_core: re-enable culling (#551) 2024-08-28 13:11:55 +03:00
0xsegf4ult e098ea9aec shader_recompiler: constant propagation bitwise operations + S_CMPK_EQ_U32 fix (#613)
* rebase on main branch impl of V_LSHL_B64

* remove V_LSHR_B64

* fix S_CMPK_EQ_u32

* fix conflicts

* fix broken merge

* remove duplicate cases

* remove duplicate declaration
2024-08-28 13:10:21 +03:00
InvoxiPlayGames 0631683d5e clang-format fix: scePadOpenExt 2024-08-28 11:10:20 +01:00
tGecko fa6a68e3ea DOCS: Correct and expand windows build instructions (#617)
* correct and expand windows build instructions

* fix numbering

* remove instructions to clone a different branch
2024-08-28 13:10:04 +03:00
InvoxiPlayGames 1d8e3ec4ab return proper error code for scePadOpen failure 2024-08-28 10:51:30 +01:00
InvoxiPlayGames d6f83f24e5 add support for configurable special pad type 2024-08-28 10:27:51 +01:00
Anton Kovalev 565e3b104d Use pair of spans instead of references in copy command buffers function 2024-08-28 11:24:15 +02:00
Random cb188ddbbe Handle PM4 type-2 packets (#556)
* video_core: handle PM4 type-2 packets

* video_core: rewrite pm4 comand type handling into a switch statement
2024-08-28 09:53:27 +02:00
Anton Kovalev 8c9b450f29 Fixed type on function 2024-08-28 09:42:31 +02:00
Exhigh 4841b4199e savedata: Add another missed case in saveDataMount
This should potentially fix Deadpool (CUSA03528) #554.
2024-08-28 08:52:20 +04:00
Anton Kovalev 44e51f3287 clang-format style fix 2024-08-28 05:42:48 +02:00
georgemoralis eba0a6a68a Merge pull request #605 from SolidStateDj/add-toggle-fullscreen
Add a toggle fullscreen button
2024-08-28 06:32:21 +03:00
georgemoralis 336cfa2ff5 Merge pull request #620 from GermanAizek/fixes
crypto: added destructors and fixed direct memleaks
2024-08-28 06:31:07 +03:00
Semenov Herman 0cd205c5d8 crypto: added destructors fix memleak FakeKeyset, DebugRifKeyset, PkgDerivedKey3Keyset 2024-08-28 01:32:14 +03:00
Anton Kovalev 4b1a8f0e7a Use input dcb and ccb instead of copy 2024-08-28 00:21:12 +02:00
Anton Kovalev 67895d7567 Do not shrink buffer's size on submit 2024-08-27 23:33:24 +02:00
Anton Kovalev 20a84b303c clang-format fix 2024-08-27 23:31:04 +02:00
Anton Kovalev 17e438b583 video_core: Added copyGPUCmdBuffers option 2024-08-27 23:16:14 +02:00
psucien 271bfdcd45 libraries: kernel: fix scePthreadMutexattrSettype error value return 2024-08-27 22:25:46 +02:00
psucien 9928fd85b8 Added missing headers and 2D MSAA image type 2024-08-27 19:17:23 +02:00
Lizardy 569abf3504 [Libs] Error Codes (#612)
* ngs2: all errors w/ official names

* ajm errors

* gnm errors

* random errors

* clang

* random error

* linux

---------

Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-27 15:53:38 +03:00
Grégoire Hage d6c3c8a93e Implement V_LSHL_B64 (#608) 2024-08-27 14:15:32 +03:00
georgemoralis b9cdaaed71 Merge pull request #610 from vladmikhalin/avplayer-handle-init-errors
AvPlayer: Handle Initialization errors
2024-08-27 09:59:19 +03:00