bo3b / 3Dmigoto

Chiri's DX11 wrapper to enable fixing broken stereoscopic effects.
Other
688 stars 109 forks source link

Frame Analysis doesn't dump textures #147

Closed Romangelo closed 2 years ago

Romangelo commented 2 years ago

Everytime I do it, only text files were written.

log.txt log-0x00000000XXXXXX.txt ShaderUsage.txt

That's all.

Romangelo commented 2 years ago

This is my d3dx settings:

analyse_frame = no_modifiers VK_F8 analyse_options = dump_tex dump_rt dump_vb dump_ib dump_depth dump_cb dds

Do I need to set anything else?

DarkStarSword commented 2 years ago

Based on the presence of the second log file the game is using multi-threaded rendering, so you need to add one of these options:

; Experimental Deferred Context (multi-threaded rendering) Frame Analyis Support:
;   deferred_ctx_immediate: Dumps resources from deferred contexts using the
;                 immediate context. Not suitable for dump_rt or other
;                 resources altered during the frame (by the GPU or CPU). May
;                 be ok for static unchanging resources, such as collecting HUD
;                 textures for filtering. Not thread safe - potential to crash.
;                 Recommended (not enforced) to use in conjunction with 'mono'.
;    deferred_ctx_accurate: Delays dumping resources from deferred contexts
;                 until after the GPU has updated them. Copies of *all*
;                 resources being dumped are held in memory, so it may run out
;                 - try to restrict using this option to specific resources
;                 where it is needed - preferably via the "dump" command rather
;                 than the global analyse_options. Works with 'stereo'.