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 79: | Line 79: | ||
|} | |} | ||
<span style="font-size:small"> | <span style="font-size:small"> | ||
{{ | {{widedot}}'''Decrypted (elf)''': changes <abbr title="when comparing two decrypted files of the same revision from different firmwares the only difference is the target firmware">every firmware version</abbr><br> | ||
{{ | {{widedot}}'''<abbr title="0x20 bytes">Build label</abbr>''': no/unknown<br> | ||
{{ | {{widedot}}'''<abbr title="2 bytes">Target Firmware</abbr>''': yes, repeated '''two''' times<br> | ||
{{ | {{widedot}}'''Revision''': unknown | ||
</span> | </span> | ||
</div> | </div> | ||
Line 165: | Line 165: | ||
|} | |} | ||
<span style="font-size:small"> | <span style="font-size:small"> | ||
{{ | {{widedot}}'''Decrypted (elf)''': changes <abbr title="when comparing two decrypted files of the same revision from different firmwares the only difference is the target firmware">every firmware version</abbr><br> | ||
{{ | {{widedot}}'''<abbr title="0x20 bytes">Build label</abbr>''': no/unknown<br> | ||
{{ | {{widedot}}'''<abbr title="2 bytes">Target Firmware</abbr>''': yes, repeated '''one''' time<br> | ||
{{ | {{widedot}}'''Revision''': unknown | ||
</span> | </span> | ||
</div> | </div> | ||
Line 267: | Line 267: | ||
2) within the emulator defined for a bunch of games (see [[Emulation#Special_notes| Special notes]]) | 2) within the emulator defined for a bunch of games (see [[Emulation#Special_notes| Special notes]]) | ||
Note: The Emulator can be patched (1 Bit) to read a non encrypted MINIS2.EDAT | Note: The Emulator can be patched (1 Bit) to read a non encrypted MINIS2.EDAT. | ||
Here are the commands what you can define for the psp emulator: | Here are the commands what you can define for the psp emulator: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 280: | Line 279: | ||
| || VERSION = 0x%x || VERSION = 0xFFFFFFFF || | | || VERSION = 0x%x || VERSION = 0xFFFFFFFF || | ||
|- | |- | ||
| || BOOT_MODE = %llx || | | || BOOT_MODE = %llx || || | ||
100010000 = | 100010000 = Minis | ||
200010000 = | 200010000 = Remaster | ||
|- | |- | ||
| || REMASTER_VERSION = 0x%x || || | | || REMASTER_VERSION = 0x%x || || | ||
Line 308: | Line 296: | ||
|- | |- | ||
| || TRANS_CACHE_SIZE = %llx || TRANS_CACHE_SIZE = 1000000 || | | || TRANS_CACHE_SIZE = %llx || TRANS_CACHE_SIZE = 1000000 || | ||
2000000 = (Default | 2000000 = (Default) | ||
1000000 = | 1000000 = | ||
|- | |- | ||
| || HOSTFS_PATH = %lld || || | | || HOSTFS_PATH = %lld || || | ||
Line 337: | Line 325: | ||
0 = | 0 = | ||
1 = small picture | 1 = small picture | ||
2 = (Default | 2 = (Default) | ||
3 = | 3 = | ||
4 = | 4 = | ||
... | ... | ||
|- | |- | ||
| AW. {|| || || indicates LINEAR_ADRS to CLOAD_MODE optional setting following | | AW. {|| || || indicates LINEAR_ADRS to CLOAD_MODE optional setting following | ||
|- | |- | ||
| || LINEAR_ADRS = %llx || AW.LINEAR_ADRS = | | || LINEAR_ADRS = %llx || AW.LINEAR_ADRS = 40 || | ||
0 = (Default) | |||
40 = | |||
|- | |- | ||
| || SINGLE_BUF = %llx || AW.SINGLE_BUF = | | || SINGLE_BUF = %llx || AW.SINGLE_BUF = 880 || | ||
0 = (Default) | |||
80 = | |||
880 = | |||
|- | |- | ||
| || DISABLE_FB_TEX = %llx || AW.DISABLE_FB_TEX = | | || DISABLE_FB_TEX = %llx || AW.DISABLE_FB_TEX = 100 || | ||
0 = (Default) | |||
100 = | |||
|- | |- | ||
| || REUSE_ADRS = %llx || AW.REUSE_ADRS = 110000 || | | || REUSE_ADRS = %llx || AW.REUSE_ADRS = 110000 || | ||
Line 371: | Line 349: | ||
110000 = | 110000 = | ||
|- | |- | ||
| || SINGLE_BUF2 = %llx || | | || SINGLE_BUF2 = %llx || || | ||
|- | |- | ||
| || DECODE_WAIT = %llx || AW.DECODE_WAIT = | | || DECODE_WAIT = %llx || AW.DECODE_WAIT = 10000 || in order to slowdown ? | ||
0 = (Default) | |||
10000 = | |||
10000 = | |||
|- | |- | ||
| || DISCARD_EDGE = %llx || AW.DISCARD_EDGE = | | || DISCARD_EDGE = %llx || AW.DISCARD_EDGE = 20000 || | ||
0 = (Default) | |||
20000 = | |||
|- | |- | ||
| || RECYCLE_RD_TEX = %llx || || | | || RECYCLE_RD_TEX = %llx || || | ||
|- | |- | ||
| || EXT_MODE = %llx || AW.EXT_MODE = 3 || | | || EXT_MODE = %llx || AW.EXT_MODE = 3 || | ||
0 = (Default | 0 = (Default) | ||
Uses different SPU ELF for | Uses different SPU ELF for transparency/textures behavior | ||
1 = | 1 = | ||
2 = | 2 = | ||
3 = | 3 = | ||
|- | |- | ||
| || THR_PIXEL_OFST = %llx || AW.THR_PIXEL_OFST = 0 || | | || THR_PIXEL_OFST = %llx || AW.THR_PIXEL_OFST = 0 || | ||
Line 411: | Line 372: | ||
3EFFFFFF = (default) | 3EFFFFFF = (default) | ||
|- | |- | ||
| || EXT_CMD = %llx || AW.EXT_CMD = 2 || | | || EXT_CMD = %llx || AW.EXT_CMD = 2 || | ||
0 = (Default) | 0 = (Default) | ||
1 = | 1 = | ||
2 = | 2 = | ||
3 = | 3 = | ||
|- | |- | ||
| || VRAM_MODE = %llx || AW.VRAM_MODE = 1 || | | || VRAM_MODE = %llx || AW.VRAM_MODE = 1 || | ||
0 = Disabled (default) | 0 = Disabled (default) | ||
1 = Enabled | 1 = Enabled | ||
|- | |- | ||
| || CLOAD_MODE = %llx || AW.CLOAD_MODE = 1 || (Note: Only available since 4.30?) | | || CLOAD_MODE = %llx || AW.CLOAD_MODE = 1 || (Note: Only available since 4.30?) | ||
0 = Disabled (default) | 0 = Disabled (default) | ||
1 = Enabled | 1 = Enabled | ||
Displays Selection Menu: Remaster/Adhoc ? | |||
|- | |- | ||
| } || || || | | } || || || | ||
Line 445: | Line 392: | ||
|- | |- | ||
| || SRC_NOIZ = %llx || || | | || SRC_NOIZ = %llx || || | ||
|- | |- | ||
| || SLEEP = %llx || AUDIO.SLEEP = 421 || | | || SLEEP = %llx || AUDIO.SLEEP = 421 || | ||
0 = (Default) | 0 = (Default) | ||
421 = | 421 = | ||
|- | |- | ||
| || DECODE_LIMIT = %llx || || | | || DECODE_LIMIT = %llx || || | ||
|- | |- | ||
| } || || || | | } || || || | ||
Line 498: | Line 436: | ||
| || LINCOLN_START_SIZE = %llx || || ELF Size? | | || LINCOLN_START_SIZE = %llx || || ELF Size? | ||
|- | |- | ||
| || TRANSLATOR_PATCH[%lld] = { || | | || TRANSLATOR_PATCH[%lld] = { %08x } || || | ||
%lld = Number of patches to allocate<br> | |||
Format goes like this - all values being 32Bit hexdecimal:<br> | |||
= { start_address? end_address? patch1 patch2 .... (optional: count_for_buff2 buff2_value1 buff2_value2..) } | |||
Format goes like this - all values being 32Bit hexdecimal | |||
|- | |- | ||
| || OSK_ENGLISH = %lld || || On Screen Keyboard | | || OSK_ENGLISH = %lld || || On Screen Keyboard | ||
Line 614: | Line 538: | ||
|- | |- | ||
| || ADDITIONAL_KEY_ASSIGN = %llx || ADDITIONAL_KEY_ASSIGN = 0000000047C6C544 || | | || ADDITIONAL_KEY_ASSIGN = %llx || ADDITIONAL_KEY_ASSIGN = 0000000047C6C544 || | ||
0000000047C6C544 : | 0000000047C6C544 : maps right analog stick, usefull for 3rd person camera viewing | ||
0000000048C0C940 : | 0000000048C0C940 : maps L + R to right analog stick left and right | ||
8000000000000000 : unknown. Note: Possibly switches X/O buttons, to be confirmed. | 8000000000000000 : unknown. Note: Possibly switches X/O buttons, to be confirmed. | ||
|- | |- | ||
Line 648: | Line 571: | ||
|- | |- | ||
| || VSYNC_OFFSET_US = %lld || VSYNC_OFFSET_US = 8341 || | | || VSYNC_OFFSET_US = %lld || VSYNC_OFFSET_US = 8341 || | ||
8341 | 8341 = 0x2095 (Default) | ||
2000 = 0x07D0 (Legend of Heroes/Eiyū Densetsu HD Remasters) | |||
2000 | |||
|- | |- | ||
| || ADHOC_PARTY = %llx || ADHOC_PARTY = 1 || | | || ADHOC_PARTY = %llx || ADHOC_PARTY = 1 || | ||
0 = Disabled (Default | 0 = Disabled (Default) | ||
1 = Enable Ad hoc Multiplayer | 1 = Enable Ad hoc Multiplayer | ||
|- | |- | ||
| || GPI = 0x%llx || || | | || GPI = 0x%llx || || | ||
Line 697: | Line 619: | ||
|- | |- | ||
|} | |} | ||
Note: Text commands are translated to hex values and sent to PEmuCoreLib by "A10CF196" export/import. | Note: Text commands are translated to hex values and sent to PEmuCoreLib by "A10CF196" export/import. | ||
Line 3,272: | Line 3,193: | ||
**Stick directions could be maped to axis: {{padlx}} {{padly}} {{padrx}} {{padry}} | **Stick directions could be maped to axis: {{padlx}} {{padly}} {{padrx}} {{padry}} | ||
**There are more button icons if needed in [[TemplateTest#Buttons]] page <!-- delete this line when the tables are completed --> | **There are more button icons if needed in [[TemplateTest#Buttons]] page <!-- delete this line when the tables are completed --> | ||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |