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 3: Line 3:
=== PSP Demos on PS4 ===
=== PSP Demos on PS4 ===


* LocoRoco™2 Remastered Retail Kiosk Demo UP9000-CUSA10806_00-LOCOROCO2DEMO001 or JP9000-CUSA10952_00-LOCOROCO2DEMO001 DRM Free with license, removed from PS Store, present on PS4 IDU Disc
* LocoRoco™2 Remastered Retail Kiosk Demo UP9000-CUSA10806_00-LOCOROCO2DEMO001 or JP9000-CUSA10952_00-LOCOROCO2DEMO001 DRM Free with license, removed from PS Store
* PaRappa The Rapper™ Remastered 20th Anniversary Demo JP9000-CUSA07156_00-UCJS10046PSXDEMO or UP9000-CUSA07045_00-UCUS98702PSXDEMO or EP9000-CUSA07203_00-UCES00775PSXDEMO DRM Free with license, present on Japan, US and Europe PS Store, present on PS4 IDU Disc
* PaRappa The Rapper™ Remastered 20th Anniversary Demo UP9000-CUSA07045_00-UCUS98702PSXDEMO or EP9000-CUSA07203_00-UCES00775PSXDEMO DRM Free with license, present on Japanese PS Store


=== PSP games available on PS4 PS Store ===
=== PSP games available on PS4 PS Store ===
Line 31: Line 31:
Kingdom of Paradise UP9000-CUSA33573_00-UCUS986230000000 or JP9000-CUSA33575_00-UCJS100100000000 or HP9000-CUSA34893_00-UCAS400230000000 2022-09-20
Kingdom of Paradise UP9000-CUSA33573_00-UCUS986230000000 or JP9000-CUSA33575_00-UCJS100100000000 or HP9000-CUSA34893_00-UCAS400230000000 2022-09-20
No Heroes Allowed! UP9000-CUSA33595_00-NPUG804600000000 2022-07-19
No Heroes Allowed! UP9000-CUSA33595_00-NPUG804600000000 2022-07-19
LocoRoco Midnight Carnival UP9000-CUSA32639_00-0000000000000000 or JP9000-CUSA32641_00-0000000000000000 or EP9000-CUSA32640_00-0000000000000000 2022-07-19
LocoRoco Midnight Carnival UP9000-CUSA32639_00-0000000000000000 or JP9000-CUSA32641_00-0000000000000000 2022-07-19
Ape Escape: On the Loose UP9000-CUSA37860_00-UCUS986090000000 or EP9000-CUSA37861_00-UCES000450000000 or JP9000-CUSA37862_00-UCJS100040000000 2023-08-15 PS4 10.70
Ape Escape: On the Loose UP9000-CUSA37860_00-UCUS986090000000 or EP9000-CUSA37861_00-UCES000450000000 or JP9000-CUSA37862_00-UCJS100040000000 2023-08-15 PS4 10.70
Ape Escape Academy UP9000-CUSA33020_00-UCUS986190000000 or JP9000-CUSA33022_00-UCJS100030000000 2023-10-17
Ape Escape Academy UP9000-CUSA33020_00-UCUS986190000000 or JP9000-CUSA33022_00-UCJS100030000000 2023-10-17
Line 49: Line 49:
=== PSP remaster games available on PS4 PS Store ===
=== PSP remaster games available on PS4 PS Store ===


Note that some of these remastered games like LocoRoco™ 2 Remastered use a PSP emulator and most original files, but with additional files like replacement textures for example. There are even some features like 60 fps that are available only on PS4 Pro but not on standard PS4.
* LocoRoco™ Remastered UP9000-CUSA06090_00-UCUS986620000001 2017-05-09
 
* LocoRoco™ 2 Remastered UP9000-CUSA06091_00-UCUS987310000001 2017-12-09
* LocoRoco™ Remastered UP9000-CUSA06090_00-UCUS986620000001 or EP9000-CUSA07286_00-UCES003040000001 or JP9000-CUSA06933_00-UCUS986620000001 2017-05-09
* LUMINES REMASTERED UP0751-CUSA11624_00-LUMINESREMASTERE or JP1049-CUSA11673_00-LUMINESREMASTERE 2018-07-10
* LocoRoco™ 2 Remastered UP9000-CUSA06091_00-UCUS987310000001 or EP9000-CUSA07695_00-LOCOROCO2HD00001 or JP9000-CUSA06934_00-LOCOROCO2HD00001 2017-12-09
* Patapon™ Remastered UP9000-CUSA06171_00-UCUS987110000001 2017-08-01
* LUMINES REMASTERED UP0751-CUSA11624_00-LUMINESREMASTERE or JP1049-CUSA11673_00-LUMINESREMASTERE or EP0748-CUSA11647_00-LUMINESREMASTERE 2018-07-10
* Patapon 2 Remastered UP9000-CUSA07321_00-UCES011770000001 2020-01-30
* Patapon™ Remastered UP9000-CUSA06171_00-UCUS987110000001 or EP9000-CUSA07285_00-UCES009950000001 or JP9000-CUSA06935_00-PATAPON100000001 2017-08-01
* Metal Slug Double X JP0576-CUSA11717_00-METALSLUGXX00001 2018-05-30
* Patapon 2 Remastered UP9000-CUSA07321_00-UCES011770000001 or EP9000-CUSA07694_00-UCES009950000001 or JP9000-CUSA08178_00-PATAPON200000001 2020-01-30
* PaRappa The Rapper™ Remastered UP9000-CUSA05289_00-UCUS987020000001 2017-04-04
* Metal Slug Double X JP0576-CUSA11717_00-METALSLUGXX00001 or EP0576-CUSA11740_00-METALSLUGXX00001 or UP0576-CUSA11667_00-METALSLUGXX00001 2018-05-30
* PaRappa The Rapper™ Remastered JP9000-CUSA06932_00-UCJS100460000001 or UP9000-CUSA05289_00-UCUS987020000001 or EP9000-CUSA07172_00-UCES007750000001 2017-04-04


