Commit Graph

1048 Commits

Author SHA1 Message Date
CrazyBloo 50a359d0eb 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
2024-08-24 08:48:57 -04:00
CrazyBloo 5377ae9c37 Implement pattern scanning for mask type patches 2024-08-24 07:11:12 -04:00
CrazyBloo 7564f195c3 format again :( 2024-08-23 23:05:47 -04:00
CrazyBloo c9551328bd format 2024-08-23 23:03:22 -04:00
CrazyBloo 632c8727ff fix bytes16, bytes32, bytes64 type patches
If a patch is any of these types we convert it from little endian to big endian
2024-08-23 23:00:54 -04:00
DanielSvoboda 5aa1fac987 Fixes
Choosing which cheat file to use.
And some other fixes
2024-08-23 22:23:34 -03:00
DanielSvoboda c03e1c78e7 convertValueToHex 2024-08-23 12:12:25 -03:00
DanielSvoboda 6be2251724
Merge pull request #4 from CrazyBloo/Cheats_Patches
Initial Patch Implementation
2024-08-23 08:53:53 -03:00
CrazyBloo 055de99d5a format again... 2024-08-23 02:49:05 -04:00
CrazyBloo 0c1c3d7a83 format 2024-08-23 02:45:52 -04:00
CrazyBloo 90f1d2c08f initial patch implementation 2024-08-23 02:37:39 -04:00
DanielSvoboda 7631ba5f9c
Merge branch 'shadps4-emu:main' into Cheats_Patches 2024-08-22 23:43:57 -03:00
CrazyBloo fbe7f6d388 format 2024-08-22 20:11:53 -04:00
CrazyBloo 06f6082bc1 MemoryPatcher namespace, activate cheats on start 2024-08-22 19:54:34 -04:00
georgemoralis bce3a9c9e7
Merge pull request #530 from Xphalnos/main
Lot of small fixes
2024-08-22 21:54:20 +03:00
DanielSvoboda 957d3e38df Patchs menu and fixes
adds the possibility to download Patches, it does not modify the memory yet.
and some other fixes
2024-08-22 14:27:38 -03:00
georgemoralis 3e8d7c2040 possible R2/L2 fix 2024-08-22 19:43:45 +03:00
Xphalnos d4be3dbb31 Lot of small fixes 2024-08-22 18:01:30 +02:00
georgemoralis 83bcced16c
Merge pull request #502 from Borchev/ROMappedFileWorkaround
Workaround for readonly memory mapping of files issue
2024-08-22 13:49:19 +03:00
georgemoralis 12a65e3fb8 LLE libc removal 2024-08-22 11:24:31 +03:00
georgemoralis 834a25fa2b
Merge pull request #521 from GermanAizek/fix
Added const reference params if possible, removed less 16 size
2024-08-22 10:18:02 +03:00
Herman Semenov aed9a737d6 Added const reference params if possible, removed less 16 size 2024-08-22 02:56:01 +03:00
Aiden Turner ca4b520272
Added logging for debugging configs (#518)
* added logging for config file

* forgot a setting

* fixed bloated settings logging.

* fixed compile error
2024-08-22 01:52:08 +03:00
Vladislav Mikhalin 79680c50c0
Misc fixes (#517)
* Misc fixes

* Removed the skip for draw calls without RTs

* Remove Srgb image stores to rework later
2024-08-21 23:54:23 +03:00
georgemoralis 132ca9c5a8
Merge pull request #506 from squidbus/macos-translocation
Untranslocate app bundle path if needed on macOS.
2024-08-21 18:13:08 +03:00
georgemoralis 3426ad8cc0
Merge pull request #511 from dima-xd/sample
avplayer: Fix data returned by sceAvPlayerGetAudioData
2024-08-21 16:53:01 +03:00
Dzmitry Dubrova 6d0d2eaa59 avplayer: Fix sceAvPlayerGetAudioData 2024-08-21 14:37:34 +03:00
squidbus 9275b0966e Untranslocate app bundle path if needed on macOS. 2024-08-21 03:06:10 -07:00
Borchev fc300b5265 Fix unmapping bug 2024-08-20 20:07:32 -07:00
CrazyBloo e938ecf206 move eboot_address to module.h
fixes the non-qt builds and makes more sense to be there anyway
2024-08-20 21:48:21 -04:00
Borchev 6596fe091c Workaround for readonly memory mapping of files issue 2024-08-20 16:10:38 -07:00
DanielSvoboda 2b454644fb Update cheats_patches.cpp
sets all added buttons to the size of the largest button.
and fixes some aesthetic issues.
2024-08-20 20:08:07 -03:00
TheTurtle 3f9c86ad33
vk_pipeline_cache: Avoid recompiling new shaders on each new PL (#480)
* cfg: Add one more divergence case

* Seen in RDR shaders

* renderer_vulkan: Reduce number of compiled shaders

* vk_pipeline_cache: Remove some unnecessary checks
2024-08-21 02:00:24 +03:00
CrazyBloo b017b303b2 initial implementation of cheat functionality 2024-08-20 18:18:24 -04:00
Lizardy 32cb3649d3
rtc errors (#485)
* rtc errors

* add system libs to cmakelists

* this.[func]

* fix errors

* declaration

* log handle addr

* missed

---------

Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-21 00:47:17 +03:00
DanielSvoboda 1be30f6b6c reuse 2024-08-20 16:27:55 -03:00
DanielSvoboda 61fb15b7d5 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.
2024-08-20 16:24:37 -03:00
DanielSvoboda 4b84fedd8e Clang Format 2024-08-20 11:25:10 -03:00
DanielSvoboda 10485af932 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
2024-08-20 11:18:00 -03:00
kotn3l c60bfbe2a5
Set game window size based on the config (in windowed mode) (#481)
* Set windowed mode size based on config

* fix formatting oops

* emulator.cpp clang format fix (hopefully?)

* formatting fix for real
2024-08-20 15:39:56 +03:00
georgemoralis 95c89ca6a9
Merge pull request #375 from notgonnaleo/main
qt_gui: Added feature to toggle (show/hide) game list view
2024-08-20 11:47:00 +03:00
georgemoralis 8d90e6d997
Merge pull request #475 from bax-cz/main
PlayGo: basic implementation, credits to red-prig
2024-08-20 11:43:37 +03:00
bax-cz 0b3356bd1a linux build fix 2024-08-20 09:28:07 +02:00
bax-cz 8f7b3c2e8c clang: fixed formatting 2024-08-19 20:40:23 +02:00
Random 09da94b7b2
fix gcc compilation error in vk_graphics_pipeline.cpp (#477)
gcc fails to infer the type of the two parts of a ternary expression whose types are different but both contain an implicit cast operator to the same type
2024-08-19 18:45:42 +03:00
¥IGA 9d45b99171
Adding icons to categories (#479) 2024-08-19 18:42:23 +03:00
Dzmitry Dubrova 1f416134e7
Add messages to asserts (#476) 2024-08-19 15:29:13 +03:00
bax-cz 516a3e7104 PlayGo: basic implementation, credits to red-prig 2024-08-19 13:14:14 +02:00
Lizardy 138c9ce787
[WIP] libSceNgs2 (#439)
* init ngs2

* clang

* ngs2 HLE for missing LLE

* clang

* clang

* orbis ngs2 error codes

* resolve, error codes, ngs2_impl

* clang

* clang

* mac atomic

* clang

* mac

* clang

---------

Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-19 10:03:05 +03:00
DanielSvoboda d5e978c6f2
Copy submenu 2024-08-19 01:25:15 -03:00