User talk:Kozarovv: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


==psfour2pstwo==
==psfour2pstwo==
====ps2_gxemu configs====
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====
====possible speed/comp hacks====
Line 22: Line 10:
* --detect-idle-intc
* --detect-idle-intc
* --detect-idle-chcr
* --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====
====other====
Line 41: Line 15:
* --force-point-sampling
* --force-point-sampling
* Project Snowblind US mipmap offset 0019506C  bc1f    loc_19508C
* 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====
====IEEE 754====
Line 58: Line 23:


Looks like VU sync always(?), not like ps2.
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)





Revision as of 13:01, 26 September 2019

Rough draft

psfour2pstwo

possible speed/comp hacks

  • --detect-idle-vif
  • --detect-idle-ee
  • --detect-idle-iop
  • --detect-idle-intc
  • --detect-idle-chcr

other

  • --force-point-sampling
  • Project Snowblind US mipmap offset 0019506C bc1f loc_19508C

IEEE 754

https://gist.github.com/masterzorag/06cadbc5fbe7d3375704fc52518f434e

vu

Looks like VU sync always(?), not like ps2.


Shaders

SB header

Offset Size Description Example
0x00 2 bytes SB Version 00 04 (00.04)
0x02 2 bytes Compiler Version F9 F1 (63985)
0x04 8 bytes Association Hash B2 09 E0 A5 00 00 00 00
0x0C 1 byte Shader Type 02
0x0D 1 byte Code Type 01
0x0E 1 byte UseShaderResourceTable 00/01 (true/false)
0x0F 1 byte Compiler Type 03
0x10 4 bytes Code Size E8 00 00 00 (232)
0x14 4 bytes ? 00 00 00 00
0x18 12 bytes? System Attribute Info - Num Threads 40 00 01 00 01 00 00 00 00 00 00 00

GNM Header

Offset Size Description Example
0x00 4 bytes Magic 72 64 68 53 Shdr
0x04 4 bytes Version 00 07 00 02 (0007.0002)
0x08 1 byte Shader type 04 (Compute)
0x09 1 byte Shader header size in DW 0D (13)
0x0A 1 byte Has shader aux data 00/01 ?
0x0B 1 byte Target GPU types NEO)
0x0C 4 bytes padding 00 00 00 00