== '''PSPHD''' ==
== '''PSPHD''' ==
Line 248: Line 246:


===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 513:


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


Line 589: Line 584:
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,004:
| 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,015:
|-
|-
| Syphon Filter: Dark Mirror || ? || ? || ?
| Syphon Filter: Dark Mirror || ? || ? || ?
|-
|}
|}


Line 1,227: Line 1,221:
|}
|}


= 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,609:
</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
; To dump the original audio in Atrac3 format, uncomment the --dumpaudio line
│  ├──XXXXYYYYY_patches.lua
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\audio" directory (make sure the directory exists)
│  ├──XXXXYYYYY_features.lua
;--dumpaudio="host0:audio"
│  ├──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>


; To save the in-game textures as the game runs, uncomment the --texsave line
==Other==
; For example, with the current setting, it will save them in a "D:\Sony\PSPHD\texdump" directory (make sure the directory exists)
<pre>
;--texsave="host0:texdump"
XXXXYYYYY_config.txt
;--texmissingsave="host0:texdump"
videos/
.mp4
videos/%08x.mp4
audio/%08x.ogg


; To replace specific textures as the game runs, uncomment the --texreplace line
Paths:  
; For example, with the current setting, it will load them from the "D:\Sony\PSPHD\texreplace" directory
; If the --scale setting is set to 4 or 8, the program will also look for replacement textures on '4x' or '8x' directories within this directory
--texreplace="host0:texreplace"


; This forces alpha blending to on for replaced textures. (uncomment to enable)
/app0/
; With this we can freely make use of a normal alpha channel on replacement textures
/download0/
--replacementalpha=true
/savedata
 
/host/
; This enables bilinear filtering on replaced textures. (uncomment to enable)
/hostapp/
--replacementfilter=true
/data/
 
</pre>
; Antialiasing mode. SSAA4x looks best, MSAA4x only smooths edges.
; Choices: off, SSAA4x, MSAA4x
--antialias=SSAA4x
 
; Enable switching between original and replacement textures at runtime using the L3 button on a DS4 or the 'T' key on Windows
;--texswitch=true
 
; Turns on the auto-resampler. Assumes textures in texreplace are at 8x resolution and resamples them at load
--autoresampler=true
 
; Turns on filtering of CLUT hashes to avoid repeat indexed textures
--texclutmode=filter
 
; Enable Multiple Savegames
--multisaves=true
 
; Custom locoroco2 texture hasher
--texcachemode="locoroco2"
 
; X/O button mode. "oenter" sets Circle as enter, "xenter" sets Cross as enter. If not present/enabled, it's selected by the system language (Asian
; languages default to oenter, everything else "xenter"). Notice this only works when the game queries the PSP OS for the button configuration.
--xobuttonmode="oenter"
 
; Use vector fonts for the system fonts
--fontreplace="host0:pspfonts"
 
; Enable encrypted savegames
--securesaves=true
 
; Adjust overall volume level (does not include pad speaker volume). Range from 0.0 (min) to 1.0 (max)
--volume="0.50"
 
; Use 5 cores to load textures at boot
--texloadcores=4
 
; LocoRoco mesh tesselation mode
--locorocomeshsmoothnonindexed=true
 
; Set age restriction
--agerestrict=0


--notrophies=true
==Sample==
</pre>


Example from PaRappa the Rapper:
<pre>; PS4 configuration file for PSPHD
<pre>
; PS4 configuration file for PSPHD
   
   
; Game Image
; Game Image
Line 1,746: Line 1,709:
--parappaalphahack=true
--parappaalphahack=true
</pre>
</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>
==NIDs in HLE==
==NIDs in HLE==
<pre>
<pre>
Line 2,349: Line 2,253:
* 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)