Editing PSP Emulation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=='''PSPHD'''== | |||
The new PS Plus PSP emulator includes plenty of undiscovered functionalities, it even allows patches directly to the emulated Allegrex cpu. | |||
Not many CLI commands were added this time around. Very few commands have a description to their usage inside of the eboot.bin, everything else is just guesswork from the scene. Plenty of LUA commands need to be understood before the compatibility of games can improve. The PSP emulator has not gained the same popularity as the ps2 emulator due to the existence of an unofficial PPSSPP core in the unofficial Retroarch port for the PS4. As far as the compatibility and performance go, the Retroarch core is yet to be bested. This emulator may hold potential, but the potential can only go so far as it seems not to have support for gamedata installation, which in turn will render many games unplayable. | |||
== '''PSPHD''' == | |||
The PSP emulator | |||
== Commands == | == Commands == | ||
'''Known functions:''' Require cleanup. | '''Known functions:''' Require cleanup. | ||
<br>The rest of the cli and lua commands can all be found inside of an emu's decrypted '''eboot.bin'''. | |||
<br>The rest of the | |||
=== CLI commands === | === CLI commands === | ||
These commands can be added to any of these files: | These commands can be added to any of these files: | ||
Line 155: | Line 94: | ||
|- | |- | ||
|-style="background-color:#7698FF" | |-style="background-color:#7698FF" | ||
| || Speedhacks | | || Speedhacks || || | ||
|- | |- | ||
| --antialias || off || Turning Anti-Alias Off Improves Performance||--antialias=off | | --antialias || off || Turning Anti-Alias Off Improves Performance||--antialias=off | ||
Line 174: | Line 113: | ||
|- | |- | ||
| --texrecent || true || Optimize texture hashes ||--texrecent=true | | --texrecent || true || Optimize texture hashes ||--texrecent=true | ||
|} | |} | ||
Line 465: | Line 371: | ||
|} | |} | ||
==== | ====Examples==== | ||
<br>''' | <br>'''''LUA example:''''' | ||
<br>"NPEZ00164" | <br> | ||
<br>Coconut Dodge "NPEZ00164" | |||
<pre> | <pre> | ||
local axObj = getAXObject() | local axObj = getAXObject() | ||
Line 474: | Line 381: | ||
local patcher = function() | local patcher = function() | ||
--Infinite lives | --Infinite lives | ||
axObj.WriteMem32(0x8ACA1A4, 0x3) --0x08ACE1A4 on PPSSPP | axObj.WriteMem32(0x8ACA1A4, 0x3) --0x08ACE1A4 on PPSSPP, PPSSPP addresses need to be reduced by 0x4000 in order to work on PS4 | ||
end | end | ||
Line 495: | Line 388: | ||
[https://www.psdevwiki.com/ps4/Talk:PSP_Emulator_Compatibility_List#Official_PSPemu_Configuration_Files More patches can be found here] | [https://www.psdevwiki.com/ps4/Talk:PSP_Emulator_Compatibility_List#Official_PSPemu_Configuration_Files More patches can be found here] | ||
=====Patches.lua===== | |||
====Patches.lua | '''An official lua created by sony for Patapon 2''' | ||
<pre> | <pre> | ||
-- Lua 5.3 | -- Lua 5.3 | ||
Line 974: | Line 795: | ||
== Emulators == | == Emulators == | ||
<pre>Every emulator is programmed in a different way, sometimes choosing the right emulator is the only possible way to fix a game. Emulators are not provided pre-installed on the ps4, they have to be unpacked from a backup that's downloaded from the ps store from that specific game. this list includes The typical usage of some of The emulators.</pre> | |||
<pre>Every emulator is programmed in a | |||
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | {| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | ||
! Emulator !! Usage !! API Version !! Similar emulators (compatibility) | ! Emulator !! Usage !! API Version !! Similar emulators (compatibility) | ||
Line 982: | Line 801: | ||
| Echochrome || The default psp emulator for PSPFPKG tool at the time of writing and the best in terms of compatibility. || ? || ? | | Echochrome || The default psp emulator for PSPFPKG tool at the time of writing and the best in terms of compatibility. || ? || ? | ||
|- | |- | ||
| LocoRoco Midnight Carnival || ? || ? || ? | | LocoRoco Midnight Carnival || ? || ? || ? | ||
|- | |- | ||
| LocoRoco 1 || ? || ? || ? | | LocoRoco 1 || ? || ? || ? | ||
|- | |- | ||
| LocoRoco 2 || ? || ? || ? | | LocoRoco 2 || ? || ? || ? | ||
|- | |- | ||
| Castlevania Requiem || ? || ? || ? | | Castlevania Requiem || ? || ? || ? | ||
|- | |- | ||
| Patapon 2 || ? || ? || ? | | Patapon 2 || ? || ? || ? | ||
|- | |- | ||
| PaRappa the Rapper || An unofficial emulator developed by | | PaRappa the Rapper || An unofficial emulator developed by sony with very bad compatibility || ? || ? | ||
|- | |- | ||
|} | |} | ||
== Memory mapping == | ==Memory mapping== | ||
<br>'''Note''': The memory on PPSSPP is 0x4000 offsets ahead of the memory on the PS4 | <br>'''Note''': The memory on PPSSPP is 0x4000 offsets ahead of the memory on the PS4 | ||
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | {| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | ||
Line 1,026: | Line 842: | ||
===Registers map=== | ===Registers map=== | ||
<br>Registers that are marked with '''(?)''' are untested but should be accurate. | <br>Registers that are marked with '''(?)''' are untested but should be accurate. | ||
<br>*'''Note''': The offsets' positions change as the CLI file's content increases, but the offsets should still be somewhere nearby the offsets | <br>*'''Note''': The offsets' positions change as the CLI file's content increases, but the offsets should still be somewhere nearby the offsets below and the layout should be the same regardless. | ||
{| class=wikitable style="border: none; background: none;" | {| class=wikitable style="border: none; background: none;" | ||
! scope=col | GPR | ! scope=col | GPR | ||
Line 1,193: | Line 1,009: | ||
! Issue !! Games affected !! Solution !! Description | ! Issue !! Games affected !! Solution !! Description | ||
|- | |- | ||
| | | Lack of ability to install gamedata (?)|| || || | ||
|- | |- | ||
|} | |} | ||
Line 1,203: | Line 1,015: | ||
=LUA include files= | =LUA include files= | ||
<br>Files that need to be placed in the '''/lua_include/''' folder | <br>Files that need to be placed in the '''/lua_include/''' folder | ||
'''ax-gpr-alias.lua''' | '''ax-gpr-alias.lua''' | ||
Line 1,601: | Line 1,278: | ||
│ ├── ax-gpr-alias.lua | │ ├── ax-gpr-alias.lua | ||
│ ├── multiapp.lua | │ ├── multiapp.lua | ||
│ └── pad.lua | │ └── pad.lua | ||
├── scripts | ├── scripts |