Editing Talk:PS2 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: | ||
==Game CONFIG commands (notepad and worklog)== | ==Game CONFIG commands (notepad and worklog)== | ||
All info here related with commands needs to be moved to frontpage at some point | |||
====ps2_netemu command 0x1==== | |||
There are some additional internal patches using CONFIG cmd id 0x01, using subs not available in 0x3B list | |||
condition: 0xBBB5F800, 0x3B949C00, 0x42133A90 | |||
setting: | |||
0x18E1F0, sub_4670C (4.70) | |||
0x348EC8, sub_44338 (4.70) | |||
in id0x01, function id 0x18 | |||
condition: [ 0x20183F04 (+200000000 base) ] == 0x0C060F2C | |||
setting: | |||
stores 0 in address 0x20183F04, 0x20183F34, 0x20183F3C - with 200000000 base | |||
0x183F0C, sub_46334 (4.70) | |||
0x183F3C, sub_45DA4 (4.70) | |||
0x183D74, sub_47B50 (4.70) | |||
===ps2_netemu command 0x5=== | |||
This command seems to be disabled in netemu, but is used in gxemu with ID 0x4 | |||
*There are several games that uses it in his config data hardcoded inside ps2_gxemu.self such: | |||
**SLES-51823 | 1 | cmd: 0x4 | |||
**SLES-54135 | 1 | cmd: 0x4 | |||
**SLES-54136 | 1 | cmd: 0x4 | |||
**SLES-54622 | 1 | cmd: 0x4 | |||
**SLES-54623 | 1 | cmd: 0x4 | |||
**SLPM-65340 | 1 | cmd: 0x4 | |||
**SLPM-66275 | 1 | cmd: 0x4 | |||
**SLUS-20001 | 1 | cmd: 0x4 Tekken tag tournament | |||
**SLUS-21423 | 1 | cmd: 0x4 | |||
**SLUS-21590 | 1 | cmd: 0x4 | |||
===ps2_netemu command 0x12=== | |||
====type 1==== | |||
Playground discussion, unsure about clrlslwi r11, r0, 16,3 result | |||
<pre> | |||
Syphon Filter The Omega Strain | |||
298 00 00 00 00 | |||
29C 00 00 00 00 | |||
2A0 01 00>02 00< Type1, Count 2 | |||
2A4 31 00 99 18 | |||
2A8 32 00 B6 18 | |||
type 1: (Syphon Filter The Omega Strain ) | |||
*0x48 | ptr to 1st value *0x2A4 (0x15F) | |||
*0x50 | count of type values | |||
(0x18990031 >> 0xC) & 0xFFFF0 = 0x18990 | |||
(0x18B60032 >> 0xC) & 0xFFFF0 = 0x18B60 | |||
store value in [0x18990 + ??? ] | |||
seg017:0000000000198498 next_value: # CODE XREF: read_id0x12_type_1+120�j | |||
seg017:0000000000198498 lwz r0, 0(r10) # -> 0x18990031 | |||
seg017:000000000019849C addi r8, r8, 1 # counter | |||
seg017:00000000001984A0 ld r29, 0(r31) | |||
seg017:00000000001984A4 addi r10, r10, 4 # ptr to next value | |||
seg017:00000000001984A8 rlwinm r28, r0, 20,12,27 # r28 = (r0 >> 12) & 0xFFFF0 = (0x18990031 >> 12) & 0xFFFF0 = 0x18990 | |||
seg017:00000000001984AC clrlslwi r11, r0, 16,3 # r11 = 0x0031 << 3 = 0x188 | |||
seg017:00000000001984B0 add r26, r28, r29 # r26 = 0x18990 + ?? | |||
seg017:00000000001984B4 stw r11, 4(r26) # store 0x62000? or 0x188? in r26 | |||
seg017:00000000001984B8 lwz r5, 0x50(r31) # count | |||
seg017:00000000001984BC cmplw cr6, r5, r8 | |||
seg017:00000000001984C0 bgt cr6, next_value | |||
</pre> | |||
====type 2==== | |||
Fix on Interpretation? | |||
<pre> | |||
Primal | |||
298 00 00 00 04 | |||
29C 00 00 00 00 | |||
2A0 02 00>03 00< Type 2, Count 3 | |||
2A4 5F 01 00 00 | |||
2A8 8D BD 6F 2C | |||
2AC 67 03 00 00 | |||
2B0 02 00>03 00< Type 2, Count 3 | |||
2B4 6B 01 00 00 | |||
2B8 31 35 70 E9 | |||
2BC 72 03 00 00 | |||
2C0 03 00>02 00< Type 3, Count 2 | |||
2C4 60 9B 39 10 | |||
2C8 18 9C 39 10 | |||
2CC | |||
type 2: | |||
*0x20C | counter | |||
*0x210 | 1st value: 0x15F -> only gets compared, if passed check 2nd value | |||
*0x214 | 2nd value: 0x2C6FBD8D -> only gets compared, if passed use *0x218 + *0x21C | |||
*0x218 | 1 ( = count - 2) | |||
*0x21C | ptr to 3rd value *0x2AC (0x367) | |||
</pre> | |||
====type 3==== | |||
<pre> | |||
Example Primal | |||
*0x11B4| counter | |||
*0x11B8| -1 -> 0x399B60? | |||
*0x11BC| 0 -> 0x399B60? | |||
*0x11C0| ptr to *0x2C4 values | |||
*0x11C4| count (2) | |||
r11 = r0 & 0xFFFFFFF = 0x10399B60 & 0xFFFFFFF = 0x399B60 | |||
0x10399C18 & 0xFFFFFFF = 0x399C18 | |||
r3 = r31 >> 28 = 0x10399B60 >> 0x1C = 1 | |||
a check if 1,2 | |||
</pre> | |||
====type 4==== | |||
cmpwi cr7, r0, 4 | |||
bne cr7, panic_dword_1967BC | |||
srwi r9, r6, 1 # r9 = r6 >> 1 = count >> 1 | |||
addi r11, r4, 4 | |||
stw r9, 0x1238(r31) save count>>1 | |||
std r11, 0x1240(r31) save ptr to table values start | |||
---big handler, different register settings?--- | |||
==XMB messages related with PS2 Emulation== | ==XMB messages related with PS2 Emulation== | ||
'''From: explore_category_sysconf.rco\Text\English.xml''' | |||
<Text name="msg_ps_ps2_upconvert">PS/PS2 - Upscaler</Text> | <Text name="msg_ps_ps2_upconvert">PS/PS2 - Upscaler</Text> | ||
<Text name="msg_ps_upconvert">PS - Upscaler</Text> | <Text name="msg_ps_upconvert">PS - Upscaler</Text> | ||
Line 9: | Line 135: | ||
<Text name="msg_ps_smoothing">PS - Smoothing</Text> | <Text name="msg_ps_smoothing">PS - Smoothing</Text> | ||
<Text name="msg_ps_ps2_smoothing_explanation">Reduces the roughness of the displayed image.</Text> | <Text name="msg_ps_ps2_smoothing_explanation">Reduces the roughness of the displayed image.</Text> | ||
'''From: game_ext_plugin.rco\Text\English.xml''' | |||
<Text name="msg_error_cannot_play_ps2disc_scee">This title is not currently compatible with the PS3™ system. Please visit faq.eu.playstation.com/bc for a list of PlayStation®2 format software titles that are compatible, and to update the System Software that will enable your PS3™ system to play additional PlayStation®2 format software titles.</Text> | <Text name="msg_error_cannot_play_ps2disc_scee">This title is not currently compatible with the PS3™ system. Please visit faq.eu.playstation.com/bc for a list of PlayStation®2 format software titles that are compatible, and to update the System Software that will enable your PS3™ system to play additional PlayStation®2 format software titles.</Text> | ||
<Text name="msg_error_cannot_play_ps2disc_scea">This title is not currently compatible with the PS3™ system. If you update your system software the title may become compatible with your system. Please visit http://www.us.playstation.com/Support/CompatibleStatus to check whether a specific PlayStation®2 format software title is compatible with the PS3™ system.</Text> | <Text name="msg_error_cannot_play_ps2disc_scea">This title is not currently compatible with the PS3™ system. If you update your system software the title may become compatible with your system. Please visit http://www.us.playstation.com/Support/CompatibleStatus to check whether a specific PlayStation®2 format software title is compatible with the PS3™ system.</Text> | ||
Line 19: | Line 144: | ||
<Text name="msg_cannot_run_ps2_fromat_corretly_stop">A problem has occurred. This PlayStation®2 format software was forced to quit.</Text> | <Text name="msg_cannot_run_ps2_fromat_corretly_stop">A problem has occurred. This PlayStation®2 format software was forced to quit.</Text> | ||
'''From: explore_plugin_full.rco\Text\English.xml''' | |||
<Text name="msg_setting_file_ps2">Settings File (PlayStation®2)</Text> | <Text name="msg_setting_file_ps2">Settings File (PlayStation®2)</Text> | ||
<Text name="msg_your_bb_navigator">Your PlayStation®BB Navigator</Text> | <Text name="msg_your_bb_navigator">Your PlayStation®BB Navigator</Text> | ||
Line 28: | Line 152: | ||
<Text name="msg_error_cannot_play_ps2_format">This model of the PS3™ system is not compatible with PlayStation®2 format software.</Text> | <Text name="msg_error_cannot_play_ps2_format">This model of the PS3™ system is not compatible with PlayStation®2 format software.</Text> | ||
</ | |||
==Orphan info== | |||
This is misterious info that cant be unveilled | |||
===ps2_netemu=== | |||
<pre> | |||
seg017:00000000001355B4 ld r28, off_74BA20 # unk_933F80 | |||
seg017:00000000001355B8 .using unk_933F80, r28 | |||
seg017:00000000001355B8 lis r0, 0x4000 # 0x40000020 | |||
seg017:00000000001355BC ori r0, r0, 0x20 # 0x40000020 | |||
seg017:00000000001355C0 ld r9, off_934158 # unk_0 | |||
seg017:00000000001355C4 and r9, r9, r0 # r9 = r9 & 0x40000020 | |||
seg017:00000000001355C8 cmpdi cr7, r9, 0 | |||
seg017:00000000001355CC bne cr7, loc_1356E4 | |||
seg017:00000000001355D0 ld r0, off_934158 # unk_0 | |||
seg017:00000000001355D4 rlwinm r0, r0, 0,2,2 # r0 = r0 & 0x20000000 | |||
seg017:00000000001355D8 cmpdi cr7, r0, 0 | |||
seg017:00000000001355DC bne cr7, image_selection | |||
seg017:00000000001355E0 ld r0, off_934158 # unk_0 | |||
seg017:00000000001355E4 rlwinm r0, r0, 0,5,5 # r0 = r0 & 0x4000000 | |||
seg017:00000000001355E8 cmpdi cr7, r0, 0 | |||
seg017:00000000001355EC beq cr7, static_path | |||
</pre> | |||
=== Cold Fear === | |||
frequenlty, as if you pressed pause | |||
0x46 | |||
0x19 | |||
==Obsolete experiments== | ==Obsolete experiments== | ||
Line 50: | Line 201: | ||
* http://tortuga-cove.com/forums/viewtopic.php?f=57&t=530 | * http://tortuga-cove.com/forums/viewtopic.php?f=57&t=530 | ||
* [[Talk:Emulation#PS2.2FPStwo]] | * [[Talk:Emulation#PS2.2FPStwo]] | ||
=== Enable Playstation 2 on non BC's=== | === Enable Playstation 2 on non BC's=== | ||
Line 91: | Line 230: | ||
* Without Factory Service Mode : gives "Incompatible Data" when inserting PS2 disc | * Without Factory Service Mode : gives "Incompatible Data" when inserting PS2 disc | ||
* When enabling [ | * When enabling [http://www.ps3devwiki.com/files/devtools/lv2-v9-pkg/ LV2Patcher] without factory service mode (patch4 set as http://pastie.org/private/jp8zhvuocjz95cfrjm0uzg) : no changes in XMB:Game (still only PS upscaler/smoothing, no PS2 mention at all) | ||
* When enabling [ | * When enabling [http://www.ps3devwiki.com/files/devtools/lv2-v9-pkg/ LV2Patcher] without factory service mode (patch4 set as http://pastie.org/4355919) : gives XMB:Game PS2 smoothing/upscaling options, it also make an inserted disk to be seen as PS2 format. Still same problem of ¨incompatible title¨ and loss of BT/settings. Also after returning to XMB, it no longer sees the disc as PS2 format but as incompatible data (which suggests the lv2 patch is undone, as lv2 is reloaded when returning from the ps2 lpar) | ||
* Using [ | * Using [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg] without factory service mode : no resetting of date/time/displayoutput (still output on mainscreen), but all connection to any bound bluetooth device is lost, even when connected via USB (need PS button reactivation), and after a long while comes up with the message that the title is not compatible and that the ps3 needs to be updated (Basic nag screen that is on BC PS3s when inserting a noncompatible title). | ||
* With Factory Service Mode enabled (there are no Xmb options to combinetest with [ | * With Factory Service Mode enabled (there are no Xmb options to combinetest with [http://www.ps3devwiki.com/files/devtools/lv2-v9-pkg/ LV2Patcher] or [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg]): gives ´PS2 disc´ detected at disc icon, but starting gives: resetting of date/time/displayoutput (effectively disabling my mainscreen), then all connection to any bound bluetooth device is lost, even when connected via USB (needs multiple PS button reactivation), and after a long while comes up with the message that the title is not compatible and that the ps3 needs to be updated (Basic nag screen that is on BC PS3s when inserting a noncompatible title). | ||
In short: [ | In short: [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg] and Factory Service Mode seem to enable simulare (it tries to boot it) while [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg] gives you more options e.g. using [http://www.ps3devwiki.com/files/devtools/lv2-v9-pkg/ LV2Patcher]. | ||
Perhaps hardswapping out all the dev_flash ps2 emu files for the same software only emulator would circumvent the 'incompatible title' message. | Perhaps hardswapping out all the dev_flash ps2 emu files for the same software only emulator would circumvent the 'incompatible title' message. | ||
==== Second test: FW 2.70/3.15 ==== | ==== Second test: FW 2.70/3.15 ==== | ||
Silent Hill : gives disk icon "unsupported data" and error message like "This model of the PS3 system is not compatible with Playstation2 format software" when run via disc icon. Using [ | Silent Hill : gives disk icon "unsupported data" and error message like "This model of the PS3 system is not compatible with Playstation2 format software" when run via disc icon. Using [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg] gives title not supported error message like "This title is not currently compatible with the PS3 system". | ||
==== Third test: FW 3.55 OtherOS++22GB (with SS Patches) ==== | ==== Third test: FW 3.55 OtherOS++22GB (with SS Patches) ==== | ||
Silent Hill : gives disk icon "unsupported data" and error message like "This model of the PS3 system is not compatible with Playstation2 format software" when run via disc icon. Using [ | Silent Hill : gives disk icon "unsupported data" and error message like "This model of the PS3 system is not compatible with Playstation2 format software" when run via disc icon. Using [http://www.ps3devwiki.com/files/OtherOSplusplus/misc/boot_ps2.pkg boot_ps2.pkg] gives blackscreen lockup, not reacting on PS button, or powerbutton, requiring removing powercord. | ||
Line 137: | Line 276: | ||
* Silent Hill 3 | * Silent Hill 3 | ||
Line 297: | Line 431: | ||
Comparative listings: http://tortuga-cove.com/forums/viewtopic.php?f=57&t=530 | Comparative listings: http://tortuga-cove.com/forums/viewtopic.php?f=57&t=530 | ||
== | ==Game compatibility lists== | ||
There was some game compatibility tables here that was intended as a layout with lot of game names but no info about them that was never used | |||
The info has been moved to: [[Talk:PS2 Emulation/Old PS2 Game Compatibility Lists]] | |||