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'''== | =='''PSPHD'''== | ||
The new ps plus psp emulator has a lot of undiscovered functionalities, it even allows patches directly to the emulated Allegrex cpu. | |||
The | Sadly sony has not made it easy for users to use CLI commands because sony mostly uses lua patches for the psp releases, thus, not many cli commands were needed to be added. Very few commands have a description to their usage inside of the eboot.bin, everything else is just guesswork from the scene. The psp emulator has not gained the same popularity as the ps2 emulator because currently, there is an unofficial PPSSPP core in the unofficial retroarch port for the ps4. and as far as the compatibility and performance goes, the retroarch core is second to no one. This emulator may still hold potential, though sadly it does not seem to have support for gamedata installation and that has led to render many games unplayable. | ||
== 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 74: | Line 18: | ||
|- | |- | ||
| --notrophies || || Enable/disable trophies|| | | --notrophies || || Enable/disable trophies|| | ||
|- | |- | ||
| --locale || || || | | --locale || || || | ||
Line 150: | Line 92: | ||
|- | |- | ||
|-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 169: | Line 111: | ||
|- | |- | ||
| --texrecent || true || Optimize texture hashes ||--texrecent=true | | --texrecent || true || Optimize texture hashes ||--texrecent=true | ||
|} | |} | ||
Line 225: | Line 134: | ||
===XXXXYYYYY_patches.lua=== | ===XXXXYYYYY_patches.lua=== | ||
Your lua can be placed as '''scripts\XXXXYYYYY_patches.lua''' | |||
<br>'''Requires Cleanup'''. | |||
====Emulator commands==== | ====Emulator commands==== | ||
Line 424: | Line 334: | ||
|GetReg||axObj.GetReg()|| | |GetReg||axObj.GetReg()|| | ||
|-style="background-color:#D7EF54" | |-style="background-color:#D7EF54" | ||
| Memory editing || || Do note that the offsets on PPSSPP are | | Memory editing || || Do note that the offsets on PPSSPP are different than the ones on the PS4 | ||
|- | |- | ||
| ReadMem32 || axObj.ReadMem32() || Read 4 bytes from offset | | ReadMem32 || axObj.ReadMem32() || Read 4 bytes from offset | ||
Line 478: | 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 955: | Line 794: | ||
== Emulators == | == Emulators == | ||
<pre>Every emulator is programmed in a | <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> | ||
{| 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 972: | Line 811: | ||
|- | |- | ||
| PaRappa the Rapper || An unofficial emulator developed by sony with very bad compatibility || ? || ? | | PaRappa the Rapper || An unofficial emulator developed by sony with very bad compatibility || ? || ? | ||
|- | |- | ||
|} | |} | ||
Line 980: | Line 817: | ||
<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;" | ||
! | ! Offset From !! Offset To !! Name | ||
|- | |- | ||
| | | 0x1008000000 || 0x10887FFFFF || Allegrex memory(?) | ||
| | |||
|- | |- | ||
|} | |} | ||
Line 1,004: | Line 825: | ||
===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 | <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,090: | Line 911: | ||
|- | |- | ||
|} | |} | ||
'''VFPU''' | '''VFPU''' | ||
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | {| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;" | ||
! Register !! Offset !! Register !! Offset !! Register !! Offset !! Register !! Offset | ! Register !! Offset !! Register !! Offset !! Register !! Offset !! Register !! Offset | ||
|- | |- | ||
| S000|| 0x200414DE0 | | S000|| 0x200414DE0 | ||
|- | |- | ||
| | | S010|| 0x200414DF0 | ||
|- | |- | ||
| | | S020|| 0x200414E00 | ||
|- | |- | ||
| | |S030|| 0x200414E10 | ||
|- | |- | ||
| | |S100|| 0x200414E20 | ||
|- | |- | ||
| | | S110 || 0x200414E30 | ||
|- | |- | ||
| | | S120|| 0x200414E40 | ||
|- | |- | ||
| | |S130|| 0x200414E50 | ||
|- | |- | ||
| | |S200|| - | ||
|- | |- | ||
| | |S210|| - | ||
|- | |- | ||
| | |S220|| - | ||
|- | |- | ||
| | |S230|| - | ||
|- | |- | ||
| | |S300|| - | ||
|- | |- | ||
| | |S310|| - | ||
|- | |- | ||
| | |S320|| - | ||
|- | |- | ||
| | |S330|| - | ||
|- | |- | ||
| | |S400|| - | ||
|- | |- | ||
| | |S410|| - | ||
|- | |- | ||
| | |S420|| - | ||
|- | |- | ||
| | |S430|| - | ||
|- | |- | ||
| | |S500|| | ||
|- | |- | ||
| | |S510|| 0x200414F30 | ||
|- | |- | ||
| | |S520|| - | ||
|- | |- | ||
| | |S530 || - | ||
|- | |||
|- | |- | ||
|} | |} | ||
Line 1,171: | Line 969: | ||
! Issue !! Games affected !! Solution !! Description | ! Issue !! Games affected !! Solution !! Description | ||
|- | |- | ||
| | | Lack of ability to install gamedata (?)|| || || | ||
|- | |- | ||
|} | |} | ||
Line 1,181: | Line 975: | ||
=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,579: | Line 1,238: | ||
│ ├── ax-gpr-alias.lua | │ ├── ax-gpr-alias.lua | ||
│ ├── multiapp.lua | │ ├── multiapp.lua | ||
│ └── pad.lua | │ └── pad.lua | ||
├── scripts | ├── scripts |