Editing User talk:Kozarovv

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


====vu0====
====ps2_gxemu configs====
For JAK emu. Todo: Exec from VIF0 seems to always run program for 0x7FFFFFFF cycles...
void __fastcall Vu0MicroExec()
{
  run_vu0(vu0_functions_ptr, 256LL, 0LL);
                                                // run vu for 256 cycles.
                                                // This kill whole sync idea. We have 256 cycles run already on first run.
                                                // Games like SST/ARR/TM:HEAD-ON are alredy broken before we even started.
  if (is_vu0_running())                        // if still running (no ebit, no mbit)
  {
    v0 = ee_sched_stru;
    v1 = 0LL;
    v2 = *(ee_core_regs_base + 0x378) - *(ee_core_regs_base + 0x370) + 512LL;
                                                // passed cycles + 512
                                                // terrible idea, we are falling behind ee here.
                                                // There is usually no point to run behind ee if we failed to do this at start.
                                                // This break games like Ratchet/Rayman.
    sched_Vu0MicroExec.delta = v2;
    if ( ee_sched_stru )
    {
      while ( 1 )
      {
        v3 = v0;
        if ( v0[2] >= v2 )                      // if delta from scheduler higher than from v0
          break;
        v0 = *v0;
        v1 = v3;
        if ( !*v3 )                            // schedule next run...


====todo====
PS2 emulator is able to read configs from ps2_gxemu from PS3. Configs need to be prepared as binary files, and served per title.
Supported commands seems to be limited, but EE patch, Mecha/Media patch, Accurate math commands are supported for sure.
 
====gs====
 
* --gs-kernel-cl="DarkCloud2"
* --gs-kernel-cl="fantavision"
 
Special case kernel plugins?
 
====possible speed/comp hacks====
 
* --detect-idle-vif
* --detect-idle-ee
* --detect-idle-iop
* --detect-idle-intc
* --detect-idle-chcr
 
====GS handling switches====
 
* --threaded-gs
* --gpugs
'''Reminder''' (different upscaler modes for gpugs 0x325962)
 
====Sound - SPU2 behavior====
 
* --spu2-update-deferral
* --spu2-reverb
* --spu2-c0-memin-to-bgm
* --spu2-c1-memin-to-bgm
* --spu2Trace
 
====other====
 
* --force-point-sampling
* Project Snowblind US mipmap offset 0019506C  bc1f    loc_19508C
 
=====Disc patch=====
 
(important! 50% ps2_netemu fixes!)
 
MechaSetPatch (sector, offset, size) Data?
 
MECHA_SET_PATCH : sec=%d offset=%d size=%d
<br>MECHA PATCH : sec=%d(%x), ofs=%d(%x) size=%s
 
====IEEE 754====
 
https://gist.github.com/masterzorag/06cadbc5fbe7d3375704fc52518f434e
 
====vu====
 
Looks like VU sync always(?), not like ps2.
 
== God of war Patch ==
 
So how to define GOW new patched pkg. Do you have the config details yet? As i have changed the status of the game as Playable. Just to update the config file on talk page pls?
[[User:SalmanKhan|SalmanKhan]] ([[User talk:SalmanKhan|talk]]) 20:19, 9 July 2019 (UTC)
 
[[User:SalmanKhan|SalmanKhan]] You can ask pkg author to share config files he used, or extract/dump them by yourself from ps4 (using game dump payload). Then you can post config files on psdevwiki. So anyone can create pkg using game he own.
Files inside pkg that store configs are:
* config-emu-ps4.txt
* XXXX-YYYYY_cli.conf
* XXXX-YYYYY_config.lua
* XXXX-YYYYY_features.lua
 
If you need any help with posting extracted config files, feel free to contact me here. I will help you. I'm answering when i can.
Posting links to full games, or any copyrighted materials is prohibited on psdevwiki. [[User:-- kozarovv]]
 
: hey brother, the pkg author known from his twitter handle @Vitt0x_lar_yt  is not available. Atleast they must have courtesy to share the config files. Hence im unable to get the details to prove GOW is now playable. Can you get the files from the pkg pleasse? [[User:SalmanKhan|SalmanKhan]] ([[User talk:SalmanKhan|talk]]) 20:02, 13 July 2019 (UTC)


seems to be like internal threads, not real threads. Emu print with that.
<pre>_____________________________________________________________________________
| Emotion Engine:      | Input Output Processor (iop)  | x Extra?          |
|-----------------------|-------------------------------|-------------------|
| e-dbg                | i-fw                          | x-stdlib          |
| e-r59                | i-debug                      | x-emu            |
| e-mem                | i-cdvd                        | x-lpnr            |
| e-dmac                | i-dmac                        | x-cdvd            |
| e-timer              | i-gmif                        | x-isofs          |
| e-sio                | i-intc                        | x-log            |
| e-dramc              | i-mem                        | x-mcd            |
| e-intc                | i-memcard                    | x-replay          |
| e-sif                | i-mtap                        | x-rtc            |
| e-gif                | i-pad                        | x-save            |
| e-vif0                | i-pif                        | x-osd            |
| e-vif1                | i-sched                      | x-snap            |
| e-ipu                | i-sif                        | x-host            |
| e-jit                | i-sio2                        | x-trphy          |
| e-hook                | i-timer                      | x-audio          |
| e-Lua                | i-usb                        | x-pad            |
| e-gs                  | i-spu2                        | x-srvc            |
| e-sched              | i-EndSlice                    | x-dialog          |
|                      | i-r30                        | x-dlc            |
|                      | i-jit                        | x-stream          |
|                      | i-Lua                        | x-mem            |
|                      | i-thread                      | x-core            |
|-----------------------|-------------------------------|-------------------|</pre>


==Shaders==
==Shaders==
Line 91: Line 105:
|-
|-
|}
|}
<pre>
'''Shader Type'''
*(unknown)            0
*kShaderTypeVsShader  1
*kShaderTypeFsShader  2
*kShaderTypeCsShader  3
*kShaderTypeGsShader  4
*kShaderTypeHsShader  5
*kShaderTypeDsShader  6
'''Code type'''
*kCodeTypeIl  0
*kCodeTypeIsa  1
*kCodeTypeScu  2
'''UseShaderResourceTable'''
*false  0
*true  1
'''Compiler Type'''
*kCompilerTypeUnspecified 0
*kCompilerTypeOrbisPsslc  1
*kCompilerTypeOrbisEsslc  2
*kCompilerTypeOrbisWave  3
*kCompilerTypeOrbisCuAs  4</pre>


===GNM Header===
===GNM Header===
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)