Editing PSP Emulation

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 248: Line 248:


===XXXXYYYYY_patches.lua===
===XXXXYYYYY_patches.lua===
The lua can be placed as: '''scripts\XXXXYYYYY_patches.lua'''  
The lua can be placed as: '''scripts\XXXXYYYYY_patches.lua'''  


====Emulator commands====
====Emulator commands====
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;"
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: center;"
! Command !! Usage !! Notes - Example
! Command !! Usage !! Notes - Example
Line 517: Line 515:


====Patches.lua====
====Patches.lua====
======Syphon Filter: Dark Mirror======
======Syphon Filter: Dark Mirror======


Line 589: Line 586:
cpu.InsnReplace(0x8c163e0, 0x3c0408ee, 0x00000000) -- nop
cpu.InsnReplace(0x8c163e0, 0x3c0408ee, 0x00000000) -- nop
</pre>
</pre>
======Patapon 2'''======
======Patapon 2'''======
<pre>
<pre>
-- Lua 5.3
-- Lua 5.3
Line 1,011: Line 1,006:
| Loco Roco 2 PSP DEMO - NPJG00011 (JP) Kiosk Demo || ? || ? || ?
| Loco Roco 2 PSP DEMO - NPJG00011 (JP) Kiosk Demo || ? || ? || ?
|-
|-
| Patapon 2 PSP - UCUS-98732 (USA) || ? || ? || ?
| LocoRoco 2 || ? || ? || ?
|-
|-
| Castlevania Requiem || ? || ? || ?
| Castlevania Requiem || ? || ? || ?
Line 1,022: Line 1,017:
|-
|-
| Syphon Filter: Dark Mirror || ? || ? || ?
| Syphon Filter: Dark Mirror || ? || ? || ?
|-
|}
|}


Line 1,227: Line 1,223:
|}
|}


= 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


Line 1,616: Line 1,611:
</pre>
</pre>


= config-emu-ps4.txt =
=Information=
 
Note: Missing entries
Example from Loco Roco 2 Kiosk Demo:
==Folder/File layout==
<pre>
<pre>
; Windows configuration file for PSPHD
├── assets
 
│  ├── common
; Game Image
│  └── PSPHD
--image="data/USER_L0.IMG"
├── app
 
│  └── USER_L0.IMG
; Redirect host0: to a another directory (uncomment to enable).
├── lua_include
; By default it's mapped to the working directory where the executable starts
│  ├── ax-gpr-alias.lua
;--host="D:\Sony\PSPHD"
│  ├── multiapp.lua
 
│  ├── sce-locale.lua
; To dump the original video in PMF format, uncomment the --dumpvideos line
│  ├── uv-clamping.lua
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\videos" directory (make sure the directory exists)
│  ├── disc-selection.lua
;--dumpvideos="host0:videos"
│  └── pad.lua
├── scripts
│  ├──XXXXYYYYY_patches.lua
│  ├──XXXXYYYYY_features.lua
│  ├──XXXXYYYYY_tooling.lua
│  └──XXXXYYYYY_trophies.lua
├── sce_module
├── sce_sys
├── vms
├── trophy_data
├── usermodule
│  └──libfont.lib
├── sce_discmap.plt
├── eboot.bin
├── revision.conf
├── package-ps4.conf
└── config-title.txt
</pre>
 
==Other==
<pre>
XXXXYYYYY_config.txt
videos/
.mp4
videos/%08x.mp4
audio/%08x.ogg


; To dump the original audio in Atrac3 format, uncomment the --dumpaudio line
Paths:  
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\audio" directory (make sure the directory exists)
;--dumpaudio="host0:audio"


; To save the in-game textures as the game runs, uncomment the --texsave line
/app0/
/download0/
/savedata
/host/
/hostapp/
/data/
</pre>
 
== config-emu-ps4.txt ==
 
Example from Loco Roco 2 Kiosk Demo:
<pre>
; Windows configuration file for PSPHD
 
; Game Image
--image="data/USER_L0.IMG"
 
; Redirect host0: to a another directory (uncomment to enable).
; By default it's mapped to the working directory where the executable starts
;--host="D:\Sony\PSPHD"
 
; To dump the original video in PMF format, uncomment the --dumpvideos line
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\videos" directory (make sure the directory exists)
;--dumpvideos="host0:videos"
 
; To dump the original audio in Atrac3 format, uncomment the --dumpaudio line
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\audio" directory (make sure the directory exists)
;--dumpaudio="host0:audio"
 
; To save the in-game textures as the game runs, uncomment the --texsave line
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\texdump" directory (make sure the directory exists)
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\texdump" directory (make sure the directory exists)
;--texsave="host0:texdump"
;--texsave="host0:texdump"
Line 1,698: Line 1,745:
</pre>
</pre>


Example from PaRappa the Rapper:
Example from Parappa the Rapper:
<pre>
<pre>
; PS4 configuration file for PSPHD
; PS4 configuration file for PSPHD
Line 1,745: Line 1,792:
; Parappa Alpha Hack
; Parappa Alpha Hack
--parappaalphahack=true
--parappaalphahack=true
</pre>
= Information =
Note: Missing entries
==Folder/File layout==
<pre>
├── assets
│  ├── common
│  └── PSPHD
├── app
│  └── USER_L0.IMG
├── lua_include
│  ├── ax-gpr-alias.lua
│  ├── multiapp.lua
│  ├── sce-locale.lua
│  ├── uv-clamping.lua
│  ├── disc-selection.lua
│  └── pad.lua
├── scripts
│  ├──XXXXYYYYY_patches.lua
│  ├──XXXXYYYYY_features.lua
│  ├──XXXXYYYYY_tooling.lua
│  └──XXXXYYYYY_trophies.lua
├── sce_module
├── sce_sys
├── vms
├── trophy_data
├── usermodule
│  └──libfont.lib
├── sce_discmap.plt
├── eboot.bin
├── revision.conf
├── package-ps4.conf
└── config-title.txt or config-emu-ps4.txt
</pre>
= Other files =
<pre>
XXXXYYYYY_config.txt
videos/
.mp4
videos/%08x.mp4
audio/%08x.ogg
</pre>
= Paths =
<pre>
/app0/
/download0/
/savedata
/host/
/hostapp/
/data/
</pre>
</pre>


Line 2,349: Line 2,338:
* https://forums.ppsspp.org/showthread.php?tid=11961
* https://forums.ppsspp.org/showthread.php?tid=11961
* https://github.com/LunaMoo/PPSSPP_workarounds/blob/master/cheat.db
* https://github.com/LunaMoo/PPSSPP_workarounds/blob/master/cheat.db
* https://www.psdevwiki.com/ps4/PSP_Classics_Configuration_Files_(Official)
* https://www.psdevwiki.com/ps4/Talk:PSP_Emulator_Compatibility_List#Official_PSPemu_Configuration_Files
* https://www.psdevwiki.com/ps4/PSP_Classics_Configuration_Files_(Unofficial)
* https://www.psdevwiki.com/ps4/PSP_Emulator_Compatibility_List
* https://www.psdevwiki.com/ps4/PSP_Emulator_Compatibility_List


Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)